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

Commit 93758f22 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

[DO NOT MERGE] Fix build breakage caused by changing API of PermissionChecker

am: 772ff27e

Change-Id: Ica654daa136f7ff545eca24e3602416d035291aa
parents 9f7a633c 772ff27e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -395,8 +395,8 @@ public class CellBroadcastHandler extends WakeLockStateMachine {
        }

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

        private final LocationListener mLocationListener = new LocationListener() {