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

Commit 3a8941e0 authored by Angela Wang's avatar Angela Wang Committed by Automerger Merge Worker
Browse files

Merge "Specifies RECEIVER_NOT_EXPORTED for FlashNotificationsController...

Merge "Specifies RECEIVER_NOT_EXPORTED for FlashNotificationsController broadcast receiver" into udc-dev am: ee28f615 am: a800649a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21690646



Change-Id: I43130615ea2b78d0aa3d201b17778bbb4fa2b26a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2f96d04d a800649a
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);