From 95c1716c21057e682be195783c42dba35a86bb6b Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Fri, 22 May 2015 16:10:23 -0400 Subject: 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 --- src/com/android/settings/profiles/SetupDefaultProfileReceiver.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/com/android/settings/profiles') 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); } } - - } } -- cgit v1.1