OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoFix power usage detail page is launched in wrong user
Tony Mak [Mon, 14 Aug 2017 13:36:52 +0000 (14:36 +0100)]
Fix power usage detail page is launched in wrong user

Two issues:
1. UID of settings app == system UID. But isSystemUid failed to recognize
Settings in secondary user is also a system uid.
2. For USER drain type, we should launch the detail page in current
   user.

Fix: 64506728
Test: make ROBOTEST_FILTER=AdvancedPowerUsageDetailTest -j40 RunSettingsRoboTests
Test: Switch to seconday user. Go to Settings->Battery, tap owner user
      battery entry, observe that detail page is shown.
Test: Stay long enough in Settings app, make sure no
      either Settings nor Android Framework battery entry.

Change-Id: I8d66ad55f18fcb3d9567b3bf753f737f5b98c609

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 8dce5e57c3 -s ours
Bill Yi [Thu, 24 Aug 2017 08:33:50 +0000 (08:33 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 8dce5e57c3  -s ours
am: ac57de36da  -s ours

Change-Id: Iba539724df718bca825ce46cee030ea8064bd217

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Thu, 24 Aug 2017 08:07:20 +0000 (08:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 8dce5e57c3  -s ours

Change-Id: I3b749db0e748344dad59f8d9487525320f516bb2

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 07:49:30 +0000 (07:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE am: 683fdb8177 -s ours am: 1d339fab5f ...
Bill Yi [Thu, 24 Aug 2017 07:45:49 +0000 (07:45 +0000)]
Merge "Import translations. DO NOT MERGE am: 683fdb8177  -s ours am: 1d339fab5f  -s ours" into oc-mr1-dev-plus-aosp
am: 9b1ff6ca9d  -s ours

Change-Id: I5a0a51ad0e6d581293ef90363c13bb325f9e64a3

6 years agoImport translations. DO NOT MERGE am: 683fdb8177 -s ours am: 89ebaf6c52 -s ours
Bill Yi [Thu, 24 Aug 2017 07:45:12 +0000 (07:45 +0000)]
Import translations. DO NOT MERGE am: 683fdb8177  -s ours am: 89ebaf6c52  -s ours
am: 82446dc8a7  -s ours

Change-Id: I52855274f49bcad4141468c296b36ce1b62c0bcc

6 years agoMerge "Import translations. DO NOT MERGE am: 683fdb8177 -s ours am: 1d339fab5f ...
Android Build Merger (Role) [Thu, 24 Aug 2017 07:41:50 +0000 (07:41 +0000)]
Merge "Import translations. DO NOT MERGE am: 683fdb8177  -s ours am: 1d339fab5f  -s ours" into oc-mr1-dev-plus-aosp

6 years agoImport translations. DO NOT MERGE am: 683fdb8177 -s ours
Bill Yi [Thu, 24 Aug 2017 07:41:13 +0000 (07:41 +0000)]
Import translations. DO NOT MERGE am: 683fdb8177  -s ours
am: 1d339fab5f  -s ours

Change-Id: Ifce1308a8c9524b7ed12037f7c4912b6991c168e

6 years agoImport translations. DO NOT MERGE am: 683fdb8177 -s ours
Bill Yi [Thu, 24 Aug 2017 07:41:12 +0000 (07:41 +0000)]
Import translations. DO NOT MERGE am: 683fdb8177  -s ours
am: 89ebaf6c52  -s ours

Change-Id: I2e80906f9c3d4657e9dc1d5dd8aef36f4ce19235

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 07:37:10 +0000 (07:37 +0000)]
Import translations. DO NOT MERGE
am: 683fdb8177  -s ours

Change-Id: I6d6c17a868765261ace38e0532c95695c2dfb840

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 07:37:10 +0000 (07:37 +0000)]
Import translations. DO NOT MERGE
am: 683fdb8177  -s ours

Change-Id: I5b3d3ae77cbda9a3badd40e678034f4ee157b7be

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 24 Aug 2017 07:27:37 +0000 (07:27 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 05:15:37 +0000 (22:15 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I452434cbf7282ba20233b9345b75ebdf9251ef98

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 04:58:28 +0000 (21:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I5ac7b8c39cb58c662a744ac1c0608ed901fb670e

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 04:40:56 +0000 (21:40 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie2c072d206c99da9b6fc821012a7a4056020aaaf
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev am...
Soroosh Mariooryad [Thu, 24 Aug 2017 04:32:47 +0000 (04:32 +0000)]
Merge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev am: f83b94aa0c
am: 4e4d3631fc

Change-Id: I5207a13fa2997cad393ec60d5f0cfb93eecbde16

6 years agoMerge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev
Soroosh Mariooryad [Thu, 24 Aug 2017 04:20:30 +0000 (04:20 +0000)]
Merge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev
am: f83b94aa0c

Change-Id: I72618b3a6e47661c6c690638db0ed7d7c1d8c08c

6 years agoMerge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 04:11:48 +0000 (04:11 +0000)]
Merge "Extending SearchFeatureProvider API to provide timeout" into oc-mr1-dev

6 years agoMerge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev...
Stephen Chen [Thu, 24 Aug 2017 02:17:10 +0000 (02:17 +0000)]
Merge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev am: a78eeb2d61
am: 31deb9a766

Change-Id: Ibd4f9959af5c5c1bde51ce1b9285531880301daa

6 years agoMerge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev
Stephen Chen [Thu, 24 Aug 2017 01:58:48 +0000 (01:58 +0000)]
Merge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev
am: a78eeb2d61

Change-Id: Ide908ed189c110c272cd5535f9fbc99705b8555a

6 years agoMerge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 01:43:58 +0000 (01:43 +0000)]
Merge "Add a "Add Network" button to SavedAccessPointsWifiSettings" into oc-mr1-dev

6 years agoMerge "Fix null pointer exception when logging suggestions." into oc-mr1-dev am:...
Doris Ling [Thu, 24 Aug 2017 01:11:22 +0000 (01:11 +0000)]
Merge "Fix null pointer exception when logging suggestions." into oc-mr1-dev am: d94fbbc325
am: c2eab36c7c

Change-Id: I09efabd3f8a4a7358f2b6a6d52a15fdd75ca7672

6 years agoMerge "Fix null pointer exception when logging suggestions." into oc-mr1-dev
Doris Ling [Thu, 24 Aug 2017 00:48:20 +0000 (00:48 +0000)]
Merge "Fix null pointer exception when logging suggestions." into oc-mr1-dev
am: d94fbbc325

Change-Id: I4c827d601b8ed20934c4671d5a7de29a3001bd0b

6 years agoMerge "Fix null pointer exception when logging suggestions." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 00:36:43 +0000 (00:36 +0000)]
Merge "Fix null pointer exception when logging suggestions." into oc-mr1-dev

6 years agoMerge "Set preference invisible when no anomaly" into oc-mr1-dev am: 0e800978bf
jackqdyulei [Wed, 23 Aug 2017 20:24:21 +0000 (20:24 +0000)]
Merge "Set preference invisible when no anomaly" into oc-mr1-dev am: 0e800978bf
am: fb13cac59f

Change-Id: I9a851fc886abb1489b8133468aed2c0548ffbd2d

6 years agoMerge "Update strings when shortString is true" into oc-mr1-dev am: d0066e3875
jackqdyulei [Wed, 23 Aug 2017 20:15:19 +0000 (20:15 +0000)]
Merge "Update strings when shortString is true" into oc-mr1-dev am: d0066e3875
am: 02e4c7d809

Change-Id: I031e65952befe7507ce09701af02e1131fe278cf

6 years agoMerge "Set preference invisible when no anomaly" into oc-mr1-dev
jackqdyulei [Wed, 23 Aug 2017 20:11:28 +0000 (20:11 +0000)]
Merge "Set preference invisible when no anomaly" into oc-mr1-dev
am: 0e800978bf

Change-Id: Icf0931c60d62fd9e18bc3cfe2853e965403e7740

6 years agoMerge "Update strings when shortString is true" into oc-mr1-dev
jackqdyulei [Wed, 23 Aug 2017 20:01:51 +0000 (20:01 +0000)]
Merge "Update strings when shortString is true" into oc-mr1-dev
am: d0066e3875

Change-Id: Ifce24bf0b5df7b912d3859d6aacdb35a90ce9c29

6 years agoMerge "Set preference invisible when no anomaly" into oc-mr1-dev
TreeHugger Robot [Wed, 23 Aug 2017 19:57:41 +0000 (19:57 +0000)]
Merge "Set preference invisible when no anomaly" into oc-mr1-dev

6 years agoMerge "Update strings when shortString is true" into oc-mr1-dev
TreeHugger Robot [Wed, 23 Aug 2017 19:38:40 +0000 (19:38 +0000)]
Merge "Update strings when shortString is true" into oc-mr1-dev

6 years agoMerge "Fix to show correct value for data limit setting"
TreeHugger Robot [Wed, 23 Aug 2017 19:12:04 +0000 (19:12 +0000)]
Merge "Fix to show correct value for data limit setting"

6 years agoSet preference invisible when no anomaly
jackqdyulei [Tue, 15 Aug 2017 18:01:07 +0000 (11:01 -0700)]
Set preference invisible when no anomaly

In the previous code path, we will create an invisible anomaly preference
and update it to visible if it contains any anomaly. However, when
anomaly is dismissed we don't reset preference to invisible.

So, this cl adds code to set it to invisible explicitly when anomaly list
is empty.

Bug: 64617126
Test: RunSettingsRoboTests
Change-Id: Ie7a3498da91243f05f4c47fb1cc5f67b177d04b1

6 years agoMerge "Stop display "Cell network" item for tablet" into oc-mr1-dev am: a097d68c4b
jackqdyulei [Wed, 23 Aug 2017 03:52:51 +0000 (03:52 +0000)]
Merge "Stop display "Cell network" item for tablet" into oc-mr1-dev am: a097d68c4b
am: 92597b0e26

Change-Id: I68323c887d22b0f0df9801adcba436629503270b

6 years agoMerge "Pattern entry views should be consistent" into oc-mr1-dev am: a6b67d15eb
Kevin Chyn [Wed, 23 Aug 2017 03:52:09 +0000 (03:52 +0000)]
Merge "Pattern entry views should be consistent" into oc-mr1-dev am: a6b67d15eb
am: d328b9051c

Change-Id: Ie2d3605d0cf6d8057981d48bdabb0e67645e0a34

6 years agoMerge "Change to not cache user entered apn type as user may change it." am: 54eeafa0...
Amit Mahajan [Wed, 23 Aug 2017 03:51:20 +0000 (03:51 +0000)]
Merge "Change to not cache user entered apn type as user may change it." am: 54eeafa052 am: b2498bc422 am: f70f53473a am: 4bb56f5282
am: 6afddc2308

Change-Id: I8ca45f06f6c37a7deadf4dbc91f0e4bc06ba04c9

6 years agoMerge "Stop display "Cell network" item for tablet" into oc-mr1-dev
jackqdyulei [Wed, 23 Aug 2017 02:06:12 +0000 (02:06 +0000)]
Merge "Stop display "Cell network" item for tablet" into oc-mr1-dev
am: a097d68c4b

Change-Id: Ib020db1315c7e16f86bc076859187f75d79c87ee

6 years agoMerge "Pattern entry views should be consistent" into oc-mr1-dev
Kevin Chyn [Wed, 23 Aug 2017 01:43:12 +0000 (01:43 +0000)]
Merge "Pattern entry views should be consistent" into oc-mr1-dev
am: a6b67d15eb

Change-Id: Icb5ec09a66aadf48a81f33d57aacbb52d05f9c2f

6 years agoMerge "Stop display "Cell network" item for tablet" into oc-mr1-dev
TreeHugger Robot [Wed, 23 Aug 2017 01:42:42 +0000 (01:42 +0000)]
Merge "Stop display "Cell network" item for tablet" into oc-mr1-dev

6 years agoFix to show correct value for data limit setting
Steven Timotius [Wed, 23 Aug 2017 00:47:12 +0000 (17:47 -0700)]
Fix to show correct value for data limit setting

Bug: 64901297
Test: Manually set a value for data limit in Settings, verify text is correct
Change-Id: Ieec3ce39b55754b54caefd2be923afe9883682b1

6 years agoMerge changes from topic "Read dun APNs from apn db" am: f9390ce1fb am: b87acf6837...
TreeHugger Robot [Wed, 23 Aug 2017 00:47:03 +0000 (00:47 +0000)]
Merge changes from topic "Read dun APNs from apn db" am: f9390ce1fb am: b87acf6837 am: a81a339c1d  -s ours am: a211db7af3
am: 1c7988b11b

Change-Id: I096036c643f417655b98283371acafeab43bd25f

6 years agoMerge "Pattern entry views should be consistent" into oc-mr1-dev
TreeHugger Robot [Wed, 23 Aug 2017 00:24:13 +0000 (00:24 +0000)]
Merge "Pattern entry views should be consistent" into oc-mr1-dev

6 years agoMerge "Change to not cache user entered apn type as user may change it." am: 54eeafa0...
Amit Mahajan [Wed, 23 Aug 2017 00:07:47 +0000 (00:07 +0000)]
Merge "Change to not cache user entered apn type as user may change it." am: 54eeafa052 am: b2498bc422 am: f70f53473a
am: 4bb56f5282

Change-Id: I1862129b9ec0e2c20981586cf29c672f30c2912f

6 years agoMerge changes from topic "Read dun APNs from apn db" am: f9390ce1fb am: b87acf6837...
TreeHugger Robot [Tue, 22 Aug 2017 23:48:07 +0000 (23:48 +0000)]
Merge changes from topic "Read dun APNs from apn db" am: f9390ce1fb am: b87acf6837 am: a81a339c1d  -s ours
am: a211db7af3

Change-Id: Icf1a718d443c1f72d1ddcd35c565fd0afa6c6222

6 years agoMerge "Change to not cache user entered apn type as user may change it." am: 54eeafa0...
Amit Mahajan [Tue, 22 Aug 2017 23:47:07 +0000 (23:47 +0000)]
Merge "Change to not cache user entered apn type as user may change it." am: 54eeafa052 am: b2498bc422
am: f70f53473a

Change-Id: Id3fd20f5156e233b4e0fe41c6a30f89f08b038db

6 years agoMerge changes from topic "Read dun APNs from apn db" am: f9390ce1fb am: b87acf6837
TreeHugger Robot [Tue, 22 Aug 2017 23:31:10 +0000 (23:31 +0000)]
Merge changes from topic "Read dun APNs from apn db" am: f9390ce1fb am: b87acf6837
am: a81a339c1d  -s ours

Change-Id: Ic593111485af94e822cf2644d7e5bf5348287f1a

6 years agoMerge "Change to not cache user entered apn type as user may change it." am: 54eeafa052
Amit Mahajan [Tue, 22 Aug 2017 21:19:52 +0000 (21:19 +0000)]
Merge "Change to not cache user entered apn type as user may change it." am: 54eeafa052
am: b2498bc422

Change-Id: I78ab5bbe68ada65f8691cda55fc6b1db0f708aac

6 years agoMerge "Change to not cache user entered apn type as user may change it."
Amit Mahajan [Tue, 22 Aug 2017 21:09:12 +0000 (21:09 +0000)]
Merge "Change to not cache user entered apn type as user may change it."
am: 54eeafa052

Change-Id: I33e32ee2d4a9e09f1fb6c383eb7e1d7e8a081c2c

6 years agoMerge "Change to not cache user entered apn type as user may change it."
Treehugger Robot [Tue, 22 Aug 2017 21:02:03 +0000 (21:02 +0000)]
Merge "Change to not cache user entered apn type as user may change it."

6 years agoMerge changes from topic "Read dun APNs from apn db" am: f9390ce1fb
TreeHugger Robot [Tue, 22 Aug 2017 20:20:19 +0000 (20:20 +0000)]
Merge changes from topic "Read dun APNs from apn db" am: f9390ce1fb
am: b87acf6837

Change-Id: I477a4d7bc1002f01c610f232778067e3beb9c9cf

6 years agoMerge changes from topic "Read dun APNs from apn db"
TreeHugger Robot [Tue, 22 Aug 2017 20:03:24 +0000 (20:03 +0000)]
Merge changes from topic "Read dun APNs from apn db"
am: f9390ce1fb

Change-Id: I1dd0a753bb08f7db6f36a7162b9f7f81a1c0406c

6 years agoMerge changes from topic "Read dun APNs from apn db"
Treehugger Robot [Tue, 22 Aug 2017 19:52:21 +0000 (19:52 +0000)]
Merge changes from topic "Read dun APNs from apn db"

* changes:
  Change empty apn type in user entered APN to non-read-only types.
  Check for null mReadOnlyApnTypes.
  Disallow adding/editing dun APNs unless allowed by carrier.

6 years agoChange to not cache user entered apn type as user may change it.
Amit Mahajan [Wed, 2 Aug 2017 16:59:03 +0000 (09:59 -0700)]
Change to not cache user entered apn type as user may change it.

Test: manual
Bug: 64263412
Change-Id: Idc49109926e123eddec7f6553f3c493b1ed22212

6 years agoMerge "A separate entry for work profile CA cert" into oc-mr1-dev am: e040ef4a39
Tony Mak [Tue, 22 Aug 2017 18:24:05 +0000 (18:24 +0000)]
Merge "A separate entry for work profile CA cert" into oc-mr1-dev am: e040ef4a39
am: 237e49a7c9

Change-Id: I2b90fdcd5a6c88600077a0b09e693b006bf53177

6 years agoMerge "A separate entry for work profile CA cert" into oc-mr1-dev
Tony Mak [Tue, 22 Aug 2017 18:21:35 +0000 (18:21 +0000)]
Merge "A separate entry for work profile CA cert" into oc-mr1-dev
am: e040ef4a39

Change-Id: I0774c8e5ebf959b5f6fb759566815bde966c0dfd

6 years agoChange empty apn type in user entered APN to non-read-only types.
TreeHugger Robot [Mon, 19 Jun 2017 23:21:12 +0000 (23:21 +0000)]
Change empty apn type in user entered APN to non-read-only types.

Test: Manually added APN and verified read-only and non-wildcardable
types are not included
Bug: 38186417

Change-Id: I07bcf1c2a950a1257446f0a7beb602fed79423b3

6 years agoCheck for null mReadOnlyApnTypes.
Amit Mahajan [Thu, 1 Jun 2017 23:39:40 +0000 (16:39 -0700)]
Check for null mReadOnlyApnTypes.

Test: none
Bug: 62247121
Change-Id: I6866bf2df8d4cb46dd75b94ab88c1e62e65ddda7

6 years agoDisallow adding/editing dun APNs unless allowed by carrier.
Amit Mahajan [Wed, 10 May 2017 05:31:13 +0000 (22:31 -0700)]
Disallow adding/editing dun APNs unless allowed by carrier.

Test: WIP
Bug: 38186417
Change-Id: If1cc34ad979659a56a3886da2a02fdbf642739ac

6 years agoMerge "A separate entry for work profile CA cert" into oc-mr1-dev
TreeHugger Robot [Tue, 22 Aug 2017 18:04:00 +0000 (18:04 +0000)]
Merge "A separate entry for work profile CA cert" into oc-mr1-dev

6 years agoExtending SearchFeatureProvider API to provide timeout
Soroosh Mariooryad [Tue, 8 Aug 2017 18:21:32 +0000 (11:21 -0700)]
Extending SearchFeatureProvider API to provide timeout

Bug: 38197948
Test: RunSettingsRoboTests

Change-Id: I5b04085ba93061dafe8977b42ebe5092bc9a9d09

6 years agoA separate entry for work profile CA cert
Tony Mak [Fri, 18 Aug 2017 10:08:20 +0000 (11:08 +0100)]
A separate entry for work profile CA cert

We mixed both primary and work profile CA certs into single entry
previously which is not aligned with the CTS requirement.
Separate them from now.

Test: m -j RoboSettingsTest
Test: Run related manual test in CtsVerifier

Bug: 64567417

Change-Id: Iaff2d9f25ef15b96c11727e7075bdae8e90ec8ce

6 years agoPattern entry views should be consistent
Kevin Chyn [Tue, 22 Aug 2017 00:24:52 +0000 (17:24 -0700)]
Pattern entry views should be consistent

This change makes confirm_pattern consistent with choose_pattern

Fixes: 27290562

Test: manual
Change-Id: Id56492df71624552c8362f648756ba64bf908965

6 years agoMerge "Set the bidi flags on Paints in DonutView" into oc-mr1-dev am: 0f5fadcb0e
Roozbeh Pournader [Mon, 21 Aug 2017 17:58:36 +0000 (17:58 +0000)]
Merge "Set the bidi flags on Paints in DonutView" into oc-mr1-dev am: 0f5fadcb0e
am: cab12d6afa

Change-Id: Ib25d07629d5af5548816b61ba62991c1903d6ad8

6 years agoMerge "Set the bidi flags on Paints in DonutView" into oc-mr1-dev
Roozbeh Pournader [Mon, 21 Aug 2017 17:50:07 +0000 (17:50 +0000)]
Merge "Set the bidi flags on Paints in DonutView" into oc-mr1-dev
am: 0f5fadcb0e

Change-Id: I3482ba65bb5118af2f7eda4b3f07c5ea21caa36e

6 years agoMerge "Set the bidi flags on Paints in DonutView" into oc-mr1-dev
TreeHugger Robot [Mon, 21 Aug 2017 17:32:25 +0000 (17:32 +0000)]
Merge "Set the bidi flags on Paints in DonutView" into oc-mr1-dev

6 years agoMerge "Clear "Wrong pattern" prompt automatically." into oc-mr1-dev am: 1d6cec8ca2
Charles He [Mon, 21 Aug 2017 16:17:52 +0000 (16:17 +0000)]
Merge "Clear "Wrong pattern" prompt automatically." into oc-mr1-dev am: 1d6cec8ca2
am: 59bc90954b

Change-Id: I0df8958420b72cbcf135d2aad5c095e3c10e1e06

6 years agoMerge "Clear "Wrong pattern" prompt automatically." into oc-mr1-dev
Charles He [Mon, 21 Aug 2017 16:12:50 +0000 (16:12 +0000)]
Merge "Clear "Wrong pattern" prompt automatically." into oc-mr1-dev
am: 1d6cec8ca2

Change-Id: I6859c9a8b27358e1c35ca16948ff6e52ba229f80

6 years agoMerge "Clear "Wrong pattern" prompt automatically." into oc-mr1-dev
Charles He [Mon, 21 Aug 2017 16:04:38 +0000 (16:04 +0000)]
Merge "Clear "Wrong pattern" prompt automatically." into oc-mr1-dev

6 years agoSet the bidi flags on Paints in DonutView
Roozbeh Pournader [Thu, 17 Aug 2017 23:07:52 +0000 (16:07 -0700)]
Set the bidi flags on Paints in DonutView

Previously, DonutView used Canvas.drawText with a Paint with default
bidi directions, which is LTR. This meant that even in RTL locales,
text was displayed assuming the direction of the paragraph the text
was appearing in was LTR. This caused an incorrect display of Arabic
percentages.

Now we set the Paint bidiFlags according to the Locale's direction.

Change-Id: Ic10228b8a23dc49de60246c37adfbaf7f8fd4e9e
Fixes: 63767043
Test: Manual (tested in ar-EG, ar-MA, fa-IR, ur-PK, and he-IL locales)

6 years agoMerge "Temporarily turn off Settings CodeInspection test"
TreeHugger Robot [Fri, 18 Aug 2017 22:46:31 +0000 (22:46 +0000)]
Merge "Temporarily turn off Settings CodeInspection test"

6 years agoTemporarily turn off Settings CodeInspection test
Antony Sargent [Fri, 18 Aug 2017 20:58:41 +0000 (13:58 -0700)]
Temporarily turn off Settings CodeInspection test

Something is causing our ClassScanner to find 0 classes in the
com.android.settings class, which causes the CodeInspection test to
fail. This CL temporarily disables these tests to get the tree green
while we further investigate the root cause of the problem.

Bug: 64840107
Test: make RunSettingsRoboTests should succeed
Change-Id: I65485b41b161c2d54227ab179675bf9e3a23bab9

6 years agoMerge "Ensure a11y ids for LabeledSeekBar are in bounds" into oc-mr1-dev am: 6c9a1262be
Phil Weaver [Fri, 18 Aug 2017 20:56:18 +0000 (20:56 +0000)]
Merge "Ensure a11y ids for LabeledSeekBar are in bounds" into oc-mr1-dev am: 6c9a1262be
am: 9e75a52c45

Change-Id: I072a5e9253877af393ead487f7c1cae849ced441

6 years agoMerge "Ensure a11y ids for LabeledSeekBar are in bounds" into oc-mr1-dev
Phil Weaver [Fri, 18 Aug 2017 20:41:57 +0000 (20:41 +0000)]
Merge "Ensure a11y ids for LabeledSeekBar are in bounds" into oc-mr1-dev
am: 6c9a1262be

Change-Id: Iecdcc2b66a665b86be2f9fd0686619e758e2b7f4

6 years agoMerge "Ensure a11y ids for LabeledSeekBar are in bounds" into oc-mr1-dev
Phil Weaver [Fri, 18 Aug 2017 20:20:47 +0000 (20:20 +0000)]
Merge "Ensure a11y ids for LabeledSeekBar are in bounds" into oc-mr1-dev

6 years agoClear "Wrong pattern" prompt automatically.
Charles He [Fri, 18 Aug 2017 16:35:27 +0000 (17:35 +0100)]
Clear "Wrong pattern" prompt automatically.

When the user enters a wrong pattern/pin/password, a "Wrong
pattern/pin/password" text shows up on ConfirmLockPattern or
ConfirmLockPassword screen. In ConfirmLockPassword, it disappears
automatically after 3 seconds, whereas it doesn't in ConfirmLockPattern.

In this change, we make the prompt in ConfirmLockPattern disappear
automatically as well.

Bug: 64781905
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I53a25576413671ced4197064d51fbcc397733265

6 years agoMerge "Null-pointer check when updating name of ZenRule." into oc-mr1-dev am: 268c6c6ca6
Beverly [Fri, 18 Aug 2017 14:19:20 +0000 (14:19 +0000)]
Merge "Null-pointer check when updating name of ZenRule." into oc-mr1-dev am: 268c6c6ca6
am: 7ba9e9f849

Change-Id: If4c8fa69fcc6b7be28a41ef8d51ffa463af19741

6 years agoMerge "Null-pointer check when updating name of ZenRule." into oc-mr1-dev
Beverly [Fri, 18 Aug 2017 14:13:20 +0000 (14:13 +0000)]
Merge "Null-pointer check when updating name of ZenRule." into oc-mr1-dev
am: 268c6c6ca6

Change-Id: Ie87db0cde5fe606c31d4cfd3540adafdd98147ac

6 years agoMerge "Null-pointer check when updating name of ZenRule." into oc-mr1-dev
TreeHugger Robot [Fri, 18 Aug 2017 14:08:24 +0000 (14:08 +0000)]
Merge "Null-pointer check when updating name of ZenRule." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE am: 4ced4787ce -s ours am: 5b9b88cc5b -s ours...
Bill Yi [Fri, 18 Aug 2017 02:41:25 +0000 (02:41 +0000)]
Import translations. DO NOT MERGE am: 4ced4787ce  -s ours am: 5b9b88cc5b  -s ours am: 95a797f5fc  -s ours
am: 2d9251f32f  -s ours

Change-Id: I0fe4a487dd73db0ab27455b6744f0e5de2ee763d

6 years agoImport translations. DO NOT MERGE am: 4ced4787ce -s ours am: 5b9b88cc5b -s ours
Bill Yi [Fri, 18 Aug 2017 01:55:29 +0000 (01:55 +0000)]
Import translations. DO NOT MERGE am: 4ced4787ce  -s ours am: 5b9b88cc5b  -s ours
am: 95a797f5fc  -s ours

Change-Id: I2c7b0637f98ffaebbd2dd80e582e47078d3c28b4

6 years agoImport translations. DO NOT MERGE am: 4ced4787ce -s ours
Bill Yi [Fri, 18 Aug 2017 01:50:29 +0000 (01:50 +0000)]
Import translations. DO NOT MERGE am: 4ced4787ce  -s ours
am: 5b9b88cc5b  -s ours

Change-Id: I40b762159141b73056cc04ceb18e084d49e53723

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 18 Aug 2017 01:45:26 +0000 (01:45 +0000)]
Import translations. DO NOT MERGE
am: 4ced4787ce  -s ours

Change-Id: Ie0c11be879fc1d31d8053de2b73f578143df7d7f

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 17 Aug 2017 23:57:35 +0000 (16:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64086495
Change-Id: I4e5c4860eae1b41fea7a34a88b53630d86745e8e

6 years agoAdd a "Add Network" button to SavedAccessPointsWifiSettings
Stephen Chen [Fri, 11 Aug 2017 20:09:35 +0000 (13:09 -0700)]
Add a "Add Network" button to SavedAccessPointsWifiSettings

Bug: 36719359
Test: runtest --path
packages/apps/Settings/tests/unit/src/com/android/settings/wifi/SavedNetworkSettingsTest.java
Test: Open saved networks from WifiSettings. Ensure that exiting and
resuming the activity keeps the "Add Network" button on the bottom of
the network list. This is tested through the cases where networks are
forgotten/saved before resuming, and that pausing/resuming when the dialog
is open or closed does not affect the result.

Change-Id: Ib719a1f6b9468c0f8f44470eeed9144904672cf1

6 years agoMerge "Index TTS-Settings and dedupe TTS-engine in search result."
TreeHugger Robot [Thu, 17 Aug 2017 17:30:19 +0000 (17:30 +0000)]
Merge "Index TTS-Settings and dedupe TTS-engine in search result."

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 682ff5562c -s ours
Bill Yi [Thu, 17 Aug 2017 15:43:43 +0000 (15:43 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 682ff5562c  -s ours
am: 7189b42b4e  -s ours

Change-Id: I75bdc4b95f5f693ac00deecd7a4f729e01b711a9

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Thu, 17 Aug 2017 15:40:43 +0000 (15:40 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 682ff5562c  -s ours

Change-Id: I862ac0ee9e44ab52838a797892d5cfe28a576a15

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 17 Aug 2017 15:33:39 +0000 (15:33 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Suppress some search results" into oc-mr1-dev am: f51b4a580f
Fan Zhang [Thu, 17 Aug 2017 07:18:10 +0000 (07:18 +0000)]
Merge "Suppress some search results" into oc-mr1-dev am: f51b4a580f
am: f8817000ac

Change-Id: I5e1d4fa050541e2ccc7b1d4c6c5edf63802ba3de

6 years agoMerge "Add fingerprint illustration image" into oc-mr1-dev am: 89c2adf420
Maurice Lam [Thu, 17 Aug 2017 07:16:24 +0000 (07:16 +0000)]
Merge "Add fingerprint illustration image" into oc-mr1-dev am: 89c2adf420
am: 1b6307a9cc

Change-Id: Icb102ad71236e6f71e5994306da6c84da461d2fc

6 years agoMerge "Fix rotation bug in Bluetooth pairing PIN dialog" into oc-mr1-dev am: 53a77a2452
Antony Sargent [Thu, 17 Aug 2017 07:15:24 +0000 (07:15 +0000)]
Merge "Fix rotation bug in Bluetooth pairing PIN dialog" into oc-mr1-dev am: 53a77a2452
am: 811b25ac2b

Change-Id: Ifa726d167f3e352f0993aa12f4d3c11089ae03f8

6 years agoMerge "Nfc Payment Preference check if the dialog is non-null before dismissing"...
Ruchi Kandoi [Thu, 17 Aug 2017 07:14:28 +0000 (07:14 +0000)]
Merge "Nfc Payment Preference check if the dialog is non-null before dismissing" into oc-mr1-dev am: 7a5e42f3db
am: 1030cf5ad4

Change-Id: Icf4fd8130e053e2b90561c5462d3f94714ac6ed5

6 years agoMerge "Fix bad string reference" into oc-mr1-dev am: f4716e89c0
Maurice Lam [Thu, 17 Aug 2017 07:13:41 +0000 (07:13 +0000)]
Merge "Fix bad string reference" into oc-mr1-dev am: f4716e89c0
am: f7a818345d

Change-Id: I3c9bb76c5c986d58e2b91ae25cdb2a7333d78249

6 years agoMerge "Remove gibberish summary in search when query is "lock"" into oc-mr1-dev am...
Fan Zhang [Thu, 17 Aug 2017 07:12:51 +0000 (07:12 +0000)]
Merge "Remove gibberish summary in search when query is "lock"" into oc-mr1-dev am: 9a03b951d2
am: 5c15a79fa4

Change-Id: I28d8eb7ee38102dd74b5b307f45d17ce77476878

6 years agoMerge "Suppress some search results" into oc-mr1-dev
Fan Zhang [Thu, 17 Aug 2017 01:29:44 +0000 (01:29 +0000)]
Merge "Suppress some search results" into oc-mr1-dev
am: f51b4a580f

Change-Id: Id8f2ae517afbfef10bce9e6811178b2772a56f07

6 years agoMerge "Add fingerprint illustration image" into oc-mr1-dev
Maurice Lam [Thu, 17 Aug 2017 01:23:19 +0000 (01:23 +0000)]
Merge "Add fingerprint illustration image" into oc-mr1-dev
am: 89c2adf420

Change-Id: I44edca5a3310e476dd68e25e0e16560bb5a31b5f

6 years agoMerge "Fix rotation bug in Bluetooth pairing PIN dialog" into oc-mr1-dev
Antony Sargent [Thu, 17 Aug 2017 01:22:27 +0000 (01:22 +0000)]
Merge "Fix rotation bug in Bluetooth pairing PIN dialog" into oc-mr1-dev
am: 53a77a2452

Change-Id: I5d750adc4623eacf704a12577b34f3434108b28f

6 years agoMerge "Nfc Payment Preference check if the dialog is non-null before dismissing"...
Ruchi Kandoi [Thu, 17 Aug 2017 01:21:51 +0000 (01:21 +0000)]
Merge "Nfc Payment Preference check if the dialog is non-null before dismissing" into oc-mr1-dev
am: 7a5e42f3db

Change-Id: Ib4477e392d4f7fd2d647ddaef3088be934d31210

6 years agoMerge "Fix bad string reference" into oc-mr1-dev
Maurice Lam [Thu, 17 Aug 2017 01:21:10 +0000 (01:21 +0000)]
Merge "Fix bad string reference" into oc-mr1-dev
am: f4716e89c0

Change-Id: I8f0a632761f30aff990dad51cff99f0a7907b94c

6 years agoMerge "Suppress some search results" into oc-mr1-dev
TreeHugger Robot [Thu, 17 Aug 2017 01:20:42 +0000 (01:20 +0000)]
Merge "Suppress some search results" into oc-mr1-dev

6 years agoMerge "Remove gibberish summary in search when query is "lock"" into oc-mr1-dev
Fan Zhang [Thu, 17 Aug 2017 01:20:19 +0000 (01:20 +0000)]
Merge "Remove gibberish summary in search when query is "lock"" into oc-mr1-dev
am: 9a03b951d2

Change-Id: If754d6e11ef3d39d716b41a3219a5d30c48fc218