Loading services/java/com/android/server/ProfileManagerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.res.XmlResourceParser; import android.os.RemoteException; import android.os.UserHandle; import android.text.TextUtils; import android.util.Log; import android.os.ParcelUuid; Loading Loading @@ -213,7 +214,7 @@ public class ProfileManagerService extends IProfileManager.Stub { broadcast.putExtra("uuid", mActiveProfile.getUuid().toString()); broadcast.putExtra("lastName", lastProfile.getName()); broadcast.putExtra("lastUuid", lastProfile.getUuid().toString()); mContext.sendBroadcast(broadcast); mContext.sendBroadcastAsUser(broadcast, UserHandle.ALL); restoreCallingIdentity(token); persistIfDirty(); Loading Loading
services/java/com/android/server/ProfileManagerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.res.XmlResourceParser; import android.os.RemoteException; import android.os.UserHandle; import android.text.TextUtils; import android.util.Log; import android.os.ParcelUuid; Loading Loading @@ -213,7 +214,7 @@ public class ProfileManagerService extends IProfileManager.Stub { broadcast.putExtra("uuid", mActiveProfile.getUuid().toString()); broadcast.putExtra("lastName", lastProfile.getName()); broadcast.putExtra("lastUuid", lastProfile.getUuid().toString()); mContext.sendBroadcast(broadcast); mContext.sendBroadcastAsUser(broadcast, UserHandle.ALL); restoreCallingIdentity(token); persistIfDirty(); Loading