OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoMerge "Fix typo in fingerprint string"
Maurice Lam [Fri, 25 Aug 2017 00:31:02 +0000 (00:31 +0000)]
Merge "Fix typo in fingerprint string"

6 years agoMerge "Add battery indicator to bluetooth icon"
Lei Yu [Thu, 24 Aug 2017 23:39:35 +0000 (23:39 +0000)]
Merge "Add battery indicator to bluetooth icon"

6 years agoMerge "Move the Robolectric shadow config up." into oc-mr1-dev am: efcc8be05c
Daniel Nishi [Thu, 24 Aug 2017 22:15:39 +0000 (22:15 +0000)]
Merge "Move the Robolectric shadow config up." into oc-mr1-dev am: efcc8be05c
am: 5f97c05f1c

Change-Id: I46c4a921a25ef17197e90038ff71a982a192aae7

6 years agoMerge "Move the Robolectric shadow config up." into oc-mr1-dev
Daniel Nishi [Thu, 24 Aug 2017 21:24:31 +0000 (21:24 +0000)]
Merge "Move the Robolectric shadow config up." into oc-mr1-dev
am: efcc8be05c

Change-Id: Ie816d276fe196452f38c88ca1f944dd040f19321

6 years agoAdd battery indicator to bluetooth icon
jackqdyulei [Wed, 9 Aug 2017 16:57:27 +0000 (09:57 -0700)]
Add battery indicator to bluetooth icon

This cl change util method in bluetooth package to return
drawable instead of resId.

If the bt device has battery level, then method return customized
layerDrawable, otherwise return a simple drawable created from
resId.

Bug: 63393322
Test: RunSettingsRoboTests

Change-Id: Ib21822eafda0e8570212ce5cb070478e4f4876a2

6 years agoFix typo in fingerprint string
Maurice Lam [Thu, 24 Aug 2017 19:39:38 +0000 (12:39 -0700)]
Fix typo in fingerprint string

Test: Manual
Bug: 65017285
Change-Id: I3664cc4b888c4c573b439f06f1ef9983d0470674

6 years agoMerge "Move the Robolectric shadow config up." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 19:27:23 +0000 (19:27 +0000)]
Merge "Move the Robolectric shadow config up." into oc-mr1-dev

6 years agoMerge "Use fallback linespacing in ChartSweepView and ChartGridView"
Roozbeh Pournader [Thu, 24 Aug 2017 19:24:01 +0000 (19:24 +0000)]
Merge "Use fallback linespacing in ChartSweepView and ChartGridView"

6 years agoMerge "Add UI components for bluetooth anomaly" into oc-mr1-dev am: 3949ed53a9
Lei Yu [Thu, 24 Aug 2017 17:46:29 +0000 (17:46 +0000)]
Merge "Add UI components for bluetooth anomaly" into oc-mr1-dev am: 3949ed53a9
am: a9eb0eb4bc

Change-Id: Ia427fdbec8afce9aa0133e182bde39757345e132

6 years agoMerge "Set up anomaly test app in settings" into oc-mr1-dev am: 8cac6b07bc
Lei Yu [Thu, 24 Aug 2017 17:45:52 +0000 (17:45 +0000)]
Merge "Set up anomaly test app in settings" into oc-mr1-dev am: 8cac6b07bc
am: c564686ec8

Change-Id: Id6c2f70cd547fad814e2bbf344f9e8d64fc8f64d

6 years agoMerge "Add UI components for bluetooth anomaly" into oc-mr1-dev
Lei Yu [Thu, 24 Aug 2017 17:42:09 +0000 (17:42 +0000)]
Merge "Add UI components for bluetooth anomaly" into oc-mr1-dev
am: 3949ed53a9

Change-Id: I2cfae5ecff424ff042e0a0b29a610908563b8348

6 years agoMerge "Set up anomaly test app in settings" into oc-mr1-dev
Lei Yu [Thu, 24 Aug 2017 17:41:25 +0000 (17:41 +0000)]
Merge "Set up anomaly test app in settings" into oc-mr1-dev
am: 8cac6b07bc

Change-Id: I5be8aab32f4918814ab2273f608b38d4403b24d0

6 years agoMerge "Add UI components for bluetooth anomaly" into oc-mr1-dev
Lei Yu [Thu, 24 Aug 2017 17:35:15 +0000 (17:35 +0000)]
Merge "Add UI components for bluetooth anomaly" into oc-mr1-dev

6 years agoMerge "Set up anomaly test app in settings" into oc-mr1-dev
Lei Yu [Thu, 24 Aug 2017 17:34:56 +0000 (17:34 +0000)]
Merge "Set up anomaly test app in settings" into oc-mr1-dev

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 agoAdd UI components for bluetooth anomaly
jackqdyulei [Mon, 14 Aug 2017 23:24:50 +0000 (16:24 -0700)]
Add UI components for bluetooth anomaly

Bug: 62602318
Test: make -j40 AnomalyTester
Change-Id: I4584e6ada784d8d87558a5b30cf55e2de33d443a

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 agoSet up anomaly test app in settings
jackqdyulei [Mon, 14 Aug 2017 20:54:22 +0000 (13:54 -0700)]
Set up anomaly test app in settings

This cl set up the basic android framework for anomly test app.
Anomaly test app has the similar architecture compared with
settings api tester.

1. Add Android.mk and AndroidManifest.xml
2. Add blank AnomalyActivity
3. Add related resource files.

Bug: 62602318
Test: make -j40 AnomalyTester
Change-Id: I1d59517c9c2d8d0b8e219e3a67dfae73ca5a968e

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 agoUse fallback linespacing in ChartSweepView and ChartGridView
Roozbeh Pournader [Tue, 22 Aug 2017 23:54:27 +0000 (16:54 -0700)]
Use fallback linespacing in ChartSweepView and ChartGridView

Bug: 28963299
Test: none
Change-Id: I249a3795fcbfbef14eac11b72220bb92f9690de6

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 agoMove the Robolectric shadow config up.
Daniel Nishi [Thu, 17 Aug 2017 21:34:05 +0000 (14:34 -0700)]
Move the Robolectric shadow config up.

In my testing, this reduces the runtime of the Robolectric Settings test
suite on my Z840 workstation from 440 seconds to 402 seconds on average.
By avoiding having a method-level Robolectric shadow import, we avoid
going down a code path which needs to add more shadows later in the
Robolectric execution.

Bug: 64808827
Test: Settings robotests still pass
Change-Id: I7b40d73b30306ae3f9759281afbd7f7266579e24

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