OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoDelete some useless classes.
Fan Zhang [Thu, 18 Aug 2016 22:54:03 +0000 (15:54 -0700)]
Delete some useless classes.

Change-Id: I219d8740f8d3c235630fa503f35a00986cba8ce3
Test: manual compile and launch app.

7 years agoMerge "Stop apps with Storage Managers from launching activity when disabled"
TreeHugger Robot [Thu, 18 Aug 2016 21:30:41 +0000 (21:30 +0000)]
Merge "Stop apps with Storage Managers from launching activity when disabled"

7 years agoMerge "Log visibility change for all fragments."
TreeHugger Robot [Thu, 18 Aug 2016 21:05:59 +0000 (21:05 +0000)]
Merge "Log visibility change for all fragments."

7 years agoLog visibility change for all fragments.
Fan Zhang [Mon, 8 Aug 2016 17:25:13 +0000 (10:25 -0700)]
Log visibility change for all fragments.

Bug: 30681771
Test: SettingsUnitTests

Refactor visibility logging from InstrumentedFragment into a mixin. And
apply mixin in remaining fragments.

Change-Id: Ibbb59904336254a3e4bb9e8c7d0b36e5a6bc2622

7 years agoStop apps with Storage Managers from launching activity when disabled
Matthew Fritze [Tue, 2 Aug 2016 21:39:59 +0000 (14:39 -0700)]
Stop apps with Storage Managers from launching activity when disabled

An app with a storage manager would be able to launch Manage Storage
from application settings, but when the app was disabled, the
activity would be null.

Test: In order to properly unit test this function, a large redesign is
needed in this class, and is outside the scope of this bug.

Change-Id: Ia6b78bc6761bac8b701c904a6e438bbd951b63e8
Fixes: 30457616

7 years agoMerge "Remove permission review build property - settings"
TreeHugger Robot [Thu, 18 Aug 2016 00:56:36 +0000 (00:56 +0000)]
Merge "Remove permission review build property - settings"

7 years agoMerge "Add Robolectric makefile and modify Settings Manifest for testing."
TreeHugger Robot [Thu, 18 Aug 2016 00:51:56 +0000 (00:51 +0000)]
Merge "Add Robolectric makefile and modify Settings Manifest for testing."

7 years agoMerge "Display days of week in locale order." into nyc-mr1-dev am: 8d9ade8b9c am...
Julia Reynolds [Thu, 18 Aug 2016 00:50:16 +0000 (00:50 +0000)]
Merge "Display days of week in locale order." into nyc-mr1-dev am: 8d9ade8b9c am: fcc323c091
am: 4b273f5985

Change-Id: I28f2d5912e3e450586f1d71bf3ca8be2aa3a484e

7 years agoDisplay days of week in locale order. am: 0bb60ada96 am: c3997cbae1
Julia Reynolds [Thu, 18 Aug 2016 00:50:15 +0000 (00:50 +0000)]
Display days of week in locale order. am: 0bb60ada96 am: c3997cbae1
am: 6a710906a7

Change-Id: I3e22b4dbe5c96e5a1ff674c0ab3736f3d3ec81fd

7 years agoLoad default data warning value instead of hardcode it. am: 688ad857e8 am: 2ef1750fff
Fan Zhang [Thu, 18 Aug 2016 00:06:42 +0000 (00:06 +0000)]
Load default data warning value instead of hardcode it. am: 688ad857e8 am: 2ef1750fff
am: ddb3407dd5

Change-Id: If031dc6ffb6fad840d514f16878a3421f358eee8

7 years agoImport translations. DO NOT MERGE am: 8a611b1162 -s ours am: 25a04c0b39 -s ours
Bill Yi [Thu, 18 Aug 2016 00:06:36 +0000 (00:06 +0000)]
Import translations. DO NOT MERGE am: 8a611b1162  -s ours am: 25a04c0b39  -s ours
am: 617f47d77a  -s ours

Change-Id: Iaacbd400f5658c89d02b81448e20f1917032aa5c

7 years agoAdd Robolectric makefile and modify Settings Manifest for testing.
Matthew Fritze [Wed, 17 Aug 2016 18:52:39 +0000 (11:52 -0700)]
Add Robolectric makefile and modify Settings Manifest for testing.

Bug: 30918570
Change-Id: I4ae998676757b4985833fac5ba05d7685e29a8a8

7 years agoMerge "Build with AAPT2"
TreeHugger Robot [Wed, 17 Aug 2016 19:49:54 +0000 (19:49 +0000)]
Merge "Build with AAPT2"

7 years agoRemove permission review build property - settings
Svet Ganov [Wed, 17 Aug 2016 19:23:30 +0000 (12:23 -0700)]
Remove permission review build property - settings

Change-Id: I2f480642c35b14c4db85878eb8deddd3c4001856

7 years agoMerge "Display days of week in locale order." into nyc-mr1-dev am: 8d9ade8b9c
Julia Reynolds [Wed, 17 Aug 2016 19:04:35 +0000 (19:04 +0000)]
Merge "Display days of week in locale order." into nyc-mr1-dev am: 8d9ade8b9c
am: fcc323c091

Change-Id: I680adb75a621a0641a2262199a86ad7693ce9566

7 years agoDisplay days of week in locale order. am: 0bb60ada96
Julia Reynolds [Wed, 17 Aug 2016 19:04:35 +0000 (19:04 +0000)]
Display days of week in locale order. am: 0bb60ada96
am: c3997cbae1

Change-Id: Ic8837b2b5c1985910a02edf62316597bdff87122

7 years agoLoad default data warning value instead of hardcode it. am: 688ad857e8
Fan Zhang [Wed, 17 Aug 2016 18:31:20 +0000 (18:31 +0000)]
Load default data warning value instead of hardcode it. am: 688ad857e8
am: 2ef1750fff

Change-Id: I1b33b9e40e0daf6b489a0662f7b14631b6899d7b

7 years agoImport translations. DO NOT MERGE am: 8a611b1162 -s ours
Bill Yi [Wed, 17 Aug 2016 18:31:16 +0000 (18:31 +0000)]
Import translations. DO NOT MERGE am: 8a611b1162  -s ours
am: 25a04c0b39  -s ours

Change-Id: I51f6a1fe06709f31cb51d99e5deeb7ebcb3b91cc

7 years agoMerge "Display days of week in locale order." into nyc-mr1-dev
Julia Reynolds [Wed, 17 Aug 2016 18:11:44 +0000 (18:11 +0000)]
Merge "Display days of week in locale order." into nyc-mr1-dev
am: 8d9ade8b9c

Change-Id: I2fc4c10d0fae744749a7c92aa0c39681e1c9861c

7 years agoDisplay days of week in locale order.
Julia Reynolds [Wed, 17 Aug 2016 18:11:43 +0000 (18:11 +0000)]
Display days of week in locale order.
am: 0bb60ada96

Change-Id: I9c6cb0b0947d8d313fa5794185fbe119cfa7725a

7 years agoLoad default data warning value instead of hardcode it.
Fan Zhang [Wed, 17 Aug 2016 17:39:24 +0000 (17:39 +0000)]
Load default data warning value instead of hardcode it.
am: 688ad857e8

Change-Id: Ie982559572c96da6ba0bb9276f4ba974936b418f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 17 Aug 2016 17:39:22 +0000 (17:39 +0000)]
Import translations. DO NOT MERGE
am: 8a611b1162  -s ours

Change-Id: I69399deba5bc5fd85d06923cacc07fb1128f6eec

7 years agoBuild with AAPT2
Adam Lesinski [Tue, 16 Aug 2016 22:59:14 +0000 (15:59 -0700)]
Build with AAPT2

Change-Id: Ib0b4a597efae178785c308451b882196c2fb807a

7 years agoMerge "Display days of week in locale order." into nyc-mr1-dev
Julia Reynolds [Wed, 17 Aug 2016 16:42:25 +0000 (16:42 +0000)]
Merge "Display days of week in locale order." into nyc-mr1-dev

7 years agoMerge "Fix Wifi screen updating"
Tony Mantler [Wed, 17 Aug 2016 15:59:55 +0000 (15:59 +0000)]
Merge "Fix Wifi screen updating"

7 years agoMerge "Prevent wifi icon from disappearing"
Salvador Martinez [Tue, 16 Aug 2016 23:37:39 +0000 (23:37 +0000)]
Merge "Prevent wifi icon from disappearing"

7 years agoMerge "Clean up some unnecessary inheritance."
TreeHugger Robot [Tue, 16 Aug 2016 23:18:05 +0000 (23:18 +0000)]
Merge "Clean up some unnecessary inheritance."

7 years agoClean up some unnecessary inheritance.
Fan Zhang [Tue, 16 Aug 2016 21:53:48 +0000 (14:53 -0700)]
Clean up some unnecessary inheritance.

Bug: 30681529
Change-Id: I84fa1085cc18b167d506dec3b3054d9f74d3d3e7

7 years agoLoad default data warning value instead of hardcode it.
Fan Zhang [Tue, 9 Aug 2016 23:27:54 +0000 (16:27 -0700)]
Load default data warning value instead of hardcode it.

Bug: 30898071
Change-Id: I36f3669ca07862476c778aabb1290f3ceb3afc92

7 years agoMerge "Fix crash in Storage app info when the corresponding app is uninstalled in...
Doris Ling [Tue, 16 Aug 2016 18:53:59 +0000 (18:53 +0000)]
Merge "Fix crash in Storage app info when the corresponding app is uninstalled in the background."

7 years agoMerge "Data Usage summary creates a dialog to change data warning level"
TreeHugger Robot [Tue, 16 Aug 2016 17:36:41 +0000 (17:36 +0000)]
Merge "Data Usage summary creates a dialog to change data warning level"

7 years agoMerge "Fix crash when go to Data usage->Cellular data usage->Removed apps and users."
Doris Ling [Tue, 16 Aug 2016 17:20:58 +0000 (17:20 +0000)]
Merge "Fix crash when go to Data usage->Cellular data usage->Removed apps and users."

7 years agoMerge "Extend conditional button width so it has more click area."
Fan Zhang [Tue, 16 Aug 2016 16:30:50 +0000 (16:30 +0000)]
Merge "Extend conditional button width so it has more click area."

7 years agoData Usage summary creates a dialog to change data warning level
Matthew Fritze [Fri, 12 Aug 2016 16:37:43 +0000 (09:37 -0700)]
Data Usage summary creates a dialog to change data warning level

Clicking the Data usage summary preference will open the same dialog
that billing cycle does to modify data warning level. The Dialog
was abstracted to be used outside of the Billing Cycle settings
fragment.

Change-Id: I70398d4656b6da4233b2bfa0da6ffa7402ead69b
Fixes: 26932938

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 16 Aug 2016 15:30:01 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Remove duplicated call to authenticationSucceeded()"
TreeHugger Robot [Tue, 16 Aug 2016 13:55:38 +0000 (13:55 +0000)]
Merge "Remove duplicated call to authenticationSucceeded()"

7 years agoMerge "Be more defensive on failure to disconnect legacy VPNs"
Robin Lee [Tue, 16 Aug 2016 13:27:01 +0000 (13:27 +0000)]
Merge "Be more defensive on failure to disconnect legacy VPNs"

7 years agoRemove duplicated call to authenticationSucceeded()
Rubin Xu [Wed, 10 Aug 2016 09:59:57 +0000 (10:59 +0100)]
Remove duplicated call to authenticationSucceeded()

Bug: 30728557
Change-Id: Ib4678f1c92b252c0afc6e71665dc8be460a20a9e

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 09:31:55 +0000 (02:31 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib98e5307dd77c0295e16e465c0f12d362749ea4b
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 09:26:59 +0000 (02:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: I547436dbdb35ff59ff73b83be6c92bfa3bd00bf0
Auto-generated-cl: translation import

7 years agoMerge "Made dialog material design compliant"
TreeHugger Robot [Tue, 16 Aug 2016 02:02:34 +0000 (02:02 +0000)]
Merge "Made dialog material design compliant"

7 years agoExtend conditional button width so it has more click area.
Fan Zhang [Tue, 16 Aug 2016 01:31:55 +0000 (18:31 -0700)]
Extend conditional button width so it has more click area.

Bug: 30822058
Change-Id: I88a88c7807309741113e4b5557686c08261eb5d0

7 years agoFix crash when go to Data usage->Cellular data usage->Removed apps and
Doris Ling [Tue, 16 Aug 2016 01:27:55 +0000 (18:27 -0700)]
Fix crash when go to Data usage->Cellular data usage->Removed apps and
users.

Ensure that the user info is not null before using it to retrieve user
icon and label. If the user info is null, use the default label.

Change-Id: If402844d472a15f04c812f20c1c761b3a189a638
Fixes: 29619032

7 years agoMerge "Fixed storage calculation when SD card is adopted as internal storage."
TreeHugger Robot [Tue, 16 Aug 2016 00:54:09 +0000 (00:54 +0000)]
Merge "Fixed storage calculation when SD card is adopted as internal storage."

7 years agoMade dialog material design compliant
Salvador Martinez [Mon, 15 Aug 2016 23:59:30 +0000 (16:59 -0700)]
Made dialog material design compliant

modified layout file to get the correct
padding and layout as described in the material
design documents.

Bug: 30709085
Change-Id: I18edf220a62228872793fb5b655b02751f38e1f5

7 years agoMerge "Hide default phone preference when there is no phone app."
Fan Zhang [Tue, 16 Aug 2016 00:32:28 +0000 (00:32 +0000)]
Merge "Hide default phone preference when there is no phone app."

7 years agoDon't dial any number if DIAL intent is not supported. am: 6098913d4b am: 9d478bef16
Fan Zhang [Mon, 15 Aug 2016 23:48:34 +0000 (23:48 +0000)]
Don't dial any number if DIAL intent is not supported. am: 6098913d4b am: 9d478bef16
am: 67a496221e

Change-Id: I3a92f89fe4e2dc527c994050556253ec834ca1e6

7 years agoDon't dial any number if DIAL intent is not supported. am: 6098913d4b
Fan Zhang [Mon, 15 Aug 2016 23:44:32 +0000 (23:44 +0000)]
Don't dial any number if DIAL intent is not supported. am: 6098913d4b
am: 9d478bef16

Change-Id: I6726f4551a1ca865c225d2c6d2bfb0b1e6a4f00a

7 years agoDon't dial any number if DIAL intent is not supported.
Fan Zhang [Mon, 15 Aug 2016 23:40:39 +0000 (23:40 +0000)]
Don't dial any number if DIAL intent is not supported.
am: 6098913d4b

Change-Id: Ia00c08773bb69508f274739043b6c0b00015358e

7 years agoFixed storage calculation when SD card is adopted as internal storage.
Felipe Leme [Mon, 8 Aug 2016 18:04:30 +0000 (11:04 -0700)]
Fixed storage calculation when SD card is adopted as internal storage.

A SD Card can be set as internal storage, in which case its total must
be added to the total internal storage size.

Prior to this change, the total internal storage size was hardcoded as
the value returned by Storage Manager.

Also fixed the storage summary total to exclude portable devices.

Fixes: 30689428
BUG: 30742322

Change-Id: I1e33038eeebc91f3c525a387a97987391c10f2f9

8 years agoDon't dial any number if DIAL intent is not supported.
Fan Zhang [Mon, 15 Aug 2016 20:22:42 +0000 (13:22 -0700)]
Don't dial any number if DIAL intent is not supported.

Bug: 30868123
Change-Id: Ieb971fdd86011ef0699fdbcfec1ecce2112d0209

8 years agoMerge "Fix the nullpointer bug in monkey test."
Lei Yu [Mon, 15 Aug 2016 19:58:57 +0000 (19:58 +0000)]
Merge "Fix the nullpointer bug in monkey test."

8 years agoHide default phone preference when there is no phone app.
Fan Zhang [Mon, 15 Aug 2016 19:32:20 +0000 (12:32 -0700)]
Hide default phone preference when there is no phone app.

Bug: 29859821
Change-Id: Ia6de0de04d74f4f947243f38ac2bd190ae586401

8 years agoMerge "Tests for launch support on default feature"
TreeHugger Robot [Mon, 15 Aug 2016 19:42:54 +0000 (19:42 +0000)]
Merge "Tests for launch support on default feature"

8 years agoTests for launch support on default feature
Salvador Martinez [Fri, 29 Jul 2016 16:50:56 +0000 (09:50 -0700)]
Tests for launch support on default feature

Includes some espresso tests to ensure that the proper
tab is selected when you attempt to launch settings.

Bug: 30233920
Change-Id: I171293114bd84b064b333091fcf2394d44debed5

8 years agoPrevent wifi icon from disappearing
Salvador Martinez [Fri, 12 Aug 2016 17:31:43 +0000 (10:31 -0700)]
Prevent wifi icon from disappearing

Made changes to WifiSettings that customizes
the preference icon so that the icon is never
null. This greatly reduces jittering.

Bug: 29979747
Change-Id: I3d2767310513389c09a37e34674a304278f4d0de

8 years agoFix Wifi screen updating
Tony Mantler [Fri, 12 Aug 2016 20:33:54 +0000 (13:33 -0700)]
Fix Wifi screen updating

Fixes keyboard focus being cleared, and allows animation

b/30759327

Change-Id: If820708a292ef8dfa173d9edc04bbab322ee78d9

8 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev am: 404104a...
Adrian Roos [Sun, 14 Aug 2016 00:32:25 +0000 (00:32 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev am: 404104a6a8 am: c8131c1e58
am: 20fe8b32b8

Change-Id: I9c30ec82bab149805891157df27bd4f66a5aff6c

8 years agoMerge "Make number in dialog highlighted"
Lei Yu [Sat, 13 Aug 2016 16:28:15 +0000 (16:28 +0000)]
Merge "Make number in dialog highlighted"

8 years agoresolve merge conflicts of 523ec54 to master
Adrian Roos [Sat, 13 Aug 2016 01:05:57 +0000 (18:05 -0700)]
resolve merge conflicts of 523ec54 to master

Change-Id: I2f31db207be03a01be7786a0c93abdbb6b84fbf6

8 years agoMerge "When click conditional's title, expand/collapse content."
TreeHugger Robot [Fri, 12 Aug 2016 23:50:39 +0000 (23:50 +0000)]
Merge "When click conditional's title, expand/collapse content."

8 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev am: 404104a6a8
Adrian Roos [Fri, 12 Aug 2016 23:18:40 +0000 (23:18 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev am: 404104a6a8
am: c8131c1e58

Change-Id: I35103df353bf82d27dec8a579f459ec1201247cd

8 years agoAssist: Allow disabling the disclosure animation am: fff9fd87bf
Adrian Roos [Fri, 12 Aug 2016 23:18:32 +0000 (23:18 +0000)]
Assist: Allow disabling the disclosure animation am: fff9fd87bf
am: cea8891d5a

Change-Id: Ib18f9a866942cc40752b7ff36d2cd6a2aa6e7084

8 years agoFix crash in Storage app info when the corresponding app is uninstalled
Doris Ling [Fri, 12 Aug 2016 22:25:00 +0000 (15:25 -0700)]
Fix crash in Storage app info when the corresponding app is uninstalled
in the background.

1. Move the handling for package removal from InstalledAppDetails to
AppInfoBase so that all app info subclass will now finish
correspondingly if the package is uninstalled.
2. In InstalledAppDetails, when handling package removal, will also
finish the app info fragment that it starts earlier.

Change-Id: Id741e7475414045040dd0797ff3bc63ac214f400
Fixes: 27774473

8 years agoFix the nullpointer bug in monkey test.
jackqdyulei [Thu, 11 Aug 2016 18:12:20 +0000 (11:12 -0700)]
Fix the nullpointer bug in monkey test.

Bug: 30632031

Change-Id: I295bcc804a5e847f99577353c888caa08dc8c7ef

8 years agoMerge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev am: f22f7...
Fan Zhang [Fri, 12 Aug 2016 21:14:32 +0000 (21:14 +0000)]
Merge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev am: f22f7e8b53 am: 91becf6d87
am: 80fb5552d0

Change-Id: I25d90afb3df6796a89f286e86b92db18148f32ba

8 years agoStrings in a diclaimer dialog when turning on NFC. am: 9c9cadd991 am: d9f35ed984
Fan Zhang [Fri, 12 Aug 2016 21:14:32 +0000 (21:14 +0000)]
Strings in a diclaimer dialog when turning on NFC. am: 9c9cadd991 am: d9f35ed984
am: 96f37df6d9

Change-Id: I863f523633a9c3e5968aeb78f0239ea40db97718

8 years agoMerge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev am: f22f7...
Fan Zhang [Fri, 12 Aug 2016 20:40:43 +0000 (20:40 +0000)]
Merge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev am: f22f7e8b53
am: 91becf6d87

Change-Id: I44e1b5af1f4555d4f2483634e525582153c82968

8 years agoStrings in a diclaimer dialog when turning on NFC. am: 9c9cadd991
Fan Zhang [Fri, 12 Aug 2016 20:40:43 +0000 (20:40 +0000)]
Strings in a diclaimer dialog when turning on NFC. am: 9c9cadd991
am: d9f35ed984

Change-Id: Id5e8ed6bc0398d97e7ca662c1c9bf173a3159a7f

8 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
Adrian Roos [Fri, 12 Aug 2016 20:35:34 +0000 (20:35 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
am: 404104a6a8

Change-Id: I0254b84dac2b1cb3fa7a07e74218bf8cc30ff59b

8 years agoAssist: Allow disabling the disclosure animation
Adrian Roos [Fri, 12 Aug 2016 20:35:30 +0000 (20:35 +0000)]
Assist: Allow disabling the disclosure animation
am: fff9fd87bf

Change-Id: I625b96295a9f39704f2016903f4cfc063613122f

8 years agoMerge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 20:28:10 +0000 (20:28 +0000)]
Merge "Assist: Allow disabling the disclosure animation" into nyc-mr1-dev

8 years agoMerge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev
Fan Zhang [Fri, 12 Aug 2016 20:21:31 +0000 (20:21 +0000)]
Merge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev
am: f22f7e8b53

Change-Id: I892a2e9b741b44b462bd30581ad0d7c36e1db514

8 years agoStrings in a diclaimer dialog when turning on NFC.
Fan Zhang [Fri, 12 Aug 2016 20:21:30 +0000 (20:21 +0000)]
Strings in a diclaimer dialog when turning on NFC.
am: 9c9cadd991

Change-Id: Ic71699bbc33fca59c29abd8c7e3804975ceca9db

8 years agoMerge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 19:58:26 +0000 (19:58 +0000)]
Merge "Strings in a diclaimer dialog when turning on NFC." into nyc-mr1-dev

8 years agoMerge "Have a fallback package name when matching targetPackage."
TreeHugger Robot [Fri, 12 Aug 2016 18:34:29 +0000 (18:34 +0000)]
Merge "Have a fallback package name when matching targetPackage."

8 years agoStrings in a diclaimer dialog when turning on NFC.
Fan Zhang [Fri, 12 Aug 2016 17:44:23 +0000 (10:44 -0700)]
Strings in a diclaimer dialog when turning on NFC.

Bug: 30834503

Change-Id: If18fe3ae075d96fbac20751d91d10a03d3396a53

8 years agoWhen click conditional's title, expand/collapse content.
Fan Zhang [Thu, 11 Aug 2016 23:41:29 +0000 (16:41 -0700)]
When click conditional's title, expand/collapse content.

Bug: 30200101

It used to lead user to detailed setting for that conditional. This
leaves some confusion about which click target goes to where.

Change-Id: Ic9525ace65ca488f4e709576fb1ec96a1cb99938

8 years agoHave a fallback package name when matching targetPackage.
Fan Zhang [Fri, 12 Aug 2016 01:37:35 +0000 (18:37 -0700)]
Have a fallback package name when matching targetPackage.

Bug: 29774397

When figuring out best match package name, we should have a fallback.
Otherwise sometimes we get empty package names, causing problems when
trying to display memory usage for each app.

Change-Id: I9cc4205098bb7c727a3063b2275fb464c8153097

8 years agoMake number in dialog highlighted
jackqdyulei [Thu, 11 Aug 2016 21:44:53 +0000 (14:44 -0700)]
Make number in dialog highlighted

Bug: 28787910

Change-Id: Idf6767156c0a3dafffb62b9a41ee81f6a9712a2f

8 years agoBe more defensive on failure to disconnect legacy VPNs
Robin Lee [Fri, 29 Jul 2016 11:12:15 +0000 (12:12 +0100)]
Be more defensive on failure to disconnect legacy VPNs

Failing to disconnect but deleting the keystore entry anyway makes
it difficult to do anything about a still-running connection.

Also switching over from prepareVpn(x,x) to prepareVpn(null,x) which
helps avoid race conditions where in between the getLegacyVpnInfo and
prepareVpn calls a 3rd-party app started a connection, which would break
the disconnect but still register as success.

Bug: 23529835
Bug: 29032008
Change-Id: Iedce784cb0eafbf75fe015dd2b3d355fcd887abf

8 years agoAlign text to view start so they layout correctly in RTL.
Fan Zhang [Thu, 11 Aug 2016 22:04:15 +0000 (15:04 -0700)]
Align text to view start so they layout correctly in RTL.

Bug: 28011099
Change-Id: I65b7ab768c384a558f89e3bce539420454fed8a5

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 99b590df3e -s ours...
Bill Yi [Fri, 12 Aug 2016 09:52:12 +0000 (09:52 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 99b590df3e  -s ours am: 7b1062da75  -s ours
am: a614a9c4b7  -s ours

Change-Id: I10a788b2cff1a56389a32d6c3a07d5fa6abc4f2a

8 years agoImport translations. DO NOT MERGE am: 125aecfb4b -s ours am: e24aef7907 -s ours
Bill Yi [Fri, 12 Aug 2016 09:52:11 +0000 (09:52 +0000)]
Import translations. DO NOT MERGE am: 125aecfb4b  -s ours am: e24aef7907  -s ours
am: 1bf4d2d8f6  -s ours

Change-Id: Ic1e906941ec5062d75472e80fe75fb057d5fb52d

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 99b590df3e -s ours
Bill Yi [Fri, 12 Aug 2016 09:45:35 +0000 (09:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev am: 99b590df3e  -s ours
am: 7b1062da75  -s ours

Change-Id: I64e1747122165a22613ec976e8a3d9d713da41d6

8 years agoImport translations. DO NOT MERGE am: 125aecfb4b -s ours
Bill Yi [Fri, 12 Aug 2016 09:45:33 +0000 (09:45 +0000)]
Import translations. DO NOT MERGE am: 125aecfb4b  -s ours
am: e24aef7907  -s ours

Change-Id: I0808abfa35007a9539f9f411ab5c64b6c9572863

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Fri, 12 Aug 2016 09:38:33 +0000 (09:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 99b590df3e  -s ours

Change-Id: If09ddaa056c14936d86b11a369a7a2a31025f057

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 09:38:33 +0000 (09:38 +0000)]
Import translations. DO NOT MERGE
am: 125aecfb4b  -s ours

Change-Id: Ic8503c8f4b0b05582c1ad5f12e0e5123b2ea5c41

8 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 12 Aug 2016 09:25:50 +0000 (09:25 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 12 Aug 2016 09:25:46 +0000 (09:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 01:25:13 +0000 (18:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8eeb62c2d3038fb78118c0f2d08f94329f441be5
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 12 Aug 2016 01:20:38 +0000 (18:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: I152d531b15b6753c71aae2162f91ae4d8d4a491e
Auto-generated-cl: translation import

8 years agoFix a broken TetherServiceTest. am: 8681148918 am: be9c338253
Jeremy Klein [Fri, 12 Aug 2016 00:10:29 +0000 (00:10 +0000)]
Fix a broken TetherServiceTest. am: 8681148918 am: be9c338253
am: 9de1885a4d

Change-Id: I66818d04e363d43cae88a713daaf51a746c84f38

8 years agoFix a broken TetherServiceTest. am: 8681148918
Jeremy Klein [Fri, 12 Aug 2016 00:06:28 +0000 (00:06 +0000)]
Fix a broken TetherServiceTest. am: 8681148918
am: be9c338253

Change-Id: Ic4b97f70f0ac75c3ee42ebc51a0b1365a7ac58f1

8 years agoFix a broken TetherServiceTest.
Jeremy Klein [Fri, 12 Aug 2016 00:02:57 +0000 (00:02 +0000)]
Fix a broken TetherServiceTest.
am: 8681148918

Change-Id: Ie8a290129fd32b6630273a29cd6f77425e6c419d

8 years agoMerge "Fix the arbitrary limit numbers and number overflow problem."
Lei Yu [Thu, 11 Aug 2016 23:44:15 +0000 (23:44 +0000)]
Merge "Fix the arbitrary limit numbers and number overflow problem."

8 years agoFix a broken TetherServiceTest.
Jeremy Klein [Thu, 11 Aug 2016 22:57:29 +0000 (15:57 -0700)]
Fix a broken TetherServiceTest.

This should have been updated when I changed settings to use the new
tethering API.

Bug: 30814807
Change-Id: I3853e6abf1e9976aedae70d4ff41336940545b64

8 years agoAssist: Allow disabling the disclosure animation
Adrian Roos [Thu, 11 Aug 2016 22:45:22 +0000 (15:45 -0700)]
Assist: Allow disabling the disclosure animation

Change-Id: I18a2e4144c762a0833d2384c51f916b841dfc8b3
Fixes: 30809067

8 years agoMerge "Settings Focus prevented from moving to pref"
Salvador Martinez [Thu, 11 Aug 2016 17:08:26 +0000 (17:08 +0000)]
Merge "Settings Focus prevented from moving to pref"

8 years agoSettings Focus prevented from moving to pref
Salvador Martinez [Mon, 8 Aug 2016 18:06:37 +0000 (11:06 -0700)]
Settings Focus prevented from moving to pref

RecyclerView containing preferences for support
tab and summary tab are no longer focusable
so that focus is not taken by preferences when
loaded.

Bug: 30214948
Change-Id: I23e717c58b1104fd0d2f8d89b77715a7b1fbc922