Yohei Yukawa 8148297143 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
2015-06-04 01:55:22 -07:00
2014-11-10 17:23:02 -08:00
2015-06-03 09:53:42 -07:00
2015-05-16 01:19:19 +00:00
2015-03-05 13:56:16 -08:00
2015-06-03 18:14:57 +00:00
2015-06-01 10:59:35 -07:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%