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

Commit 772ff27e authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

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

Test: m -j
Change-Id: Ic238d51e32fab69205dacfcfc0fdfd1bf4a25cdf
parent 44369497
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() {