summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Galia Peycheva <galinap@google.com> 2022-08-24 16:00:45 +0200
committer Galia Peycheva <galinap@google.com> 2022-09-13 13:55:51 +0200
commit832fafb0bbfa95c3646128ed7a8d15cf296ce08e (patch)
treeffffa2b5f433ad6d3c47876ae9c977e32da685b2 /libs/androidfw/StringPool.cpp
parentd50b929aef2206a0baf257af302eb3809e231813 (diff)
Fix TV pip menu edu text hidden too soon
The edu text takes different amount of time to marquee through depending on the device language. Previously we would marquee only once and wait a constant amount of time (10.5s). This is not enough for some languages. In this CL we marquee the edu text twice and we wait until the text has fully shown twice before hiding it away. This CL moves the edu text logic in a TvPipMenuEduTextDrawer class. It is responsible for showing the edu text, starting the text scroll animation, scheduling when to close the edu text drawer and handling close on demand (when the user interacts with the pip menu) Bug: 233916208 Test: m && check edu text shows twice for different languages Change-Id: I97efe446d4bfc71c3c91ca6d86626cb54364a79f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions