History log of /frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c2c2e3eeb923373278fce9ef44efda58104b1164 02-Dec-2015 Robin Lee <rgl@google.com> Create Vpn ManageDialog in onCreate, not onResume

Bug: 25786112
Change-Id: I3dc2ccdce4cc9b449968ab59d1e1d0ff0476ecec
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
3b3dd942ec6a0beaccd1cef0723d72786435d8f3 12-May-2015 Robin Lee <rgl@google.com> Support cross-user VPN calls (with permission)

Settings and SystemUI need to act on other users than USER_OWNER.

This is gated by INTERACT_ACROSS_USERS_FULL in addition to the existing
CONTROL_VPN checks, so the number of processes able to interfere with
other profiles' VPNs should be quite small.

Bug: 20692490
Bug: 20747154
Bug: 20872408
Change-Id: I6e5d7220f73435bec350719e7b4715935caf4e19
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
90b1b9f985a91fb54254705515f822b09c68ac26 22-Aug-2014 Jeff Davidson <jpd@google.com> Restore legacy VPN stats dialog.

Was originally removed in ag/522961, but restoring to keep legacy VPN
behavior the same from within VpnSettings. This dialog is only
accesible from VpnSettings and so should only ever be shown for legacy
VPNs.

Bug: 17164793
Change-Id: I06c4e136e1023b8f84edfd15a15264d2e41d325b
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.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/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
2b862e5e75ad419f17a4cea185b9349e0da70e7b 02-Oct-2013 Vinit Deshapnde <vinitd@google.com> Fix incorrect VPN time

First, startTime's default value is -1 and not 0, so use it to test
if the startTime is set. Also, startTime isn't being set when connecting
legacy VPN; this change fixes that too.


Bug: 10985174
Change-Id: Ibf52b8f489b18c96efba501b76aa73e9a9e0e3e8
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
bf6ff2c025405a3af496fe558dfc4468a9b45cc8 17-Jul-2013 Chad Brubaker <cbrubaker@google.com> Support multiple Vpn ManageDialogs

Move away from storing the configs in the Intent to prevent issues with
PendingIntents and multiple configs.

The Dialog now queries ConnectivityService for the configuration to
display in the management dialog.

Change-Id: I0e0ef52db840152914d117a24f776d8106e836ff
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
82f8521d386f3109147c477d04e5e90e5c715fa0 24-Aug-2012 Jeff Sharkey <jsharkey@android.com> Migrate legacy VPN arguments to system_server.

Generate the racoon and mtpd daemon arguments in system_server,
instead of accepting them from Settings.

Bug: 5756357
Change-Id: I42c1a644f6add477fe4222342640d7db15982cb8
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
899223b97c9b0ae56a8211a46600914c0ecfd854 05-Aug-2012 Jeff Sharkey <jsharkey@android.com> Begin moving VPN to NetworkStateTracker pattern.

Created base tracker that handles common bookkeeping, and move VPN
to become a tracker. VPN status is now reflected in NetworkInfo, and
is mapped to LegacyVpnInfo.

Legacy VPN now "babysits" any init services it starts, watching for
when they stop unexpectedly.

Bug: 5756357
Change-Id: Iba7ec79da69469f6bd9a970cc39cf6b885b4c9c4
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
b0736abca910fbba8c31c002d7335360f5bc0929 28-Feb-2012 Chia-chi Yeh <chiachi@android.com> VpnDialogs: hide the fields when the statistic numbers are unavailable.

Bug: 5954284
Change-Id: I2321984d4f423e951989d799073a9da17a577ef9
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
ae380fb89dedaa03597d031370a18aa153a6a645 24-Jan-2012 Chia-chi Yeh <chiachi@android.com> VpnDialogs: fix screen flickering when popping up dialogs.

Bug: 5699057
Change-Id: Iad1b32cafa32f98b27b6c96a63e1e9d97908983a
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
72fddaa5d9b295571b63ec6bc28dcdd9eda482b1 27-Sep-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: revise UI layout.

Also hide statistics when they are not available.

Bug: 5372746
Change-Id: Iceffc8732cd51461630127f4fd17d505bc8b05aa
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
fcc1b41b663c1a0cb551344c4a16a5ad9ce36d60 04-Aug-2011 Chia-chi Yeh <chiachi@android.com> VPN: move away from the VPN permission.

VpnBuilder will be replaced by VpnService in the next change.

Change-Id: I2dea67a1616b74d17b372f7b214d207f1617198e
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
339abf1fbac25321cea9d39de14b6a6b4e326120 15-Jul-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: enforce calling permissions.

Change-Id: I1bb3bd4616309f091ef653ee246b97b1a006a225
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
100155a310fbb5028fc48e359bdfb7c4d3531843 04-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: convert prepare() into a form which helps solve race conditions.

When someone tries to revoke packageA, it is possible that packageA is
already revoked by packageB. In this case packageB should not be revoked,
and the new prepare() can help solve this problem.

Change-Id: Iee056a191dd99467b8ad1b5379a17b02d404bad1
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
34e7813e962de99df9813014678ef5901227c5f1 03-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: minor refinement.

Change-Id: I2b59cbe8554b6c6f8da48c465252489394f32653
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
e9107901ae264de4ff5603d3cfc63a03ca4117d4 02-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: give legacy VPN a fake package name.

And add more comments.

Change-Id: I0cbc495fcb2c8dd105e16a841619b3b9bd227eae
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
5db03df1fff4900eb485304d4fd185110bea1a0c 01-Jul-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: prepare for the usages of legacy VPN.

- Use PendingIntent to start activities.
- Handle configs without package names.
- Switch to system UID.

Change-Id: Ia78112a97e3628b603d9e059705e32694ebe142b
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
42bd53a9ff3f6358485e37df970754833aab2629 18-Jun-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: migrate to VpnConfig.

Also hide the configure button when configureActivity is not set.

Change-Id: Ic8eeec89970bb67d42397754d1f54a2744183eed
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
f530da67b4f9ffa55bb8a1c05390c6f7f87fe4ba 16-Jun-2011 Chia-chi Yeh <chiachi@android.com> VpnDialogs: use IConnectivityManager instead or ConnectivityManager.

Change-Id: I8870a43ecbffa606d2e29f6c4b1b1a605b2b79e5
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java
19f054b0f69b2f56ea0e98a3bb7e0e62b90ff480 04-Jun-2011 Chia-chi Yeh <chiachi@android.com> The UI part of the user space VPN support.

Change-Id: Ia9b7d516f977bc0fa7c30f44ff8111466838d1aa
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ManageDialog.java