OSDN Git Service

Prevent accounts page directly opening in screen pinning mode
authorMill Chen <millchen@google.com>
Tue, 16 Jul 2019 09:45:46 +0000 (17:45 +0800)
committerMill Chen <millchen@google.com>
Mon, 9 Dec 2019 03:19:12 +0000 (03:19 +0000)
commitad2502a91a6d0814396b2d26a7270e8cbdb2ed38
tree3d36696f35a5755fc82353dda06bb96ce0ceb6db
parent64d4433a9019157eda9afc12f2d7ce171b8b7e2e
Prevent accounts page directly opening in screen pinning mode

In Settings there is no auth mechanism to prevent accounts page being
opened in screen pinning mode. This CL makes it so that when users are
trying to navigate to any pages in Settings from other apps in screen
pinning mode, Settings app will directly close its page.

Bug: 137015265
Bug: 135604684
Test: manual
Change-Id: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
Merged-In: If26eda408a9ef6fa03ad82e5bee51bb7185950d6
(cherry picked from commit f3242dab3546c019d4b79c502f7b8850d36123a5)
src/com/android/settings/SettingsActivity.java