OSDN Git Service

Copy certain settings to the managed profile
authorAmith Yamasani <yamasani@google.com>
Fri, 15 Aug 2014 01:49:48 +0000 (18:49 -0700)
committerAmith Yamasani <yamasani@google.com>
Fri, 15 Aug 2014 20:42:21 +0000 (13:42 -0700)
commit4f7e2e334e4ca5f1a67baf4bdd40cd080b954161
treed911f9615a1df6ddb00663b00c9ee0219b18afd7
parentf0433e50c7855579ad9847e939bb2c84e576e9d0
Copy certain settings to the managed profile

All reads of those specific settings will go to the primary user.
Inserts to primary also go to managed profiles in order to notify
any observers.

This enables Location settings to be shared by both profiles.
Also some other settings related to IME and Accessibility since
those services are shared across the profiles.

Bug: 16457210
Change-Id: Ib8fd697b5c78027fcbaf245d82dda5e6d6aab4f0
core/java/android/os/UserManager.java
core/java/android/provider/Settings.java
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java