summaryrefslogtreecommitdiffstats
path: root/packages/VpnDialogs/src/com/android/vpndialogs
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect VPN timeVinit Deshapnde2013-10-021-1/+1
| | | | | | | | | | 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
* Support multiple Vpn ManageDialogsChad Brubaker2013-07-161-1/+8
| | | | | | | | | | 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
* VpnDialogs: filter obscured touchesKenny Root2013-02-131-0/+1
| | | | Change-Id: Ifcc919c36006c88e36363f5160f9334df0cf7e5b
* Framework: Use holo alert drawablesBjörn Lundén2012-11-151-1/+1
| | | | | | | Replaces the current usage of the GB alert drawable with theme-consistent holo ones. Change-Id: I8594ef8276db5bb0e192f3a541937d7281321043
* Migrate legacy VPN arguments to system_server.Jeff Sharkey2012-08-241-1/+5
| | | | | | | | Generate the racoon and mtpd daemon arguments in system_server, instead of accepting them from Settings. Bug: 5756357 Change-Id: I42c1a644f6add477fe4222342640d7db15982cb8
* Begin moving VPN to NetworkStateTracker pattern.Jeff Sharkey2012-08-231-1/+1
| | | | | | | | | | | | 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
* VpnDialogs: hide the fields when the statistic numbers are unavailable.Chia-chi Yeh2012-02-271-2/+11
| | | | | Bug: 5954284 Change-Id: I2321984d4f423e951989d799073a9da17a577ef9
* VpnDialogs: fix screen flickering when popping up dialogs.Chia-chi Yeh2012-01-232-64/+37
| | | | | Bug: 5699057 Change-Id: Iad1b32cafa32f98b27b6c96a63e1e9d97908983a
* VpnDialogs: revise UI layout.Chia-chi Yeh2011-09-261-2/+4
| | | | | | | Also hide statistics when they are not available. Bug: 5372746 Change-Id: Iceffc8732cd51461630127f4fd17d505bc8b05aa
* VPN: move away from the VPN permission.Chia-chi Yeh2011-08-031-3/+3
| | | | | | VpnBuilder will be replaced by VpnService in the next change. Change-Id: I2dea67a1616b74d17b372f7b214d207f1617198e
* VpnDialogs: enforce calling permissions.Chia-chi Yeh2011-07-151-1/+7
| | | | Change-Id: I1bb3bd4616309f091ef653ee246b97b1a006a225
* VPN: convert prepare() into a form which helps solve race conditions.Chia-chi Yeh2011-07-032-7/+6
| | | | | | | | 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
* VPN: minor refinement.Chia-chi Yeh2011-07-031-5/+5
| | | | Change-Id: I2b59cbe8554b6c6f8da48c465252489394f32653
* VPN: give legacy VPN a fake package name.Chia-chi Yeh2011-07-021-3/+2
| | | | | | And add more comments. Change-Id: I0cbc495fcb2c8dd105e16a841619b3b9bd227eae
* VpnDialogs: prepare for the usages of legacy VPN.Chia-chi Yeh2011-07-011-14/+23
| | | | | | | | - Use PendingIntent to start activities. - Handle configs without package names. - Switch to system UID. Change-Id: Ia78112a97e3628b603d9e059705e32694ebe142b
* VpnDialogs: migrate to VpnConfig.Chia-chi Yeh2011-06-171-41/+43
| | | | | | Also hide the configure button when configureActivity is not set. Change-Id: Ic8eeec89970bb67d42397754d1f54a2744183eed
* VpnDialogs: use IConnectivityManager instead or ConnectivityManager.Chia-chi Yeh2011-06-152-6/+11
| | | | Change-Id: I8870a43ecbffa606d2e29f6c4b1b1a605b2b79e5
* The UI part of the user space VPN support.Chia-chi Yeh2011-06-032-0/+299
Change-Id: Ia9b7d516f977bc0fa7c30f44ff8111466838d1aa