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

Commit 16757d56 authored by Nate Myren's avatar Nate Myren Committed by Android (Google) Code Review
Browse files

Merge "Do not reset the Notification permission on TV"

parents 65f396c6 f70eef9f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1747,6 +1747,10 @@ public class PermissionManagerServiceImpl implements PermissionManagerServiceInt

        final String packageName = pkg.getPackageName();
        for (final String permName : pkg.getRequestedPermissions()) {
            if (mIsLeanback && NOTIFICATION_PERMISSIONS.contains(permName)) {
                // Do not reset the Notification permissions on TV
                continue;
            }
            final boolean isRuntimePermission;
            synchronized (mLock) {
                final Permission permission = mRegistry.getPermission(permName);