• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Revisiond6b3f46e5b7419e086902c4cebe35784a24251d8 (tree)
Time2014-08-27 19:19:16
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

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

Change Summary

Incremental Difference

--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -534,7 +534,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
534534 resolver.registerContentObserver(Settings.Secure.getUriFor(
535535 Settings.Secure.DEFAULT_INPUT_METHOD), false, this,
536536 UserHandle.USER_ALL);
537- resolver.registerContentObserver(Settings.System.getUriFor(
537+ resolver.registerContentObserver(Settings.Secure.getUriFor(
538538 Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS), false, this,
539539 UserHandle.USER_ALL);
540540 updateSettings();