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

Commit eb406462 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 53f857ff 62a659f6
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;
        }