summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2022-03-30 20:39:10 +0800
committer Joanne Chung <joannechung@google.com> 2022-04-06 10:58:11 +0800
commitb6e44763bd888f12142a3ac797848a36ef31e339 (patch)
tree09acefa63217f154ec3afc2533dbfd8abf9788f4 /libs/androidfw/StringPool.cpp
parenta84dc9b8709e65ade97f2973279e1b2a77181603 (diff)
Allow to update restart period dynamically.
We use a flag to control the restart period time, the value is static and set in class level that means if we update the device config, we should reboot the device to get the updated value. This change reads the value in the constructor, so the value will be updated when the voice interaction app updates no need to reboot. Ideally it's good to listen the value change dynamically but it increases the complexity here, we provide a workable and safe change now. Bug: 224618257 Test: update the package and the value is expected by command: adb shell dumpsys voiceinteraction | grep RESTART_PERIOD_SECONDS Change-Id: Id7d5f2d4f17de1f36baf6509598a82d6d73c5b53
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions