summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2021-11-18 13:25:59 +1100
committer ThiƩbaud Weksteen <tweek@google.com> 2021-11-23 10:49:49 +1100
commit08de4439ac20552c97d14171c20e82f43a5329ef (patch)
treef0631dc542a7d1707389331bf6df88d2fdd3320d /libs/androidfw/StringPool.cpp
parentfe2dfc50378ad69ac1a15d12242068675949e6dc (diff)
Enable clock only when supported by product
In 9748086, a detection for clock drifting was implemented. It relies on 2 files that must be provided by the product (/data/system/time/last_time_change and /data/system/time/time_is_accurate). Generally, these files are not available which triggers an SELinux denial error message. Introduce a new property ("persist.sys.bootanim.clock.enabled") which can be set by a product to enable this feature (default is false). For future reference, it is not sufficient to only enable this property, the product must also provide the files described above (see BootAnimation::updateIsTimeAccurate). Bug: 62954877 Test: lunch r11-userdebug && m Change-Id: Ia27e69547e3d898925029dc0c2be4ad717891c57
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions