History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7dae434ba4fc069d5ff584e3e7d3dcdd7cb239c7 24-Mar-2016 Daniel Nishi <dhnishi@google.com> Add a branded VPN icon for quick settings and status bar.

If a system VPN app specifies in its meta-data that it should use the system's
branded VPN icon instead of the standard one, the Quick Settings footer and
status bar show it instead.

Bug 27146125

Change-Id: I3cfe4dda156d9147bdb339ba6bce82c72ca7393d
(cherry picked from commit 3956639122f96e5e7cfde007f0675496474c47fc)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
c8a5a555f1482d0f45b538eb898d6ee7e26552a6 19-Nov-2015 Makoto Onuki <omakoto@google.com> DPM.isDeviceOwnerApp() and getDeviceOwner() now check calling user

- Previously on MNC, they would return the same result regardless who
the calling user is.

- Now they properly take DO user-id into account. Meaning, they'll
always return false and null respectively, if the calling user doesn't
run device owner.

- Note isDeviceOwnerApp() is a public API and getDeviceOwner() is
a system API. Meaning we're changing the behavior or non-private
APIs.

- Also cleaned up hidden APIs, and gave them explicit suffixes
to avoid confusion. Bundled code should prefer them for clarity.

Now we have:

* APIs that work cross-users: They all require MANAGE_USERS.
boolean isDeviceOwnerAppOnAnyUser(String packageName)
ComponentName getDeviceOwnerComponentOnAnyUser()

int getDeviceOwnerUserId()
boolean isDeviceOwnedByDeviceOwner()

String getDeviceOwnerNameOnAnyUser()

* APIs that work within user. No permissions are required.

boolean isDeviceOwnerAppOnCallingUser(String packageName)
ComponentName getDeviceOwnerComponentOnCallingUser()

Bug 24676413

Change-Id: I751a907c7aaf7b019335d67065d183236effaa80
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
80d505367a5b51ea20e272e582c242ac30df3c9a 06-Oct-2015 Robin Lee <rgl@google.com> Hide VPN "settings" button when VPN is restricted

Opening Settings will just launch an empty, grayed-out page in this
case.

Bug: 24674409
Change-Id: I382f1add965c104d7d93443678c0e4b67fd55ad8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
472834518e2d23172189ee34e98c51f868628a90 01-Jun-2015 Robin Lee <rgl@google.com> Switch over to updated VPN warning strings

These are more consistent and have placeholders for the description of
whatever VPN apps are actually active.

Bug: 20516964
Bug: 17474682
Change-Id: I37ff287b795f10bbbb192540f09f8100bb27b1a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
9cb1d5f6418da8cecdee58114c6e97b80c1b153f 16-Apr-2015 Robin Lee <rgl@google.com> SecurityController: track VPN for all users

Fixes inconsistencies when switching users.

Bug: 17763561
Bug: 17506956
Bug: 18419023
Change-Id: I65988e6c45afd00a402d1e266922d5648fd12743
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
24ac55e658f955c330fff4bb143cfc6af37e40bf 27-Aug-2014 Selim Cinek <cinek@google.com> Added a warning when the profile has an owner

Also fixed a bug where a post in the QSFooter
was not always on the mainthread leading to a
crash.

Bug: 17066115
Change-Id: Iea9e1032973058ed5e63e70da4dc0bcf34fa59a3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
05542603dd4f1e0ea47a3dca01de3999a9a329a9 11-Aug-2014 Jeff Davidson <jpd@google.com> Less intrusive VPN dialog and other UX tweaks.

-The ability to launch VPNs is now sticky; once approved by the user,
further approvals are not needed UNLESS the connection is revoked in
Quick Settings.

-The old persistent notification has been removed in favor of the new
Quick Settings UI.

-The name of the VPN app is now pulled from the label of the VPN
service rather than the app itself, if one is set.

Bug: 12878887
Bug: 16578022
Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java
3d5f551cd5905c835bb789406763764a8a9a73de 25-Jul-2014 Jason Monk <jmonk@google.com> QS: Add security footer.

Adds a footer with notification of when a device owner is present
and when a VPN is active.

VPN portions still need some work for detecting when/what is
active, disconnecting, and launching the current VPN app.

Bug: 16153201
Bug: 14430719
Change-Id: I546f45895685b0120e03892539041b41430bb981
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/SecurityController.java