OSDN Git Service

android-x86/packages-apps-Settings.git
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
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 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 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 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
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
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
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
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 "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
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: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: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
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 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
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
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 "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 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: 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 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 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: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:25:12 +0000 (20:25 +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

Change-Id: I949bed4c34aeea91e85eae01ffbf812e486ac5d8

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:24:28 +0000 (20:24 +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

Change-Id: I141ba4edaa9fa21b95d7f8d353764db26d9a5b6a

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:23:41 +0000 (20:23 +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

Change-Id: Id62e3af77aba546d3a83a8467dc60af88fbf6083

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:22:36 +0000 (20:22 +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

Change-Id: I28fb4049f4c3a51d163cc77b60358736d082604e

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:18:15 +0000 (20:18 +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

Change-Id: I487f45dcd45eecbc587af45bdc748c842d6414d6

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:17:34 +0000 (20:17 +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

Change-Id: If3e96fdcd076bfe522b32726d05bef5f5a605d6a

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:17:28 +0000 (20: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

Change-Id: I55000b3f1b300a833bb643816413a83d65ebedec

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:14:42 +0000 (20:14 +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

Change-Id: I53467a6c6802c65bf458afa8fd800954bc91f99b

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:10:37 +0000 (20:10 +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

Change-Id: Ic1b3450cc4d3cf70cf95b6f80e0b5fd82ff61446

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:09:35 +0000 (20:09 +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

Change-Id: I75623b15f15658930e459710fb46cc2f55d788e8

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:08:56 +0000 (20:08 +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

Change-Id: I3e042c60b170bf709b0848bc2746f0cba6afbbcf

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:06:04 +0000 (20:06 +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

Change-Id: I8afbb6a39eb1cffe0cafc94a4b3c98629afce27c

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:04:24 +0000 (20:04 +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

Change-Id: I12e7f9916aafaadb653e85c0af3de506b3a652a7

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:03:34 +0000 (20:03 +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

Change-Id: I6ab3c67db3726cd15ca3114b0edb41d0ae248a3f

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:02:33 +0000 (20:02 +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

Change-Id: If3daaffd53e0ee3743f6f4a1608c5114cfa498b7

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:59:04 +0000 (19:59 +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

Change-Id: I991cd251a7f54d16dff7df676aff5fed265a07d3

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:59:04 +0000 (19:59 +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

Change-Id: I050ec3b9ce32d4a91add1447bab7845163348485

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 19:55:14 +0000 (19:55 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours
am: 2e6cf5dcde  -s ours

Change-Id: I490c9f78edd2a1d87ba3b669ea24ac962b91cb61

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:55:02 +0000 (19:55 +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

Change-Id: Ib0587f73a715928275159027c09286127d063684

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:55:01 +0000 (19:55 +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

Change-Id: I953f903e7298541160ed8c17f274a832618c152e

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c4...
Suprabh Shukla [Wed, 16 Aug 2017 19:51:03 +0000 (19:51 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41 am: 1370eb3d52 am: 616c84ccb0  -s ours am: aedf7cdfdb  -s ours
am: f52c8ccbfc  -s ours

Change-Id: I432c3951bc7bd3a1aafca201dd9206dcfb33ceee

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:51:02 +0000 (19:51 +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

Change-Id: I2f06097aaaa7e312a0b066e2f92536968d31003f

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c4...
Suprabh Shukla [Wed, 16 Aug 2017 19:48:33 +0000 (19:48 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41 am: 1370eb3d52 am: 616c84ccb0  -s ours
am: aedf7cdfdb  -s ours

Change-Id: I95b94ed593f31067244d5d7bd795fe734cba971a

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:48:32 +0000 (19:48 +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

Change-Id: I31830a5e46544e1f939a05482f46a03970e4b197

6 years agoNull-pointer check when updating name of ZenRule.
Beverly [Wed, 16 Aug 2017 19:00:28 +0000 (15:00 -0400)]
Null-pointer check when updating name of ZenRule.

Test: manual, current tests pass
Fixes: 64758679
Change-Id: Ia94b1749afdc6db4780bd09a5794f4110d4d032d

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:47:06 +0000 (19:47 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours
am: 0dba51f9f0  -s ours

Change-Id: Ife5e67db0c3866b3bae77d1d0f476bc7f30bf389

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621
Suprabh Shukla [Wed, 16 Aug 2017 19:46:49 +0000 (19:46 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621
am: 72beaddfd4  -s ours

Change-Id: I10ef6e273e8fb369d86d01d441c1ae419fe3a5b1

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:44:31 +0000 (19:44 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours
am: 9acf640efd  -s ours

Change-Id: I3ad55685aaddb775a1991d5251fc01aa69c3a7f0

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours
am: 78a9d598f1  -s ours

Change-Id: Id94c32bb309dfe9808b30a19fbd42334f3f9f19b

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:40:32 +0000 (19:40 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours
am: 889036189b  -s ours

Change-Id: I594f94b86435f6e5f1d4f487b276ac42fef4f994

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c4...
Suprabh Shukla [Wed, 16 Aug 2017 19:40:30 +0000 (19:40 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41 am: 1370eb3d52
am: 616c84ccb0  -s ours

Change-Id: Ibb6e939c0511012a567baf5df3aafdb4da9198ef

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece
Suprabh Shukla [Wed, 16 Aug 2017 19:39:49 +0000 (19:39 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece
am: ccad4a3621

Change-Id: I3cfe350f7c6f3ded761681b8f4062e32e833d94f

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7
Suprabh Shukla [Wed, 16 Aug 2017 19:38:35 +0000 (19:38 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7
am: 93a9e9f7f2  -s ours

Change-Id: If5bfd68d2a899813edb2ab550d8a2c0ed2db8d63

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f
Suprabh Shukla [Wed, 16 Aug 2017 19:37:01 +0000 (19:37 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f
am: 24547155ea  -s ours

Change-Id: Ic61623b7affc9599126b915d5a0e2a1471a58ea2

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41
Suprabh Shukla [Wed, 16 Aug 2017 19:34:24 +0000 (19:34 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41
am: 1370eb3d52

Change-Id: Ifd670d7a6a673b49b2b0563b81a83fda20889126

6 years agoDisabling the activate button when paused am: af5d8b9b03
Suprabh Shukla [Wed, 16 Aug 2017 19:33:34 +0000 (19:33 +0000)]
Disabling the activate button when paused am: af5d8b9b03
am: 26f4aceece

Change-Id: If2a4dfdbe01e5bf1f2cfc6b2a61afc95f6f2addd

6 years agoDisabling the activate button when paused am: 9ffee0d534
Suprabh Shukla [Wed, 16 Aug 2017 19:33:30 +0000 (19:33 +0000)]
Disabling the activate button when paused am: 9ffee0d534
am: d27e28eab7

Change-Id: I975f6132333510ac6b40bf9683296885bdc54f05

6 years agoDisabling the activate button when paused am: de5df8b090
Suprabh Shukla [Wed, 16 Aug 2017 19:32:31 +0000 (19:32 +0000)]
Disabling the activate button when paused am: de5df8b090
am: 779237e37f

Change-Id: I43d2f39fc179380a169fb1d04be8e473eedcadfb

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d
Suprabh Shukla [Wed, 16 Aug 2017 19:30:03 +0000 (19:30 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d
am: 1e9af33c41

Change-Id: Iea61138c41fdb00ee30e0fba0d06b1d59b9c6afa

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:27:40 +0000 (19:27 +0000)]
Disabling the activate button when paused
am: 9ffee0d534

Change-Id: I76f0f749ad159b50520e6f95d9bfaf2d8cca3429

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:26:00 +0000 (19:26 +0000)]
Disabling the activate button when paused
am: af5d8b9b03

Change-Id: Icf4cd1c4ff5a520a72f9deedf85c486e892da250

6 years agoDisabling the activate button when paused am: 8e08a9bb71
Suprabh Shukla [Wed, 16 Aug 2017 19:25:59 +0000 (19:25 +0000)]
Disabling the activate button when paused am: 8e08a9bb71
am: 08207f457d

Change-Id: I693fde0d9935e0b92fa8848b205db3a810a58b67

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:25:59 +0000 (19:25 +0000)]
Disabling the activate button when paused
am: de5df8b090

Change-Id: I7878f3f3addbb0f47f3c145a34977a9ebb62a055

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:22:01 +0000 (19:22 +0000)]
Disabling the activate button when paused
am: 8e08a9bb71

Change-Id: I9b9ccd0bd849d34343ff0a6d6b579274d02264c6

6 years agoAdd fingerprint illustration image
Maurice Lam [Wed, 16 Aug 2017 18:44:19 +0000 (11:44 -0700)]
Add fingerprint illustration image

Test: Manual
Bug: 38210310
Change-Id: I95b4940792c172cf866f71c0fef9859e69d60074

6 years agoMerge "Use default primary color for choose lock screens" into oc-mr1-dev
Maurice Lam [Wed, 16 Aug 2017 18:25:02 +0000 (18:25 +0000)]
Merge "Use default primary color for choose lock screens" into oc-mr1-dev

6 years agoMerge "Don't launch Choose Lock again if recreating" into oc-mr1-dev
TreeHugger Robot [Wed, 16 Aug 2017 07:51:27 +0000 (07:51 +0000)]
Merge "Don't launch Choose Lock again if recreating" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Aug 2017 04:53:30 +0000 (21:53 -0700)]
Import translations. DO NOT MERGE

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

Bug: 64712476
Change-Id: If0ff6ff971291e101e464f028e79fc18afa5b6a7

6 years agoUse default primary color for choose lock screens
Maurice Lam [Wed, 16 Aug 2017 02:30:14 +0000 (19:30 -0700)]
Use default primary color for choose lock screens

Make the settings screens that inherit from SuwThemeGlif use the
default blue primary color.

Test: Manual
Bug: 63143321
Change-Id: I07026139a5e0562c192ec1ca9304d5cd3647d5b0

6 years agoDon't launch Choose Lock again if recreating
Maurice Lam [Tue, 15 Aug 2017 23:26:05 +0000 (16:26 -0700)]
Don't launch Choose Lock again if recreating

When ChooseLockGeneric is recreated, don't automatically launch
ChooseLock[Password/Pattern] even if the corresponding intent extras
are specified, because one would have been launched in the previous
onCreate.

Test: Manual
Bug: 64605627
Change-Id: I227a14abb2f4dd6c4577186a3d8164df0bec7791

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 02:22:17 +0000 (02:22 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 02:11:26 +0000 (02:11 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 03:33:12 +0000 (03:33 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 02:34:05 +0000 (02:34 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoMerge "Change strings from Instant app account to setting" into oc-mr1-dev
TreeHugger Robot [Tue, 15 Aug 2017 01:18:27 +0000 (01:18 +0000)]
Merge "Change strings from Instant app account to setting" into oc-mr1-dev