Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 386f37f6 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 2bb9b562: am 81c304b9: Merge "Send USER_SWITCHED with the correct permission" into jb-mr1-dev

* commit '2bb9b562':
  Send USER_SWITCHED with the correct permission
parents 9f4f54c5 2bb9b562
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13493,7 +13493,7 @@ public final class ActivityManagerService extends ActivityManagerNative
        // Inform of user switch
        Intent addedIntent = new Intent(Intent.ACTION_USER_SWITCHED);
        addedIntent.putExtra(Intent.EXTRA_USER_HANDLE, userId);
        mContext.sendBroadcast(addedIntent, android.Manifest.permission.MANAGE_ACCOUNTS);
        mContext.sendBroadcast(addedIntent, android.Manifest.permission.MANAGE_USERS);
        return true;
    }