OSDN Git Service

Use a protected receiver for the keyguard delayed actions
authorKevin Chyn <kchyn@google.com>
Wed, 11 Apr 2018 19:55:45 +0000 (12:55 -0700)
committerKevin Chyn <kchyn@google.com>
Thu, 12 Apr 2018 00:52:20 +0000 (17:52 -0700)
commit18e91aac9afd39ee39e3cdf76040167205a9730b
tree825b962a5356be7312b3bd16e06df46799a135f5
parent9cb6759072eefacb114782ebdfc3b779693535de
Use a protected receiver for the keyguard delayed actions

Fixes: 33281221

Test: keyguard locks after the timeout
Test: with test app using code from comment #1, see the following logs
      BroadcastQueue: Permission Denial: broadcasting Intent { act=com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD

Change-Id: I8b6abbc63965a5f0b24a82949ba1925f420a1454
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java