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

Commit ee28f615 authored by Angela Wang's avatar Angela Wang Committed by Android (Google) Code Review
Browse files

Merge "Specifies RECEIVER_NOT_EXPORTED for FlashNotificationsController...

Merge "Specifies RECEIVER_NOT_EXPORTED for FlashNotificationsController broadcast receiver" into udc-dev
parents 35f1dc05 e02042e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ class FlashNotificationsController {
        broadcastFilter.addAction(ACTION_FLASH_NOTIFICATION_STOP_PREVIEW);
        mFlashBroadcastReceiver = new FlashBroadcastReceiver();
        mContext.registerReceiver(
                mFlashBroadcastReceiver, broadcastFilter, Context.RECEIVER_EXPORTED);
                mFlashBroadcastReceiver, broadcastFilter, Context.RECEIVER_NOT_EXPORTED);

        final PowerManager powerManager = mContext.getSystemService(PowerManager.class);
        mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKE_LOCK_TAG);