diff options
author | Brandon McAnsh <brandon.mcansh@gmail.com> | 2015-05-22 16:10:23 -0400 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-27 14:07:35 -0700 |
commit | 95c1716c21057e682be195783c42dba35a86bb6b (patch) | |
tree | 246edb25854f73cc81462fd9c96676dd93dd59a8 /src/com/android/settings/profiles | |
parent | 2087aa07bd07376d9424a61160714e3f34df7b40 (diff) | |
download | packages_apps_Settings-95c1716c21057e682be195783c42dba35a86bb6b.zip packages_apps_Settings-95c1716c21057e682be195783c42dba35a86bb6b.tar.gz packages_apps_Settings-95c1716c21057e682be195783c42dba35a86bb6b.tar.bz2 |
Profiles: Get Default profile with its UUID instead of name
* getProfiles(name) is deprecated so get it with the UUID
PS2: Use uuid added with I352cc2bfd8
Should fix BUGDUMP-1936587
Change-Id: Iefe823b12561a661da10cc8b8338c381876590ee
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r-- | src/com/android/settings/profiles/SetupDefaultProfileReceiver.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java b/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java index 4d82499..8f927bc 100644 --- a/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java +++ b/src/com/android/settings/profiles/SetupDefaultProfileReceiver.java @@ -24,7 +24,5 @@ public class SetupDefaultProfileReceiver extends BroadcastReceiver { profileManager.updateProfile(defaultProfile); } } - - } } |