OSDN Git Service

android-x86/packages-apps-Settings.git
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: I5b3d3ae77cbda9a3badd40e678034f4ee157b7be

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 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 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 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
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
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 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
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 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
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
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
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 "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
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 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 "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
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

6 years agoMerge "Add fingerprint illustration image" into oc-mr1-dev
TreeHugger Robot [Thu, 17 Aug 2017 00:49:00 +0000 (00:49 +0000)]
Merge "Add fingerprint illustration image" into oc-mr1-dev

6 years agoMerge "Fix rotation bug in Bluetooth pairing PIN dialog" into oc-mr1-dev
TreeHugger Robot [Thu, 17 Aug 2017 00:38:40 +0000 (00:38 +0000)]
Merge "Fix rotation bug in Bluetooth pairing PIN dialog" into oc-mr1-dev

6 years agoMerge "Nfc Payment Preference check if the dialog is non-null before dismissing"...
TreeHugger Robot [Thu, 17 Aug 2017 00:32:40 +0000 (00:32 +0000)]
Merge "Nfc Payment Preference check if the dialog is non-null before dismissing" into oc-mr1-dev

6 years agoMerge "Fix bad string reference" into oc-mr1-dev
Maurice Lam [Wed, 16 Aug 2017 23:33:43 +0000 (23:33 +0000)]
Merge "Fix bad string reference" into oc-mr1-dev

6 years agoMerge "Remove gibberish summary in search when query is "lock"" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 22:57:24 +0000 (22:57 +0000)]
Merge "Remove gibberish summary in search when query is "lock"" into oc-mr1-dev

6 years agoFix null pointer exception when logging suggestions.
Doris Ling [Wed, 16 Aug 2017 19:40:01 +0000 (12:40 -0700)]
Fix null pointer exception when logging suggestions.

In monkey test, the suggestions list can become null. So, add check
for valid suggestions list before trying to iterate through the
suggestions.

Fixes: 64757618
Test: make RunSettingsRoboTests
Change-Id: Ib670808a4f222187b9cd53d7d939e71b5ce8dbae

6 years agoSuppress some search results
Fan Zhang [Fri, 11 Aug 2017 01:15:37 +0000 (18:15 -0700)]
Suppress some search results

Fixes: 62137086
Test: reindex search
Test: robotests
Change-Id: I12e873edade80e4c0007d10352fb037b3230c643

6 years agoFix rotation bug in Bluetooth pairing PIN dialog
Antony Sargent [Tue, 15 Aug 2017 16:31:31 +0000 (09:31 -0700)]
Fix rotation bug in Bluetooth pairing PIN dialog

BluetoothPairingDialogFragment has code that makes the OK button on the
dialog disabled until the user has entered at least one character into
the PIN field. However it didn't properly handle the case where the user
had entered some text and then rotated the screen - because it always
marked the OK button as disabled during onShow even if it already had
some content. This CL fixes that by looking at the text content and only
disabling the OK button if the content is empty.

Bug: 36514895
Test: make RunSettingsRoboTests
Change-Id: I4e8e70089a862e67b20ff614bbaa64fc2b641fd4

6 years agoRemove gibberish summary in search when query is "lock"
Fan Zhang [Wed, 16 Aug 2017 19:45:22 +0000 (12:45 -0700)]
Remove gibberish summary in search when query is "lock"

Fixes: 64165687
Test: visual for search
Test: rerun robotest for securitysettings
Change-Id: I5c44e351a767c7ce3037a81d0932d9bd6b59635e

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 21:44:04 +0000 (21:44 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours am: b4678ce1d2  -s ours am: 9a416573d7  -s ours
am: a5e4dd2b5e  -s ours

Change-Id: Ib3e70037756d54388ea19efa6ed7f17b04156cbd

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 21:43:05 +0000 (21:43 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours am: 28f6dd01bc  -s ours am: 8fe20711fa  -s ours
am: 7b59fe50a7  -s ours

Change-Id: I977732759c2e6935e71c2dba247b2a2393352c15

6 years agoUpdate strings when shortString is true
jackqdyulei [Wed, 16 Aug 2017 21:34:56 +0000 (14:34 -0700)]
Update strings when shortString is true

After b/64124535, battery strings in settings page use shortString
version. This cl updates the charging string in this situation to
match the mock.

Note that no matter whether we use shorString, the chargingLabel
should remain the same.

Bug: 64752046
Test: RunSettingsRoboTests
Change-Id: I4395d4660e212688cd560ca0b124acbd9c099cc9

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 21:42:10 +0000 (21:42 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours am: 0e22588ed0  -s ours am: bbe3047d1d  -s ours
am: 832dde9768  -s ours

Change-Id: Ia03490a922bbb07832e36ced78a53b889249a647

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 21:38:28 +0000 (21:38 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours am: b4678ce1d2  -s ours am: 9a416573d7  -s ours
am: 7d1286299e  -s ours

Change-Id: Ic87fffce35084c46b561c0d062742d31e12bbafc

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 21:37:34 +0000 (21:37 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours am: 28f6dd01bc  -s ours am: 8fe20711fa  -s ours
am: 1b3f6d0e47  -s ours

Change-Id: I4c2572f2631dfe51747967c30b664d91685c72f0

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 21:36:57 +0000 (21:36 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours am: 0e22588ed0  -s ours am: bbe3047d1d  -s ours
am: 3691da8b51  -s ours

Change-Id: I4ee423a6c5aa9e3a8ec2a302c630cb344dbf034a

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 21:36:04 +0000 (21:36 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours am: b4678ce1d2  -s ours am: d430178ba4  -s ours
am: e237bdb4e2  -s ours

Change-Id: Ida7b640695307c1af1e958c7ca8889457e347dc7

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 21:35:11 +0000 (21:35 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours am: 28f6dd01bc  -s ours am: c62f6f30bc  -s ours
am: c180be3468  -s ours

Change-Id: I8355b54dca629d528c899ebf9c241eaf4ee50014

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 21:33:51 +0000 (21:33 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours am: 0e22588ed0  -s ours am: 5575d285db  -s ours
am: 8024f41ec1  -s ours

Change-Id: Ic6deaf9e015e4f88156510ca8cccf27f9d115295

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 21:24:02 +0000 (21:24 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours am: b4678ce1d2  -s ours
am: 9a416573d7  -s ours

Change-Id: I2a81249795e44842ebe8ef3ff5f4aab62ff3e6cc

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 21:23:05 +0000 (21:23 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours am: 28f6dd01bc  -s ours
am: 8fe20711fa  -s ours

Change-Id: I3448fc6d16584807cefbcdca45be0efe022702c8

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 21:22:17 +0000 (21:22 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours am: 0e22588ed0  -s ours
am: bbe3047d1d  -s ours

Change-Id: I7233624570a758b4e7e8dfc6410401cfbde11df8

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 21:20:30 +0000 (21:20 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours am: b4678ce1d2  -s ours
am: 9a416573d7  -s ours

Change-Id: I5bad4c775a8bd9cb30c428006369335f9da8dd9f

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 21:19:30 +0000 (21:19 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours am: 28f6dd01bc  -s ours
am: 8fe20711fa  -s ours

Change-Id: I87f9269d525a63210c55b70e347a693fa8c65ed2

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 21:17:28 +0000 (21:17 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours am: 0e22588ed0  -s ours
am: bbe3047d1d  -s ours

Change-Id: If2bd687791fccfd3b5aea601053f6038be1d6577

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:51:19 +0000 (20:51 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours am: b4678ce1d2  -s ours
am: d430178ba4  -s ours

Change-Id: If72ef8b01ef6a90c4752710b5568eeea2bb63796

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:50:39 +0000 (20:50 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours am: 28f6dd01bc  -s ours
am: c62f6f30bc  -s ours

Change-Id: Iabba05d1d43a40d35e0ce198879d91410440d7b1

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:48:07 +0000 (20:48 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours am: 0e22588ed0  -s ours
am: 5575d285db  -s ours

Change-Id: I6f5163890c6a333d9c1dba9ed2c63c364acb6cce

6 years agoNfc Payment Preference check if the dialog is non-null before dismissing
Ruchi Kandoi [Wed, 16 Aug 2017 20:24:14 +0000 (13:24 -0700)]
Nfc Payment Preference check if the dialog is non-null before dismissing

Test: monkey test
Bug: 64758793
Change-Id: I3905096889b2dc6ef468afc76e9767f63b4163ad

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:42:38 +0000 (20:42 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours
am: b4678ce1d2  -s ours

Change-Id: I199cfbc0ec36904483c35aa9712ab471cf5b4ec2

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:41:48 +0000 (20:41 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours
am: 28f6dd01bc  -s ours

Change-Id: If16f17e144156b08dc9fea587178cad18dc370e7

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:40:59 +0000 (20:40 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours
am: 0e22588ed0  -s ours

Change-Id: I7243a50b7d64e1ee63d85e4ce5467217c76d7bce

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:39:42 +0000 (20:39 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours
am: b4678ce1d2  -s ours

Change-Id: I350b04feb64b26fddbf366cd31d42d30ef0e02aa

6 years agoFix bad string reference
Maurice Lam [Wed, 16 Aug 2017 20:39:12 +0000 (13:39 -0700)]
Fix bad string reference

The source string was removed but there are still references to it.
Updating the references as well in this CL.

Test: mma with ANDROID_AAPT_IGNORE on locale files
Bug: 64763091
Change-Id: I43ef63207e884cbaa92ff3853b0f1fd690cf05f8

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:38:24 +0000 (20:38 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours
am: 28f6dd01bc  -s ours

Change-Id: Ia95e462a6e007f0e87cfddb75b13f8ee7a89971a

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:37:36 +0000 (20:37 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours
am: 0e22588ed0  -s ours

Change-Id: I8025d40c5c1b3b6992d759a7f6a5355207236dff