OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Revert "Initial search bar implementation."" into oc-dev am: dfc1983601
Andrew Sapperstein [Tue, 6 Jun 2017 19:16:56 +0000 (19:16 +0000)]
Merge "Revert "Initial search bar implementation."" into oc-dev am: dfc1983601
am: b5fb71acc6  -s ours

Change-Id: Ifbfc8f7153fddc1f88b52f3475e17629034c20d8

7 years agoMerge "Check for dynamic summaries at display time for search" into oc-dev am: 2046c59b77
Matthew Fritze [Tue, 6 Jun 2017 19:11:26 +0000 (19:11 +0000)]
Merge "Check for dynamic summaries at display time for search" into oc-dev am: 2046c59b77
am: 74eda7150b

Change-Id: Id496fc3d44f5103c65aa7b4de8ebcfab54f5de7b

7 years agoMerge "Revert "Add search bar to SearchActivity."" into oc-dev am: 37f87b6c64
Andrew Sapperstein [Tue, 6 Jun 2017 19:11:03 +0000 (19:11 +0000)]
Merge "Revert "Add search bar to SearchActivity."" into oc-dev am: 37f87b6c64
am: 93adcee630  -s ours

Change-Id: I6871d37124fb138b50d486764f32af9b14bb5521

7 years agoMerge "Revert "Initial search bar implementation."" into oc-dev
Andrew Sapperstein [Tue, 6 Jun 2017 19:10:43 +0000 (19:10 +0000)]
Merge "Revert "Initial search bar implementation."" into oc-dev
am: dfc1983601

Change-Id: I6c143b18b53857accac23d7c64f807c6987609a5

7 years agoMerge "Revert "Initial search bar implementation."" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 19:04:25 +0000 (19:04 +0000)]
Merge "Revert "Initial search bar implementation."" into oc-dev

7 years agoMerge "Check for dynamic summaries at display time for search" into oc-dev
Matthew Fritze [Tue, 6 Jun 2017 19:00:29 +0000 (19:00 +0000)]
Merge "Check for dynamic summaries at display time for search" into oc-dev
am: 2046c59b77

Change-Id: I549f1aa455ffbff0119dd00ef782710992100cce

7 years agoMerge "Revert "Add search bar to SearchActivity."" into oc-dev
Andrew Sapperstein [Tue, 6 Jun 2017 19:00:04 +0000 (19:00 +0000)]
Merge "Revert "Add search bar to SearchActivity."" into oc-dev
am: 37f87b6c64

Change-Id: Icbdb586e3e1a35c004298f50a57812e50ee73eea

7 years agoMerge "Check for dynamic summaries at display time for search" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 18:52:30 +0000 (18:52 +0000)]
Merge "Check for dynamic summaries at display time for search" into oc-dev

7 years agoMerge "Revert "Add search bar to SearchActivity."" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 18:42:24 +0000 (18:42 +0000)]
Merge "Revert "Add search bar to SearchActivity."" into oc-dev

7 years agoMerge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into...
Matthew Fritze [Tue, 6 Jun 2017 18:13:41 +0000 (18:13 +0000)]
Merge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into oc-dev am: b8028f63ec
am: 64736b6ae1

Change-Id: I7267309d17ae503144eb11789888937af6c8a0e1

7 years agoMerge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into...
Matthew Fritze [Tue, 6 Jun 2017 17:58:30 +0000 (17:58 +0000)]
Merge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into oc-dev
am: b8028f63ec

Change-Id: I47066c45b6ee286a2f1eac5ba1d57a5de058652c

7 years agoMerge "Band aid to fix overly long text in donut." into oc-dev am: b5abb2c1d2
Daniel Nishi [Tue, 6 Jun 2017 17:46:33 +0000 (17:46 +0000)]
Merge "Band aid to fix overly long text in donut." into oc-dev am: b5abb2c1d2
am: 0be5066922

Change-Id: Icf83d3412e0c87c5dbcb98156c0310a6db5b7645

7 years agoMerge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into...
TreeHugger Robot [Tue, 6 Jun 2017 17:44:21 +0000 (17:44 +0000)]
Merge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into oc-dev

7 years agoMerge "Update the no-results icon in settings search" into oc-dev am: 02e360dbc9
Matthew Fritze [Tue, 6 Jun 2017 17:40:32 +0000 (17:40 +0000)]
Merge "Update the no-results icon in settings search" into oc-dev am: 02e360dbc9
am: 3a7f413468

Change-Id: I021c720d4a70af6e07d9de034cbc09c2b4fceeff

7 years agoMerge "Band aid to fix overly long text in donut." into oc-dev
Daniel Nishi [Tue, 6 Jun 2017 17:40:04 +0000 (17:40 +0000)]
Merge "Band aid to fix overly long text in donut." into oc-dev
am: b5abb2c1d2

Change-Id: I8bd8b052cd8c437dd858a459c8098e39878b4b50

7 years agoMerge "Update the no-results icon in settings search" into oc-dev
Matthew Fritze [Tue, 6 Jun 2017 17:34:31 +0000 (17:34 +0000)]
Merge "Update the no-results icon in settings search" into oc-dev
am: 02e360dbc9

Change-Id: Ic77a5d965bfb882d128182f3eaff5e0c857dd500

7 years agoMerge "Band aid to fix overly long text in donut." into oc-dev
Daniel Nishi [Tue, 6 Jun 2017 17:33:55 +0000 (17:33 +0000)]
Merge "Band aid to fix overly long text in donut." into oc-dev

7 years agoRevert "Initial search bar implementation."
Andrew Sapperstein [Tue, 6 Jun 2017 16:33:27 +0000 (16:33 +0000)]
Revert "Initial search bar implementation."

This reverts commit 14934599dd6008a79c5e0d67f1df9ba5886c5198.

Bug: 37477506
Change-Id: I510b9a71dd3f19a3d2194da1f4d8f8060d0a4935
Merged-In: Id7477b90fbaf30eb5cac1ee244c847bddb95b3fd

7 years agoRevert "Add search bar to SearchActivity."
Andrew Sapperstein [Tue, 6 Jun 2017 16:33:13 +0000 (16:33 +0000)]
Revert "Add search bar to SearchActivity."

This reverts commit fac61b71e5b32bf8cd464049c2750a18911b75b2.

Bug: 37477506
Change-Id: I1ee66999fbb28b03feb5a51c7146f31a71c1252a
Merged-In: I4a0f0c91c51ff5820b61a596520d80a3337c3466

7 years agoMerge "Update the no-results icon in settings search" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 17:25:56 +0000 (17:25 +0000)]
Merge "Update the no-results icon in settings search" into oc-dev

7 years agoRevert "Revert "Revert "Replace dynamic summary text for SettingPref"""
Matthew Fritze [Tue, 6 Jun 2017 01:02:19 +0000 (01:02 +0000)]
Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""

This reverts commit c1e9f8787f02df0d38a9d4e93f7996318fc46355.

Reason for revert: There is an issue when dropdown menu text has a '%' sign in it.
Despite testing it on my own devices, the bug did not show up immediately.

Instead of continuing down this path for OC, we'll just revert
this patch, and then as an ugly, band-aid solution, check the
summary text for the "%s" substring, and hide it when found.
In O-DR onward, we'll look for a more permanent solution.

Change-Id: Ia7a04bfb7b09c436dc0f13564f2134a1f0c436e2
Bug: 36101902
Fix: 62211676

7 years agoMerge "Prevent showing multiple keyguard dialog in vpn setup UI"
TreeHugger Robot [Tue, 6 Jun 2017 17:17:05 +0000 (17:17 +0000)]
Merge "Prevent showing multiple keyguard dialog in vpn setup UI"

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 11465af11e -s ours
Bill Yi [Tue, 6 Jun 2017 16:34:19 +0000 (16:34 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 11465af11e  -s ours
am: d650629364  -s ours

Change-Id: I9a4dd50058845bfb7db289ebeda520b4267aa828

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Tue, 6 Jun 2017 16:28:22 +0000 (16:28 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 11465af11e  -s ours

Change-Id: I398b4773e26cb34a1ce6304d91b52df32a11e821

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 16:17:42 +0000 (16:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoCheck for dynamic summaries at display time for search
Matthew Fritze [Tue, 6 Jun 2017 02:08:14 +0000 (19:08 -0700)]
Check for dynamic summaries at display time for search

In order to hide dynamic summaries which use SettingPref,
we check if the summary is equal to "%s".

This is a temporary, band-aid fix which should be
changed in the next release.

Bug: 36101902
Test: make RunSettingsRoboTests
Change-Id: I6cadb3ba68f09ba18ad9a6d2a817804c5d4a08e5

7 years agoMerge "String changes"
TreeHugger Robot [Tue, 6 Jun 2017 15:16:05 +0000 (15:16 +0000)]
Merge "String changes"

7 years agoMerge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev am:...
Salvador Martinez [Tue, 6 Jun 2017 15:04:52 +0000 (15:04 +0000)]
Merge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev am: a8e887be86
am: 4eb906a672

Change-Id: I48ee59ed5c626496de4bda51f26e25647c3cc16d

7 years agoMerge "Make footer preferences non-clickable by default" into oc-dev am: 8fbb0bc1f2
jackqdyulei [Tue, 6 Jun 2017 15:04:09 +0000 (15:04 +0000)]
Merge "Make footer preferences non-clickable by default" into oc-dev am: 8fbb0bc1f2
am: 0686f63083  -s ours

Change-Id: I0877907fbfc1b8dd43d18d381ee5115150466ca8

7 years agoMerge changes I23540440,I67269e1a into oc-dev am: 4249a7092b
Lorenzo Colitti [Tue, 6 Jun 2017 13:54:56 +0000 (13:54 +0000)]
Merge changes I23540440,I67269e1a into oc-dev am: 4249a7092b
am: 844c385c09

Change-Id: I258837998e0c242d4c4dd4fb7c69da8049837173

7 years agoresolve merge conflicts of 1104b94dbc to master
Yohann Roussel [Tue, 6 Jun 2017 10:01:43 +0000 (12:01 +0200)]
resolve merge conflicts of 1104b94dbc to master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I537fb871134f801ec9489b48fe748b525e5a65ea

7 years agoMerge "Ensure wifi ssid cannot exceed 32 bytes."
TreeHugger Robot [Tue, 6 Jun 2017 06:33:48 +0000 (06:33 +0000)]
Merge "Ensure wifi ssid cannot exceed 32 bytes."

7 years agoMerge "Add help url placeholders for new pages"
TreeHugger Robot [Tue, 6 Jun 2017 06:20:47 +0000 (06:20 +0000)]
Merge "Add help url placeholders for new pages"

7 years agoMerge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev
Salvador Martinez [Tue, 6 Jun 2017 04:35:19 +0000 (04:35 +0000)]
Merge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev
am: a8e887be86

Change-Id: I561cd90ba74a551a44d43a04a1b567efc74e4863

7 years agoMerge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev
Salvador Martinez [Tue, 6 Jun 2017 04:29:31 +0000 (04:29 +0000)]
Merge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev

7 years agoRevert "Remove dynamic summary from Security Patch info"
Fan Zhang [Tue, 6 Jun 2017 04:07:52 +0000 (04:07 +0000)]
Revert "Remove dynamic summary from Security Patch info"

The change breaks build

Bug: 62359766
Bug: 36101902

This reverts commit 2b562f84b6c317711fdb70db5b4d3cb9953ed536.

Change-Id: Ie712d471f1fa9858b65fd1c0b111405dfb49eb38

7 years agoRevert "Remove dynamic summary from Security Patch info"
Fan Zhang [Tue, 6 Jun 2017 04:07:52 +0000 (04:07 +0000)]
Revert "Remove dynamic summary from Security Patch info"

The change breaks build

Fix: 62359766
Bug: 36101902

This reverts commit 2b562f84b6c317711fdb70db5b4d3cb9953ed536.

Change-Id: Ie712d471f1fa9858b65fd1c0b111405dfb49eb38

7 years agoMerge "Make footer preferences non-clickable by default" into oc-dev
jackqdyulei [Tue, 6 Jun 2017 02:05:09 +0000 (02:05 +0000)]
Merge "Make footer preferences non-clickable by default" into oc-dev
am: 8fbb0bc1f2

Change-Id: Idd493f97773816dc4cc1c759bc5465a2b7f4b04f

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 6 Jun 2017 02:04:22 +0000 (02:04 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Add ability to see both battery estimates on long press"
TreeHugger Robot [Tue, 6 Jun 2017 01:58:16 +0000 (01:58 +0000)]
Merge "Add ability to see both battery estimates on long press"

7 years agoMerge "Make footer preferences non-clickable by default" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 01:53:58 +0000 (01:53 +0000)]
Merge "Make footer preferences non-clickable by default" into oc-dev

7 years agoMerge "Add a new Bluetooth device details page"
TreeHugger Robot [Tue, 6 Jun 2017 01:28:52 +0000 (01:28 +0000)]
Merge "Add a new Bluetooth device details page"

7 years agoMerge changes I23540440,I67269e1a into oc-dev
Lorenzo Colitti [Tue, 6 Jun 2017 01:27:32 +0000 (01:27 +0000)]
Merge changes I23540440,I67269e1a into oc-dev
am: 4249a7092b

Change-Id: Ic8383cce733c5767b133af0e9f85e213e0c36018

7 years agoRemove call to WifiManager.setWifiApEnabled(). am: f38ed2fbb2
Doris Ling [Tue, 6 Jun 2017 01:24:38 +0000 (01:24 +0000)]
Remove call to WifiManager.setWifiApEnabled(). am: f38ed2fbb2
am: 802db8a844

Change-Id: If6e76b06e014d2c3e3eadf60c4bc2ff8e6a50607

7 years agoMerge changes I23540440,I67269e1a into oc-dev
Lorenzo Colitti [Tue, 6 Jun 2017 01:22:07 +0000 (01:22 +0000)]
Merge changes I23540440,I67269e1a into oc-dev

* changes:
  When validation state changes, update the AP summary.
  Minor tweaks to WifiDetailPreferenceControllerTest.

7 years agoMerge "Also update flip camera settings for managed profile." into oc-dev
Doris Ling [Tue, 6 Jun 2017 01:15:51 +0000 (01:15 +0000)]
Merge "Also update flip camera settings for managed profile." into oc-dev
am: 051a83d909

Change-Id: I4ba1750948815233ef6a963ddde1ca0bd33bcdec

7 years agoRemove call to WifiManager.setWifiApEnabled().
Doris Ling [Tue, 6 Jun 2017 01:15:10 +0000 (01:15 +0000)]
Remove call to WifiManager.setWifiApEnabled().
am: f38ed2fbb2

Change-Id: I255679d0eaeaa94d2ac6e5caddf4c6f5a5581bc1

7 years agoMerge "Also update flip camera settings for managed profile." into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 01:12:28 +0000 (01:12 +0000)]
Merge "Also update flip camera settings for managed profile." into oc-dev

7 years agoUpdate the no-results icon in settings search
Matthew Fritze [Tue, 6 Jun 2017 00:53:14 +0000 (17:53 -0700)]
Update the no-results icon in settings search

Bug: 36597112
Test: Open settings, search for 'battle toads', and see the no results icon
Change-Id: I7196114ecaf733747237202d30dd1b47ad37d97e

7 years agoPrevent showing multiple keyguard dialog in vpn setup UI
Fan Zhang [Tue, 6 Jun 2017 00:15:21 +0000 (17:15 -0700)]
Prevent showing multiple keyguard dialog in vpn setup UI

Change-Id: If3a0d4ee285bfdde5f4b84bee58d62708071fe75
Fix: 37552190
Test: make RunSettingsRoboTests

7 years agoMerge "Update support strings in Settings"
TreeHugger Robot [Tue, 6 Jun 2017 00:01:28 +0000 (00:01 +0000)]
Merge "Update support strings in Settings"

7 years agoAlso update flip camera settings for managed profile.
Doris Ling [Mon, 5 Jun 2017 21:48:44 +0000 (14:48 -0700)]
Also update flip camera settings for managed profile.

When user update the setting for flip camera, check if there is managed
profile for the user, and update the setting for the managed user id as
well, so that the work profile camera app can read the correct setting
value.

Change-Id: I757041289329870311bc8473b19fd49ecdd0fadb
Fix: 62078588
Test: make RunSettingsRoboTests

7 years agoAdd ability to see both battery estimates on long press
Salvador Martinez [Tue, 23 May 2017 00:26:39 +0000 (17:26 -0700)]
Add ability to see both battery estimates on long press

If the enhanced estimate is being used in battery settings
it is now possible to long press on the text to have it display
both instead of the string that is normally used.

Adds another loader to enable this since it needs both the old
and the new estimates simultaneously.

Feature is hidden behind a feature flag that only googlers will
have enabled.

Test: robotests
Bug: 38399275
Change-Id: I5caf26513baada27efd50ddb0e72d3868da47150

7 years agoEnsure wifi ssid cannot exceed 32 bytes.
Fan Zhang [Mon, 5 Jun 2017 22:50:00 +0000 (15:50 -0700)]
Ensure wifi ssid cannot exceed 32 bytes.

Change-Id: I5c2c50ca8599f6843da47c01b9a0447e2c85d763
Fix: 36898746
Test: make RunSettingsRoboTests

7 years agoRemove call to WifiManager.setWifiApEnabled().
Doris Ling [Fri, 2 Jun 2017 00:06:40 +0000 (17:06 -0700)]
Remove call to WifiManager.setWifiApEnabled().

- replace it with ConnectivityManager.stopTethering() instead.

Change-Id: I112863b1be37c0fef5d59c16d73f0c6cf71c6dea
Fix: 62191978
Test: make RunSettingsRoboTests

7 years agoUpdate support strings in Settings
Salvador Martinez [Mon, 5 Jun 2017 22:17:20 +0000 (15:17 -0700)]
Update support strings in Settings

String change CL for support strings in settings.

Test: image attached, robotests still pass
Bug: 62145221
Change-Id: Ib10998374be961e42ab6994a7b32e521c49c4652

7 years agoMerge "Move UsageGraph from SettingsLib to Settings."
TreeHugger Robot [Mon, 5 Jun 2017 22:13:50 +0000 (22:13 +0000)]
Merge "Move UsageGraph from SettingsLib to Settings."

7 years agoMerge "Bluetooth: Always scan while on pairing or DevicePicker page"
TreeHugger Robot [Mon, 5 Jun 2017 22:11:40 +0000 (22:11 +0000)]
Merge "Bluetooth: Always scan while on pairing or DevicePicker page"

7 years agoAdd help url placeholders for new pages
Fan Zhang [Mon, 5 Jun 2017 20:13:42 +0000 (13:13 -0700)]
Add help url placeholders for new pages

Bug: 38412798
Test: visual
Change-Id: I4ede523cb13790ea05309279f80a778b2086f850

7 years agoMerge "Show fingerprint text in backup screen lock"
Maurice Lam [Mon, 5 Jun 2017 20:53:26 +0000 (20:53 +0000)]
Merge "Show fingerprint text in backup screen lock"

7 years agoBand aid to fix overly long text in donut.
Daniel Nishi [Wed, 24 May 2017 23:25:08 +0000 (16:25 -0700)]
Band aid to fix overly long text in donut.

In the Storage Settings, if the text is too long, it will overlap with
the donut. After discussing with UX, we've opted to shrink the text in
the extenuating circumstances. This is because this text is more of a
helper and the full information is on the left.

Bug: 38030457
Test: Manual with Telugu
Change-Id: I18bcaaae74d049c42eaff50868d3861ae258839d

7 years agoMove UsageGraph from SettingsLib to Settings.
Alex Kulesza [Fri, 2 Jun 2017 22:16:28 +0000 (18:16 -0400)]
Move UsageGraph from SettingsLib to Settings.

In preparation for modifying the graph code to show detailed projections
(see bug), this change moves it into Settings along with related tests
and resources.

Bug: 38400320
Test: manual, make SettingsUnitTests, make SettingsGoogleUnitTests
Change-Id: I88e5336c15827727b3427e29b10954bba9cfba7d

7 years agoBluetooth: Always scan while on pairing or DevicePicker page
Jack He [Wed, 31 May 2017 06:05:46 +0000 (23:05 -0700)]
Bluetooth: Always scan while on pairing or DevicePicker page

* Modified DeviceListPreferenceFragment to have enable/disable scanning
  methods. In ENABLE state, each onScanningStateChanged(false) will
  restart another round of scanning
* Subclasses of DeviceListPreferenceFragment should call enable/disable
  scanning when scanning is needed for long period of time
* Currently, BluetoothPairingDetail and DevicePickerFragment call
  enableScanning() when Bluetooth is turned ON and call disableScanning
  when some device is picked in their lists
* Both BluetoothPairingDetail and DevicePickerFragment will re-enable
  scanning if pairing failed for selected device
* Added associated unit tests as well

Bug: 32172815
Test: make, pair Bluetooth device, send file over Bluetooth Opp
Change-Id: I99325e06aadd7b00e7a7ba6d6c282a6831859d8b

7 years agoMisc layout fixes
Fan Zhang [Sun, 4 Jun 2017 00:17:27 +0000 (17:17 -0700)]
Misc layout fixes

- Apply entity header effect to battery summary screen.
- BidiWrap wifi ap name is it's correctly displayed in RLT languages
- Remove footer preference layout - settingslib already has one

Fix: 62039146
Fix: 62138362
Fix: 37920219
Test: make RunSettingsRoboTests

Change-Id: Idf1385ee40772c63075e5f81eb039c6da56256ab

7 years agoShow fingerprint text in backup screen lock
Maurice Lam [Thu, 1 Jun 2017 00:55:43 +0000 (17:55 -0700)]
Show fingerprint text in backup screen lock

When setting up fingerprint's backup screen lock, show a different
header text that says
"To use fingerprint, set {PIN/pattern/password}" instead of
"Choose your {PIN/pattern/password}".

Test: Manual. Existing tests pass
Bug: 62187833
Change-Id: If1084e64b99291a0eda63c174793b5a091ab4bae

7 years agoAdd a new Bluetooth device details page
Antony Sargent [Thu, 4 May 2017 22:06:32 +0000 (15:06 -0700)]
Add a new Bluetooth device details page

Bug: 35877479
Test: make RunSettingsRoboTests

The existing behavior is to bring up a dialog with Bluetooth device
details with checkboxes for each supported profile. This adds a new page
that serves the same purpose with a switch for each profile and a footer
containing the MAC address.

Whether to use the new page or old dialog is controlled by a flag
accessible via BluetoothFeatureProvider.

Change-Id: I026c363d4cd33932a84017a67cbef51c258bad10

7 years agoMake footer preferences non-clickable by default
jackqdyulei [Mon, 5 Jun 2017 17:44:34 +0000 (10:44 -0700)]
Make footer preferences non-clickable by default

cherry-picked from ag/2301717

Both the footer preference and the TextView they contain
were clickable, which confused some accessibility services.

Bug: 62050563
Test: Verified that switch access no longer offers users
the option of clicking on the footer for accessibility
services and Magnification as well as in the Battery
settings screen.

Change-Id: I5cb13d6268466c690dd38f2b652422d2c3d813b4
Merged-In: I937340fda93f6a8097919e1f86d5d890487370bc

7 years agoMerge "Use new time format in BatteryInfo"
Lei Yu [Mon, 5 Jun 2017 17:19:04 +0000 (17:19 +0000)]
Merge "Use new time format in BatteryInfo"

7 years agoString changes
Julia Reynolds [Mon, 5 Jun 2017 13:06:31 +0000 (09:06 -0400)]
String changes

- channel summaries
- Notification listener name
- notifications app page title

Change-Id: I0745c06aad44bfa7636ee2b10be9387313093fe3
Fixes: 36529184
Fixes: 38178073
Test: manual

7 years agoWhen validation state changes, update the AP summary.
Lorenzo Colitti [Fri, 2 Jun 2017 09:00:40 +0000 (18:00 +0900)]
When validation state changes, update the AP summary.

This stops the AP summary from getting stuck on "Connected, no
Internet" even when the system has validated Internet access.

Bug: 62209358
Test: make -j64 RunSettingsRoboTests
Change-Id: I235404408f7d8b958653d25656d97da8206e35ce

7 years agoMerge "Update suggestion rules and string description"
TreeHugger Robot [Sun, 4 Jun 2017 03:24:51 +0000 (03:24 +0000)]
Merge "Update suggestion rules and string description"

7 years agoUpdate suggestion rules and string description
Fan Zhang [Sat, 3 Jun 2017 22:24:11 +0000 (15:24 -0700)]
Update suggestion rules and string description

Change-Id: I55025094b9a0e71710db726bcf7fc810a3705c65
Fix: 62262851
Fix: 62283797
Test: make RunSettingsRoboTests

7 years agoMerge "Merge "ConditionManager: don't crash when trying to add unexpected condition...
Android Build Merger (Role) [Sun, 4 Jun 2017 00:10:35 +0000 (00:10 +0000)]
Merge "Merge "ConditionManager: don't crash when trying to add unexpected condition" am: 46f7199cb1 am: 6270dce2cd am: 7151be926d am: ecc7355bde"

7 years agoMerge "Add a suggestion: showing new device features"
TreeHugger Robot [Sun, 4 Jun 2017 00:10:30 +0000 (00:10 +0000)]
Merge "Add a suggestion: showing new device features"

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition" am...
Thecrazyskull [Sun, 4 Jun 2017 00:10:11 +0000 (00:10 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition" am: 46f7199cb1 am: 6270dce2cd am: 7151be926d
am: ecc7355bde

Change-Id: Ic422ded3965a9f8bc3cafb7cbf0b1e4585142672

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition" am...
Thecrazyskull [Sun, 4 Jun 2017 00:04:25 +0000 (00:04 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition" am: 46f7199cb1 am: 6270dce2cd
am: 7151be926d

Change-Id: I16805427f0d053c6d1c5975275f00cb0ed1c9cbb

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition" am...
Thecrazyskull [Sun, 4 Jun 2017 00:00:25 +0000 (00:00 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition" am: 46f7199cb1
am: 6270dce2cd

Change-Id: Ie8ce734935d9950c515675710772aa5f3c80c988

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition"
Thecrazyskull [Sat, 3 Jun 2017 23:55:52 +0000 (23:55 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition"
am: 46f7199cb1

Change-Id: Ifd9394c6da48a88ddb6f59ead3db1c93519a70ac

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition"
Treehugger Robot [Sat, 3 Jun 2017 23:49:37 +0000 (23:49 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition"

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am:...
Mikhail Malakhov [Sat, 3 Jun 2017 22:31:29 +0000 (22:31 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am: c7697e9b8a am: 933cdd5503 am: 0730393097
am: 38382a44b0

Change-Id: I845582c9c044cab4a2abfdf19ee6ca5f037de4cb

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am:...
Mikhail Malakhov [Sat, 3 Jun 2017 22:24:50 +0000 (22:24 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am: c7697e9b8a am: 933cdd5503
am: 0730393097

Change-Id: Ia65d7c966350dac44a1d15a5781d051df8d464cd

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am:...
Mikhail Malakhov [Sat, 3 Jun 2017 22:20:48 +0000 (22:20 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am: c7697e9b8a
am: 933cdd5503

Change-Id: I0fbdadf1b42543936f3ed657b52da23978a0fe16

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"
Mikhail Malakhov [Sat, 3 Jun 2017 22:16:48 +0000 (22:16 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"
am: c7697e9b8a

Change-Id: Ic9bdabec50ba8b72656c0d5fc0b56551ad3a46cb

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"
Treehugger Robot [Sat, 3 Jun 2017 22:11:11 +0000 (22:11 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"

7 years agoMerge "Move strings to SettingsLib so TV can use them" into oc-dev am: 685041559a
Tony Mantler [Sat, 3 Jun 2017 22:05:21 +0000 (22:05 +0000)]
Merge "Move strings to SettingsLib so TV can use them" into oc-dev am: 685041559a
am: ea71adb730  -s ours

Change-Id: Id876c24798a8f1a95e39915be3f6201ac0c9103a

7 years agoMerge "Move strings to SettingsLib so TV can use them" into oc-dev
Tony Mantler [Sat, 3 Jun 2017 22:00:17 +0000 (22:00 +0000)]
Merge "Move strings to SettingsLib so TV can use them" into oc-dev
am: 685041559a

Change-Id: I9ff3757e28b82caac7d83394f3734eee040a7b00

7 years agoAdd a suggestion: showing new device features
Fan Zhang [Thu, 1 Jun 2017 00:47:37 +0000 (17:47 -0700)]
Add a suggestion: showing new device features

- New suggestion activity
- Removed useless api SuggestionFeatureProvider.isPresent().

- Also updated support activity search indexing icon and summary

Change-Id: Ib52cf26a985f57bf0aac918606b10f75bd024639
Fix: 62034077
Fix: 62196070
Test: make RunSettingsRoboTests

7 years agoMerge "Move strings to SettingsLib so TV can use them" into oc-dev
TreeHugger Robot [Sat, 3 Jun 2017 21:40:51 +0000 (21:40 +0000)]
Merge "Move strings to SettingsLib so TV can use them" into oc-dev

7 years agoMerge "Combine settings suggestion and condition."
TreeHugger Robot [Sat, 3 Jun 2017 18:49:53 +0000 (18:49 +0000)]
Merge "Combine settings suggestion and condition."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 3 Jun 2017 18:42:52 +0000 (11:42 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 3 Jun 2017 18:04:01 +0000 (11:04 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Move strings to SettingsLib so TV can use them"
TreeHugger Robot [Sat, 3 Jun 2017 04:29:26 +0000 (04:29 +0000)]
Merge "Move strings to SettingsLib so TV can use them"

7 years agoConditionManager: don't crash when trying to add unexpected condition
Thecrazyskull [Thu, 2 Mar 2017 19:55:59 +0000 (14:55 -0500)]
ConditionManager: don't crash when trying to add unexpected condition

* Instead, just don't add the unexpected condition

Test: none

Change-Id: Id768d54e90fac6cbbfdca514e769cb3b331fbc46

7 years agoMerge "String update for setup wizard"
TreeHugger Robot [Fri, 2 Jun 2017 22:33:56 +0000 (22:33 +0000)]
Merge "String update for setup wizard"

7 years agoUse new time format in BatteryInfo
jackqdyulei [Fri, 2 Jun 2017 20:15:12 +0000 (13:15 -0700)]
Use new time format in BatteryInfo

1. Using "h" and "m" instead of "hrs" and "min"
2. Refactor the string to CharSequence so it won't have
TTS issue(i.e read "m" as "meter")
3. Update tests related to this part.

Bug: 37201139
Test: RunSettingsRoboTests
Change-Id: I9cadb511572b2d522d26ab337c171fa69da87475

7 years agoMove strings to SettingsLib so TV can use them
Tony Mantler [Fri, 26 May 2017 20:34:14 +0000 (13:34 -0700)]
Move strings to SettingsLib so TV can use them

Bug: 38496265
Test: Compiles
Change-Id: Iea90cbcf858cd598af4adc017e673e299a62ed39
Merged-In: Iea90cbcf858cd598af4adc017e673e299a62ed39

7 years agoMerge "Add strings to use in Bluetooth device forget confirmation"
TreeHugger Robot [Fri, 2 Jun 2017 22:01:55 +0000 (22:01 +0000)]
Merge "Add strings to use in Bluetooth device forget confirmation"

7 years agoCombine settings suggestion and condition.
Doris Ling [Thu, 11 May 2017 23:27:54 +0000 (16:27 -0700)]
Combine settings suggestion and condition.

- Add a flag in dashboard feature provider to specify whether to use the
combined UI for suggestions and conditions.
- Move Conditions below Suggestions.
- Add dashboard entity for condition and suggestion container, and
  wrap the condition and suggestion list inside the container. The
  container itself will be a single dashboard item, and within it will
  be the list of suggestion or condition.
- Add suggestion/condition header that will show the combined info for
  the conditions and suggestion data, and have the expand button to
  control expanding both the suggestion and condition list.
- Change the individual condition card to be always expanded, and
remove the logic to collapse/expand individual condition card.
- Remove the divider between the action button and condition detail
  within each condition card.
- Add suggestion/condition footer for collapsing the whole suggestion and
  condition list.

Bug: 37645754
Test: make RunSettingsRoboTests
Change-Id: I86df75f7e4551778f79d730851c03121fd0dcbdf

7 years agoMove strings to SettingsLib so TV can use them
Tony Mantler [Fri, 26 May 2017 20:34:14 +0000 (13:34 -0700)]
Move strings to SettingsLib so TV can use them

Bug: 38496265
Test: Compiles
Change-Id: Iea90cbcf858cd598af4adc017e673e299a62ed39

7 years agoMerge "Updating the search ranking API and some improvements:"
TreeHugger Robot [Fri, 2 Jun 2017 20:49:26 +0000 (20:49 +0000)]
Merge "Updating the search ranking API and some improvements:"