63 Commits

Author SHA1 Message Date
Jeff Davidson
445c45ecf2 am 78595786: Merge "Restore legacy VPN stats dialog." into lmp-dev
* commit '785957866a3a2978929ad2c79865575204c7216a':
  Restore legacy VPN stats dialog.
2014-08-23 01:12:43 +00:00
Jeff Davidson
577bf51765 am daf54483: Merge "Restore legacy VPN stats dialog strings." into lmp-dev
* commit 'daf5448383a02017bb761841d675c3630ec94cac':
  Restore legacy VPN stats dialog strings.
2014-08-23 00:12:49 +00:00
Jeff Davidson
90b1b9f985 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
2014-08-22 17:06:37 -07:00
Jeff Davidson
8a5a9d32c2 Restore legacy VPN stats dialog strings.
Bug: 17164793
Change-Id: I5927cdc4f1ceef4cd1cc1b5d17ae97d285bd9a39
2014-08-22 16:55:32 -07:00
Jeff Davidson
0e7eb9b3b2 am 709941fd: Merge "Less intrusive VPN dialog and other UX tweaks." into lmp-dev
* commit '709941fd34e02fb6639ab31e04404b023c820dec':
  Less intrusive VPN dialog and other UX tweaks.
2014-08-21 00:02:07 +00:00
Jeff Davidson
05542603dd 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
2014-08-20 16:55:28 -07:00
Baligh Uddin
f14c0f79e1 Import translations. DO NOT MERGE
Change-Id: Iad4e740bda603a5a7fb00961c82f01d34b07d8d4
Auto-generated-cl: translation import
2014-08-15 22:19:11 -07:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
Baligh Uddin
47bdbd1f0c Import translations. DO NOT MERGE
Change-Id: I45fc44712db4f2dafeab5f99fc2ca9a5276e75ba
Auto-generated-cl: translation import
2014-07-05 15:21:18 -07:00
Baligh Uddin
5e51abd7ec Import translations. DO NOT MERGE
Change-Id: Ibca0bb8ef3a7f047b15355ed614651beb4795eec
Auto-generated-cl: translation import
2014-06-30 14:36:21 +00:00
Alan Viverette
e3c38a0b0e Fix recents theme, add missing headers
Change-Id: Ib8eea6153eaf7e0e93e54c69fe59e63e98a409a6
2014-04-02 15:39:13 -07:00
Alan Viverette
6259933ec9 Switch framework Holo references to Quantum.Light
Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
2014-04-01 14:57:39 -07:00
Baligh Uddin
869de0d1d0 Import translations. DO NOT MERGE
Change-Id: I90b992fe5850b901f15b4c9ae778a316d574edb2
Auto-generated-cl: translation import
2013-12-26 11:08:12 -08:00
Baligh Uddin
38bae539f8 Remove deprecated locales
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
2013-12-09 22:41:12 +00:00
John Spurlock
6090995951 Remove unused imports from frameworks/base.
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-11-20 11:31:47 -05:00
Baligh Uddin
289de24d64 Import translations. DO NOT MERGE
Change-Id: I9a274d2dae9b41ed8378f460da42507f44f429c5
Auto-generated-cl: translation import
2013-10-30 09:33:10 -07:00
Vinit Deshapnde
28cf65a6cf am adcf8696: am b1992b55: am e42325c7: Merge "Fix incorrect VPN time" into klp-dev
* commit 'adcf86961356157089daa4dc13c865258d1eea49':
  Fix incorrect VPN time
2013-10-02 12:32:42 -07:00
Vinit Deshapnde
adcf869613 am b1992b55: am e42325c7: Merge "Fix incorrect VPN time" into klp-dev
* commit 'b1992b55e967329f3bc9a63229615130761df701':
  Fix incorrect VPN time
2013-10-02 12:29:26 -07:00
Vinit Deshapnde
2b862e5e75 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
2013-10-02 11:50:39 -07:00
Baligh Uddin
6cdfb390b0 Import translations. DO NOT MERGE
Change-Id: Iea99a461037b5ef6dc3cd573b594b483692222ef
Auto-generated-cl: translation import
2013-09-25 09:11:27 -07:00
Baligh Uddin
fb1854b45d Import translations. DO NOT MERGE
Change-Id: I2512b43867fbd6821e94b937b31768c313bfd8b4
Auto-generated-cl: translation import
2013-09-18 23:59:33 -07:00
Baligh Uddin
da9120b062 Import translations. DO NOT MERGE
Change-Id: Ie76c722a4e7525264922041684f25b5b35286973
Auto-generated-cl: translation import
2013-09-14 20:30:38 -07:00
Baligh Uddin
ca892360a0 Import translations. DO NOT MERGE
Change-Id: I41d53a68f479490dab20dc25d2d020ec098a1ff8
Auto-generated-cl: translation import
2013-09-11 11:45:08 -07:00
Baligh Uddin
b5445c815e Import translations. DO NOT MERGE
Change-Id: I2ae3c5acea8bc6736dc896c9a51647894a5f3175
Auto-generated-cl: translation import
2013-08-28 18:34:39 -07:00
Baligh Uddin
94103d0778 Import translations. DO NOT MERGE
Change-Id: I65179cd29f91ec7e22edef7d6cdde4dfccdbef4b
Auto-generated-cl: translation import
2013-08-26 09:51:55 -07:00
Baligh Uddin
e8127bddf0 Import translations. DO NOT MERGE
Change-Id: I5b04fc1fefa16588f7b6e935473f722b073f757c
Auto-generated-cl: translation import
2013-08-19 08:21:39 -07:00
Baligh Uddin
defdc5d971 Import translations. DO NOT MERGE
Change-Id: Ie06cabcb736bd0cf12f4c1f393bf691a3a732495
Auto-generated-cl: translation import
2013-08-09 00:28:21 -07:00
Chad Brubaker
bf6ff2c025 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
2013-07-16 18:59:12 -07:00
Christopher Tate
ccbf84f44c Some system apps are more system than others
"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
2013-06-17 12:47:35 -07:00
Kenny Root
56480ef53f VpnDialogs: filter obscured touches
Change-Id: Ifcc919c36006c88e36363f5160f9334df0cf7e5b
2013-02-13 16:32:48 -08:00
Björn Lundén
1129a85203 Framework: Use holo alert drawables
Replaces the current usage of the GB alert
drawable with theme-consistent holo ones.

Change-Id: I8594ef8276db5bb0e192f3a541937d7281321043
2012-11-15 15:32:02 +01:00
Jeff Sharkey
82f8521d38 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
2012-08-24 11:29:58 -07:00
Jeff Sharkey
899223b97c 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
2012-08-23 16:41:06 -07:00
Ying Wang
2ff06437ae Import translations. DO NOT MERGE
Change-Id: I0f6f872984c04033f03960aec8312f86b0451fd0
Auto-generated-cl: translation import
2012-07-20 12:01:04 -07:00
Ying Wang
b1ac6afe7f Import translations. DO NOT MERGE
Change-Id: I64327f26c87a11b1395acd7dfa217c3fd386b133
Auto-generated-cl: translation import
2012-07-10 12:27:03 -07:00
Chia-chi Yeh
dadc857d9d VPN: move VpnDialogs away from system uid.
Bug: 6632536
Change-Id: Iece647c077caf5298ccfe7d7aba5f0911a4ed0d1
2012-06-08 13:05:58 -07:00
Eric Fischer
e68159ae74 Import translations. DO NOT MERGE
Change-Id: Iaa68a41570f03ee73c3f36502862477746c474a3
2012-03-23 13:04:55 -07:00
Eric Fischer
18634b34e6 Import translations. DO NOT MERGE
Change-Id: I2761d2e7bb8795ab23a0024ed41ec299abc400e1
2012-02-28 12:23:51 -08:00
Chia-chi Yeh
b0736abca9 VpnDialogs: hide the fields when the statistic numbers are unavailable.
Bug: 5954284
Change-Id: I2321984d4f423e951989d799073a9da17a577ef9
2012-02-27 17:30:41 -08:00
Chia-chi Yeh
ae380fb89d VpnDialogs: fix screen flickering when popping up dialogs.
Bug: 5699057
Change-Id: Iad1b32cafa32f98b27b6c96a63e1e9d97908983a
2012-01-23 18:33:26 -08:00
Eric Fischer
2fbd56a652 Import revised translations.
Change-Id: I71efb16f2c6b257dfd444728c7e56ada662e6f77
2011-11-02 09:41:15 -07:00
Eric Fischer
b0d150aa53 Import revised translations.
Change-Id: I83ab00ec220b7c0ba0d37e7f4c91e945e35aab39
2011-10-18 15:03:21 -07:00
Eric Fischer
03e9d8ae07 Import revised translations.
Change-Id: Id046f8008aef32a1b94b4fa5b57e2beb2f9f2e80
2011-10-07 16:09:10 -07:00
Eric Fischer
d3530ac774 Import revised translations.
Change-Id: Ic8e228878fde375b90797c6e344fcb3114180f1d
2011-09-30 16:32:04 -07:00
Chia-chi Yeh
72fddaa5d9 VpnDialogs: revise UI layout.
Also hide statistics when they are not available.

Bug: 5372746
Change-Id: Iceffc8732cd51461630127f4fd17d505bc8b05aa
2011-09-26 15:07:49 -07:00
Eric Fischer
50c83888a6 Import revised translations.
Change-Id: I5e375bebc8f74d9108a929246f16608427ce9317
2011-09-20 10:21:56 -07:00
Chia-chi Yeh
f63c17d741 VpnDialogs: add string description for translation.
Change-Id: Id826838661e8cfa20d01a4f51943f7744a2665e2
2011-09-14 18:09:59 -07:00
Chia-chi Yeh
d80549c8dc VpnDialogs: allow strings wrapped into multiple lines.
Change-Id: I51443c14c2f113a149818dc060fb90fa16527545
2011-09-13 15:41:23 -07:00
Eric Fischer
5820aeee0b Import revised translations.
Change-Id: Iac73006cfaf846d210855496f6732cbdc6ad0de8
2011-09-02 14:44:12 -07:00
Eric Fischer
6a51343975 Import revised translations.
Change-Id: I51e1fc94b7fa3fec13f7dddad62b978dd9a71d43
2011-08-26 14:49:23 -07:00