OSDN Git Service

Disabling the activate button when paused
authorSuprabh Shukla <suprabh@google.com>
Tue, 15 Aug 2017 02:11:26 +0000 (02:11 +0000)
committerSuprabh Shukla <suprabh@google.com>
Tue, 15 Aug 2017 03:40:37 +0000 (03:40 +0000)
commitde5df8b0902070c949dd9fdab8bbedfff61f43ab
tree532702be609ea5c4b7dc1ac982859bb0d8f3882f
parent9a14484b3879b6fd2f5b7ff07312aabd3e112a0a
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