summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2015-06-04 00:58:59 -0700
committerYohei Yukawa <yukawa@google.com>2015-06-04 01:55:22 -0700
commit81482971431c91bbf63e8ad70c9f720e6bdf10b3 (patch)
treee287982b8e58a4043b23816d2fc1ea1663eb9a2a /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd724886cc13990ebcf55134455ef0fa223054ae8 (diff)
Make IMMS#mSettingsObserver multiuser-aware.
It turns out that IMMS#SettingsObserver has monitored only main user's the secure settings. As a result, when the secondary user changes enabled IMEs in the settigs app, IMMS only updates internal enabled IME lists only when the user is switched for secondary users. If a secondary user enables or disables IMEs at the settings app, such changes are not correctly notified to IMMS. This CL addresses above inconsistency by explicitly specifying the user ID when calling ContentResolver#registerContentObserver(). This CL also allows dumpsys to contain internal state of IMMS#mSettingsObserver in case we need to diagnose problems only with bugreports. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: I34b437928c147e9fdbe935f725624cc97c816cb3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions