frameworks/base
修訂 | d6b3f46e5b7419e086902c4cebe35784a24251d8 (tree) |
---|---|
時間 | 2014-08-27 19:19:16 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Fix IMMERSIVE_MODE_CONFIRMATIONS registration
The changes of IMMERSIVE_MODE_CONFIRMATIONS are not observed
since the SettingsObserver doesn't register it correctly.
Change-Id: I538012a7c0058103d1c9096d76e5c24c0eddea6a
@@ -534,7 +534,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { | ||
534 | 534 | resolver.registerContentObserver(Settings.Secure.getUriFor( |
535 | 535 | Settings.Secure.DEFAULT_INPUT_METHOD), false, this, |
536 | 536 | UserHandle.USER_ALL); |
537 | - resolver.registerContentObserver(Settings.System.getUriFor( | |
537 | + resolver.registerContentObserver(Settings.Secure.getUriFor( | |
538 | 538 | Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS), false, this, |
539 | 539 | UserHandle.USER_ALL); |
540 | 540 | updateSettings(); |