diff options
| author | 2016-01-13 19:57:11 +0000 | |
|---|---|---|
| committer | 2016-01-14 16:25:56 +0000 | |
| commit | ea088af5c12e25995a3992413c8f413abc22eeab (patch) | |
| tree | 7005609c93ea4429d7bc2c158dc13042115f3ae1 /libs/hwui/TextDropShadowCache.cpp | |
| parent | 0c57596905977e7243a9e4bae9dbf7a18742ec54 (diff) | |
Made changes to padlock support for preferences.
- Currently, if a preference is disabled by admin, we add a padlock and disable
the preference. And now if the preference is enabled in some other place, the
padlock is not removed. Updated RestrictedPreference to fix this
behavior.
- Made RestrictedPreferenceHelper and
RestrictedPreferenceHelper.onAttachedToHierarchy public so that preferences in
Settings can use these.
- Put a check for null to avoid NullPointerException.
- Removed a redundant statement.
Change-Id: Ie88a761dc38c58a680c62b3703d2081c67462079
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
0 files changed, 0 insertions, 0 deletions