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

Commit dec7173b authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

Merge "[DO NOT MERGE] Use new PermissionChecker API change in...

Merge "[DO NOT MERGE] Use new PermissionChecker API change in CellBroadcastHandler" into stage-aosp-master
parents 8cff1522 8d1ab30a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ public class CellBroadcastHandler extends WakeLockStateMachine {
        }

        private boolean hasPermission(String permission) {
            return PermissionChecker.checkCallingOrSelfPermission(mContext, permission)
            return PermissionChecker.checkCallingOrSelfPermissionForDataDelivery(mContext, permission)
                    == PERMISSION_GRANTED;
        }