OSDN Git Service

Disabling the activate button when paused
authorSuprabh Shukla <suprabh@google.com>
Tue, 15 Aug 2017 02:22:17 +0000 (02:22 +0000)
committerSuprabh Shukla <suprabh@google.com>
Tue, 15 Aug 2017 03:43:10 +0000 (03:43 +0000)
commit9ffee0d53441d1a42aa0a1f5429f1a1fe7fe1291
tree9affc945181b934ed11a623c7ffd73e4e611fcba
parent41492a1e2cdfd319faeac705e13d42954709808f
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
src/com/android/settings/DeviceAdminAdd.java