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

Commit b0f3a2c7 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Automerger Merge Worker
Browse files

Merge "Add tracing to the handler for setting notification filter" into tm-dev...

Merge "Add tracing to the handler for setting notification filter" into tm-dev am: ed4923f7 am: 387dde87 am: 5e620158

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



Change-Id: I5dfb8d0e922c4586e535344c75e5107fb6faf764
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents df97b87f 5e620158
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -104,10 +104,14 @@ class DebugModeFilterProvider @Inject constructor(
        override fun onReceive(context: Context, intent: Intent?) {
            val action = intent?.action
            if (ACTION_SET_NOTIF_DEBUG_MODE == action) {
                // TODO(b/235268992) remove
                Log.d(TAG, "ACTION_SET_NOTIF_DEBUG_MODE enter")
                allowedPackages = intent.extras?.getStringArrayList(EXTRA_ALLOWED_PACKAGES)
                    ?: emptyList()
                Log.d(TAG, "Updated allowedPackages: $allowedPackages")
                listeners.forEach(Runnable::run)
                // TODO(b/235268992) remove
                Log.d(TAG, "ACTION_SET_NOTIF_DEBUG_MODE leave")
            } else {
                Log.d(TAG, "Malformed intent: $intent")
            }