OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Update picture-in-picture settings to match mocks."
Winson Chung [Tue, 21 Mar 2017 00:28:57 +0000 (00:28 +0000)]
Merge "Update picture-in-picture settings to match mocks."

7 years agoMerge "Disable development settings when the switch bar turns off."
TreeHugger Robot [Tue, 21 Mar 2017 00:16:37 +0000 (00:16 +0000)]
Merge "Disable development settings when the switch bar turns off."

7 years agoMerge "Re-add the progress bar for storage preferences."
Daniel Nishi [Mon, 20 Mar 2017 22:54:02 +0000 (22:54 +0000)]
Merge "Re-add the progress bar for storage preferences."

7 years agoDisable development settings when the switch bar turns off.
Fan Zhang [Mon, 20 Mar 2017 21:56:09 +0000 (14:56 -0700)]
Disable development settings when the switch bar turns off.

Change-Id: Icc9953c95ed4d131231bb6ba95d60b43092a3833
Fix: 29274149
Test: make RunSettingsRoboTests

7 years agoMerge "Bluetooth: stop pairing service correctly" am: 4e32e87e57 am: b7c50119e5
Marie Janssen [Mon, 20 Mar 2017 21:56:37 +0000 (21:56 +0000)]
Merge "Bluetooth: stop pairing service correctly" am: 4e32e87e57 am: b7c50119e5
am: 912c74e02e

Change-Id: Ib822796906d81baad9a4b731a057b7ae14d7a355

7 years agoMerge "Bluetooth: stop pairing service correctly" am: 4e32e87e57
Marie Janssen [Mon, 20 Mar 2017 21:49:43 +0000 (21:49 +0000)]
Merge "Bluetooth: stop pairing service correctly" am: 4e32e87e57
am: b7c50119e5

Change-Id: I353995584681bd075491c09ae8db25f4223deda7

7 years agoMerge "Bluetooth: stop pairing service correctly"
Marie Janssen [Mon, 20 Mar 2017 21:45:41 +0000 (21:45 +0000)]
Merge "Bluetooth: stop pairing service correctly"
am: 4e32e87e57

Change-Id: Ied66e2bf14771853be46c09b0720c9978d53e3c9

7 years agoMerge "Bluetooth: stop pairing service correctly"
Treehugger Robot [Mon, 20 Mar 2017 21:37:37 +0000 (21:37 +0000)]
Merge "Bluetooth: stop pairing service correctly"

7 years agoMerge "Revert "Use color accent as background color for app info pages.""
TreeHugger Robot [Mon, 20 Mar 2017 21:02:24 +0000 (21:02 +0000)]
Merge "Revert "Use color accent as background color for app info pages.""

7 years agoMerge "Update strings"
TreeHugger Robot [Mon, 20 Mar 2017 20:44:41 +0000 (20:44 +0000)]
Merge "Update strings"

7 years agoMerge "Finalize strings for enterprise privacy"
TreeHugger Robot [Mon, 20 Mar 2017 19:36:43 +0000 (19:36 +0000)]
Merge "Finalize strings for enterprise privacy"

7 years agoBluetooth: stop pairing service correctly
Marie Janssen [Mon, 20 Mar 2017 18:01:19 +0000 (11:01 -0700)]
Bluetooth: stop pairing service correctly

If BluetoothPairingService was stopped and restarted, it would receive
a null intent, and it also would not signal correctly when it needed to
be stopped.

Since restarts can happen, check that we are still bonding when starting.

Also prevent crashes when we might be called with a null intent.

Test: initiate pairing remotely, adb am kill service, notice no crash
Bug: 36130262
Change-Id: I408811935fdb36591826f4481d103cf4799db27e

7 years agoUpdate strings
Fan Zhang [Mon, 20 Mar 2017 19:06:39 +0000 (12:06 -0700)]
Update strings

Change-Id: Ic497a0a8511e375541da3b2d38e2f2d2b1b94c49
Fix: 27748242
Test: make RunSettingsRoboTests

7 years agoRevert "Use color accent as background color for app info pages."
Doris Ling [Mon, 20 Mar 2017 19:02:42 +0000 (19:02 +0000)]
Revert "Use color accent as background color for app info pages."

This reverts commit b2032416e974faf1f8af6426c5120b01f0b626fc.

Change-Id: Ie80e061e6ccecbcf96404c5349ab136da7ca599f

7 years agoRe-add the progress bar for storage preferences.
Daniel Nishi [Wed, 15 Mar 2017 21:00:13 +0000 (14:00 -0700)]
Re-add the progress bar for storage preferences.

This re-adds the progress bar and unifies the
StorageItemPreference and its alternate.

Change-Id: Iefc12b4b554306c706c83be232175dd2b84227b7
Fixes: 36223433
Test: Settings robotest

7 years agoFinalize strings for enterprise privacy
Bartosz Fabianowski [Mon, 20 Mar 2017 09:41:08 +0000 (10:41 +0100)]
Finalize strings for enterprise privacy

A few final string tweaks for the enterprise privacy page.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I7957263e768a588188e98f298eaae25ec77abeca

7 years agoMerge "Start removing N/A DO disclosures from search index"
TreeHugger Robot [Mon, 20 Mar 2017 18:03:51 +0000 (18:03 +0000)]
Merge "Start removing N/A DO disclosures from search index"

7 years agoMerge "Add color temperature preference to Night Display"
Christine Franks [Mon, 20 Mar 2017 18:03:44 +0000 (18:03 +0000)]
Merge "Add color temperature preference to Night Display"

7 years agoUpdate picture-in-picture settings to match mocks.
Winson Chung [Fri, 17 Mar 2017 22:48:38 +0000 (15:48 -0700)]
Update picture-in-picture settings to match mocks.

- Removing switches in top-level picture-in-picture settings, adding
  details screen for each app which contains the switch and some
  additional information.

Bug: 35957404
Test: make -j40 RunSettingsRoboTests
Change-Id: Ib22df8a52ab857e071ec43dd3e5d1f5282db35cb

7 years agoAdd color temperature preference to Night Display
Christine Franks [Wed, 25 Jan 2017 00:12:24 +0000 (16:12 -0800)]
Add color temperature preference to Night Display

Bug: 32463283
Test: make RunSettingsRoboTests
Change-Id: Ibf3cf9af05b44a071603d3d7efa6e90ae00c823a

7 years agoThis CL updates the DO Disclosures page (aka "Enterprise Privacy")
Denis Kuznetsov [Fri, 10 Mar 2017 15:24:15 +0000 (16:24 +0100)]
This CL updates the DO Disclosures page (aka "Enterprise Privacy")
to make items that shows admin granted permissions actionable.
Item click will result in opening the list of apps for a permission.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I5f2536b116998810857e379f48a26a1c40055590

7 years agoStart removing N/A DO disclosures from search index
Bartosz Fabianowski [Fri, 10 Mar 2017 14:47:14 +0000 (15:47 +0100)]
Start removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL takes the following steps toward fixing this:
* Pass the list of PreferenceControllers to the search indexer
* Make the first two PrefrenceControllers set isAvailable() correctly

There are more disclosures to update, but the difficult work is done
as all others will follow the same pattern.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I7d3e248b80abe72b79fce7afa11f28a822de6986

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 18 Mar 2017 16:33:05 +0000 (16:33 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 18 Mar 2017 14:27:32 +0000 (07:27 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMove developer options related class to development package
Fan Zhang [Fri, 17 Mar 2017 23:19:26 +0000 (16:19 -0700)]
Move developer options related class to development package

Bug: 34203528
Test: none, purely moving classes around
Change-Id: I3cd1d257f948729fda5c04632e7ce9114c40bd0c

7 years agoFallback to default wallpaper picker if first choice fails
Fan Zhang [Fri, 17 Mar 2017 22:05:14 +0000 (15:05 -0700)]
Fallback to default wallpaper picker if first choice fails

- Add fallback logic in WallpaperSuggestionActivity
- Move some classes around
- Delete some unused class

Change-Id: Ifc8864428647a94f3ecae50d193c2156b2592ff3
Fix: 36140287
Test: make RunSettingsRoboTests

7 years agoMerge "Update string for Settings homepage."
TreeHugger Robot [Fri, 17 Mar 2017 23:41:13 +0000 (23:41 +0000)]
Merge "Update string for Settings homepage."

7 years agoMerge "Remove Index.java from old Search and its dependents"
TreeHugger Robot [Fri, 17 Mar 2017 23:23:49 +0000 (23:23 +0000)]
Merge "Remove Index.java from old Search and its dependents"

7 years agoMerge changes from topic 'FrictionIcons'
TreeHugger Robot [Fri, 17 Mar 2017 23:06:09 +0000 (23:06 +0000)]
Merge changes from topic 'FrictionIcons'

* changes:
  Revert picker icon sizes to 24dp.
  Comment changes from ag/1991360.
  Clean up wifi_friction icon unused states.
  Fix list item spacing for preferences.

7 years agoMerge "Add borders to the Automatic Storage Management switch."
Daniel Nishi [Fri, 17 Mar 2017 22:55:13 +0000 (22:55 +0000)]
Merge "Add borders to the Automatic Storage Management switch."

7 years agoMerge "Size and position the donut."
Daniel Nishi [Fri, 17 Mar 2017 22:54:43 +0000 (22:54 +0000)]
Merge "Size and position the donut."

7 years agoMerge "Update strings for Network & internet screen."
TreeHugger Robot [Fri, 17 Mar 2017 22:29:11 +0000 (22:29 +0000)]
Merge "Update strings for Network & internet screen."

7 years agoMerge changes from topic 'storage-o-strings'
Daniel Nishi [Fri, 17 Mar 2017 22:03:47 +0000 (22:03 +0000)]
Merge changes from topic 'storage-o-strings'

* changes:
  Use total size and not free in Storage summary.
  Add new strings.

7 years agoMerge "Cache the summary and icons for Security Settings injected tiles."
William Luh [Fri, 17 Mar 2017 22:01:38 +0000 (22:01 +0000)]
Merge "Cache the summary and icons for Security Settings injected tiles."

7 years agoUpdate string for Settings homepage.
Doris Ling [Fri, 17 Mar 2017 21:52:40 +0000 (14:52 -0700)]
Update string for Settings homepage.

Bug: 36375846
Test: builds
Change-Id: I97723b0a33f0fb04f7f4a0c5911a5d83a60d6014

7 years agoMerge "Attemp to fix a concurrent modify exception"
TreeHugger Robot [Fri, 17 Mar 2017 21:32:34 +0000 (21:32 +0000)]
Merge "Attemp to fix a concurrent modify exception"

7 years agoRemove Index.java from old Search and its dependents
Matthew Fritze [Thu, 16 Mar 2017 20:33:18 +0000 (13:33 -0700)]
Remove Index.java from old Search and its dependents

Test: make RunSettingsRoboTests
Bug: 3576394436192909
Change-Id:  If216e1eeb4c29e7372720c6228fa4e99ea2a9904

7 years agoMerge "Update strings for Apps & notifications screen."
TreeHugger Robot [Fri, 17 Mar 2017 21:05:24 +0000 (21:05 +0000)]
Merge "Update strings for Apps & notifications screen."

7 years agoUpdate strings for Network & internet screen.
Doris Ling [Fri, 17 Mar 2017 20:37:42 +0000 (13:37 -0700)]
Update strings for Network & internet screen.

Bug: 36296257
Test: builds
Change-Id: I417f6b9fd48725dd827a57f7af78f507fd9578fc

7 years agoAttemp to fix a concurrent modify exception
Fan Zhang [Fri, 17 Mar 2017 19:54:24 +0000 (12:54 -0700)]
Attemp to fix a concurrent modify exception

Change-Id: I039091d43ba8c378066c26dcca416534d0f52d21
Fix: 36347434
Test: existing tests pass

7 years agoMerge "Remove "remove account" from account sync detail page"
TreeHugger Robot [Fri, 17 Mar 2017 19:49:09 +0000 (19:49 +0000)]
Merge "Remove "remove account" from account sync detail page"

7 years agoRevert picker icon sizes to 24dp.
Sundeep Ghuman [Thu, 16 Mar 2017 01:21:43 +0000 (18:21 -0700)]
Revert picker icon sizes to 24dp.

Bug: b/36295036
Test: See screenshot in bug
Change-Id: I68af38163d6770e60195b245c38942c3844ead46

7 years agoComment changes from ag/1991360.
Sundeep Ghuman [Thu, 16 Mar 2017 01:12:35 +0000 (18:12 -0700)]
Comment changes from ag/1991360.

Bug: NA
Change-Id: I832f4459e8becdc5862c83c2b2efd5cee0d417c9
Test: NA

7 years agoClean up wifi_friction icon unused states.
Sundeep Ghuman [Thu, 16 Mar 2017 00:01:07 +0000 (17:01 -0700)]
Clean up wifi_friction icon unused states.

Bug: 34802842
Test: NA - nonfunctional refactor
Change-Id: I3ad11a8b65bf8ac8aea0a240afa74724d4fb34f3

7 years agoFix list item spacing for preferences.
Sundeep Ghuman [Wed, 15 Mar 2017 23:40:34 +0000 (16:40 -0700)]
Fix list item spacing for preferences.

Bug: b/33970117
Test: Existing tests pass - purely UI margin change. See screenshots in
bug.

Change-Id: I08ce646c9db2401c1462801ab39713fca8f5cc26

7 years agoMerge "Add lifecycle methods for managing the options menu."
Daniel Nishi [Fri, 17 Mar 2017 19:41:39 +0000 (19:41 +0000)]
Merge "Add lifecycle methods for managing the options menu."

7 years agoMerge "Update the spacing on the Storage header."
Daniel Nishi [Fri, 17 Mar 2017 19:41:19 +0000 (19:41 +0000)]
Merge "Update the spacing on the Storage header."

7 years agoUpdate strings for Apps & notifications screen.
Doris Ling [Fri, 17 Mar 2017 18:57:22 +0000 (11:57 -0700)]
Update strings for Apps & notifications screen.

Bug: 36376411
Test: builds
Change-Id: I92c08bfc0c6c85db07fede31eeef7fb9c0babbea

7 years agoCache the summary and icons for Security Settings injected tiles.
William Luh [Thu, 16 Mar 2017 17:05:04 +0000 (10:05 -0700)]
Cache the summary and icons for Security Settings injected tiles.

This helps the summary and icons load more smoothly when resuming
from recents.

Bug: 35994047
Test: make RunSettingsRoboTests
Change-Id: I763f7dd19f64007959e1281f0ff04ecd19bbfbfc

7 years agoRemove "remove account" from account sync detail page
Fan Zhang [Fri, 17 Mar 2017 18:01:55 +0000 (11:01 -0700)]
Remove "remove account" from account sync detail page

Change-Id: I40cc9d3d593c31a5e3b02553ac12f77c0825ed51
Fix: 36375879
Test: make RunSettingsRoboTests

7 years agoMerge "Change ripple in battery pages"
Lei Yu [Fri, 17 Mar 2017 17:11:46 +0000 (17:11 +0000)]
Merge "Change ripple in battery pages"

7 years agoRemove ambiguous wildcard import of org.mockito.Matchers.*
Paul Duffin [Fri, 17 Mar 2017 13:10:03 +0000 (13:10 +0000)]
Remove ambiguous wildcard import of org.mockito.Matchers.*

The recent upgrade to Mockito 2.7.13 has caused some problems
for grok (and new javac toolchain). The changed files used
wildcard imports to import the same methods from both Matchers
and Mockito.

This was not a problem previously because in the previous
version of Mockito the Mockito class extended the Matchers class
and so even though two methods with the same name were imported
they were not treated as a conflict because they were treated as
being the same method. In 2.7.13 the Mockito class no longer
extends the Matchers class instead they both extend the
ArgumentMatchers class and so for some reason javac no longer
treats them as the same method.

This was not detected by presubmit builds because jack is
still treating the methods as being the same.

Bug: 32912773
Test: m -j32 ANDROID_FORCE_JACK_ENABLED=disabled FrameworksWifiTests
Change-Id: I8c2b1dd39d2d653fe0fba19ed6421b7de25bb82f

7 years agoMerge "Fix NPE when building suggestion identifier."
TreeHugger Robot [Fri, 17 Mar 2017 01:47:59 +0000 (01:47 +0000)]
Merge "Fix NPE when building suggestion identifier."

7 years agoMerge "Add "Use open Wi-Fi automatically" setting."
TreeHugger Robot [Fri, 17 Mar 2017 01:34:24 +0000 (01:34 +0000)]
Merge "Add "Use open Wi-Fi automatically" setting."

7 years agoFix NPE when building suggestion identifier.
Fan Zhang [Thu, 16 Mar 2017 22:50:31 +0000 (15:50 -0700)]
Fix NPE when building suggestion identifier.

And refactored the getIdent logic into feature provider.

Change-Id: Id6f66a6942cbaf6d26ae4dca62037a6cf01179a5
Fix: 36314240
Test: make RunSettingsRoboTests

7 years agoMerge "Listen to mobile data enabled flag change."
TreeHugger Robot [Fri, 17 Mar 2017 00:09:53 +0000 (00:09 +0000)]
Merge "Listen to mobile data enabled flag change."

7 years agoAdd "Use open Wi-Fi automatically" setting.
Amin Shaikh [Thu, 2 Feb 2017 23:47:53 +0000 (15:47 -0800)]
Add "Use open Wi-Fi automatically" setting.

- Add toggle to ConfigureWifiSettings for "Use open Wi-Fi automatically"
- Start ACTION_CUSTOM_ENABLE activity and handle result to set the
USE_OPEN_WIFI_PACKAGE setting.

Bug: 34773276
Test: make
Change-Id: I602e271d5113e415d290468548e35059bd45d8b8

7 years agoAdd lifecycle methods for managing the options menu.
Daniel Nishi [Thu, 16 Mar 2017 23:02:02 +0000 (16:02 -0700)]
Add lifecycle methods for managing the options menu.

Test: Settings robotests
Change-Id: I087cd0ec097041a4c4e0dd561dd2ec62f45f5390

7 years agoChange ripple in battery pages
jackqdyulei [Wed, 15 Mar 2017 18:14:29 +0000 (11:14 -0700)]
Change ripple in battery pages

1. Add ripple for battery header
2. Remove ripple for battery usage graph

Bug: 35959227
Bug: 35957849
Test: Manual
Change-Id: I7b9965304d0c79b59bdac92719e303931206b672

7 years agoMerge "Purify SettingsActivity from old search code."
TreeHugger Robot [Thu, 16 Mar 2017 23:01:44 +0000 (23:01 +0000)]
Merge "Purify SettingsActivity from old search code."

7 years agoListen to mobile data enabled flag change.
Fan Zhang [Thu, 16 Mar 2017 19:50:44 +0000 (12:50 -0700)]
Listen to mobile data enabled flag change.

The listener is necessary to show/hide the gear icon on top of billing
cycle settings screen as user turn on/off mobile data from QS.

code cleanup: remove dividedCategory

Fix: 28066849
Test: make RunSettinsgRoboTests

Change-Id: I3b7075512042127fd711a8a70a572adfed069502

7 years agoMerge "Change name of NetworkScorerPicker."
TreeHugger Robot [Thu, 16 Mar 2017 21:54:59 +0000 (21:54 +0000)]
Merge "Change name of NetworkScorerPicker."

7 years agoPurify SettingsActivity from old search code.
Matthew Fritze [Thu, 16 Mar 2017 20:19:20 +0000 (13:19 -0700)]
Purify SettingsActivity from old search code.

Bug:3576394432590887
Test: make RunSettingsRoboTests
Change-Id: Id8140b68a676e595bff095546fa119cd3ced2c4a

7 years agoChange name of NetworkScorerPicker.
Stephen Chen [Thu, 16 Mar 2017 20:22:22 +0000 (13:22 -0700)]
Change name of NetworkScorerPicker.

Bug: 36028168
Test: n/a
Change-Id: I8eb8c1ebf703692882b025bebecb0953f934dcd6

7 years agoMerge "Remove ranking code for Old Search"
TreeHugger Robot [Thu, 16 Mar 2017 20:15:01 +0000 (20:15 +0000)]
Merge "Remove ranking code for Old Search"

7 years agoMerge "Fix a crash when resuming sound setting with AfW on Ryu"
Fan Zhang [Thu, 16 Mar 2017 20:13:35 +0000 (20:13 +0000)]
Merge "Fix a crash when resuming sound setting with AfW on Ryu"

7 years agoMerge "Remove unused ExploreByTouchHelper class"
Maurice Lam [Thu, 16 Mar 2017 19:47:00 +0000 (19:47 +0000)]
Merge "Remove unused ExploreByTouchHelper class"

7 years agoMerge "Update some strings to match spec"
TreeHugger Robot [Thu, 16 Mar 2017 18:30:09 +0000 (18:30 +0000)]
Merge "Update some strings to match spec"

7 years agoFix a crash when resuming sound setting with AfW on Ryu
Fan Zhang [Thu, 16 Mar 2017 18:08:59 +0000 (11:08 -0700)]
Fix a crash when resuming sound setting with AfW on Ryu

Also renamed a few xmls

Change-Id: I8ff5a778a39ea45471a27048be4ea2f21075872a
Fix: 36357493
Test: make RunSettingsRoboTests

7 years agoMerge "packages/apps/Settings: Add APCT tests to the device-tests suite."
TreeHugger Robot [Thu, 16 Mar 2017 18:06:23 +0000 (18:06 +0000)]
Merge "packages/apps/Settings: Add APCT tests to the device-tests suite."

7 years agoMerge "Optimized Code: call direct method to get integer extra" am: b7fa46453a am...
liurong [Thu, 16 Mar 2017 17:33:53 +0000 (17:33 +0000)]
Merge "Optimized Code: call direct method to get integer extra" am: b7fa46453a am: 7e51242c05
am: e821a7af23

Change-Id: I9f042c269caa25c2824e62e06e4fb775124310b7

7 years agoRemove unused ExploreByTouchHelper class
Maurice Lam [Thu, 16 Mar 2017 03:31:36 +0000 (20:31 -0700)]
Remove unused ExploreByTouchHelper class

Framework bug fixes removed the need for this copy, and
it's not referenced anyway.

Test: Existing tests pass
Change-Id: I1dd5045246ed737b30da2d558d14bc2c86af4f31

7 years agoMerge "Optimized Code: call direct method to get integer extra" am: b7fa46453a
liurong [Thu, 16 Mar 2017 17:30:51 +0000 (17:30 +0000)]
Merge "Optimized Code: call direct method to get integer extra" am: b7fa46453a
am: 7e51242c05

Change-Id: Ide77fb0f05a8eeb2df4ab24dc1831cd734c95362

7 years agoMerge "Optimized Code: call direct method to get integer extra"
liurong [Thu, 16 Mar 2017 17:27:51 +0000 (17:27 +0000)]
Merge "Optimized Code: call direct method to get integer extra"
am: b7fa46453a

Change-Id: Ib7194de15766eb4912e7bbd43b308bd51dd5496a

7 years agoMerge "Optimized Code: call direct method to get integer extra"
Treehugger Robot [Thu, 16 Mar 2017 17:23:29 +0000 (17:23 +0000)]
Merge "Optimized Code: call direct method to get integer extra"

7 years agoUpdate some strings to match spec
Fan Zhang [Wed, 15 Mar 2017 23:13:46 +0000 (16:13 -0700)]
Update some strings to match spec

Change-Id: Iba242871fce9c9bca8fbbc5d3ad3f7948f35d3d0
Fix: 36234108
Test: make RunSettingsRoboTests

7 years agoRemove ranking code for Old Search
Matthew Fritze [Wed, 15 Mar 2017 22:46:21 +0000 (15:46 -0700)]
Remove ranking code for Old Search

Test: make RunSettingsRoboTests
Bug:35763944
Change-Id: I30b1d22f2de293bd6ff03352ca5793b00beec61a

7 years agoMerge "Change strings for system alert window setting"
Christine Franks [Thu, 16 Mar 2017 15:25:50 +0000 (15:25 +0000)]
Merge "Change strings for system alert window setting"

7 years agoNotification channel settings updates
Julia Reynolds [Wed, 15 Mar 2017 15:32:54 +0000 (11:32 -0400)]
Notification channel settings updates

- Show a deleted count instead of individual deleted channels
- Make the link to app settings more prominent
- Reload settings onresume

Change-Id: I4f493181194943310ba536eb2bca270cec7cafce
Fixes: 36119790
Fixes: 36191444
Test: manual

7 years agoDisplay channel/group names only.
Julia Reynolds [Mon, 13 Mar 2017 19:06:28 +0000 (15:06 -0400)]
Display channel/group names only.

Test: manual
Change-Id: I7da68f71ddb78f3150ebc64af40310de65cd010c

7 years agoOptimized Code: call direct method to get integer extra
liurong [Thu, 16 Mar 2017 11:52:40 +0000 (19:52 +0800)]
Optimized Code: call direct method to get integer extra

Description: Make the default preferred sim slot as the first one(0) when get PREFERRED_SIM.

Test: NA
Change-Id: Id54bdbefd413c58ecd637cb8ff522861ead79331
Signed-off-by: liurong <liurong@xiaomi.com>
7 years agoMerge "Fixes string reference in SEARCH_INDEX_DATA_PROVIDER and minor changes to...
Saige McVea [Thu, 16 Mar 2017 00:49:33 +0000 (00:49 +0000)]
Merge "Fixes string reference in SEARCH_INDEX_DATA_PROVIDER and minor changes to UI based on UX review."

7 years agoMerge "Create robolectric tests for WifiNetworkDetailsFragment."
TreeHugger Robot [Thu, 16 Mar 2017 00:46:37 +0000 (00:46 +0000)]
Merge "Create robolectric tests for WifiNetworkDetailsFragment."

7 years agoChange strings for system alert window setting
Christine Franks [Tue, 14 Mar 2017 17:25:46 +0000 (10:25 -0700)]
Change strings for system alert window setting

Bug: 36070413
Test: Settings reflects new strings, and make RunSettingsRoboTests
Change-Id: I94a92ecee4d37fff2a0c128061d90ed6ef1cc016

7 years agoMerge "SearchFragment removes stale data from the database"
TreeHugger Robot [Thu, 16 Mar 2017 00:17:11 +0000 (00:17 +0000)]
Merge "SearchFragment removes stale data from the database"

7 years agoMerge "Disable collapse when fragment is opened from search"
TreeHugger Robot [Thu, 16 Mar 2017 00:13:18 +0000 (00:13 +0000)]
Merge "Disable collapse when fragment is opened from search"

7 years agoAdd borders to the Automatic Storage Management switch.
Daniel Nishi [Thu, 16 Mar 2017 00:01:11 +0000 (17:01 -0700)]
Add borders to the Automatic Storage Management switch.

This adds a top and bottom line to the switch.

Change-Id: Ida01c3f28c201a9203b06c9e0c147b5171fe3781
Fixes: 36223332
Test: Manual

7 years agoUse total size and not free in Storage summary.
Daniel Nishi [Wed, 15 Mar 2017 22:48:40 +0000 (15:48 -0700)]
Use total size and not free in Storage summary.

Fixes: 36223330
Test: Settings Robotest
Change-Id: I4406dc673961db0f91ae37da3abd0e1541517c7d

7 years agoMerge "Bluetooth: leave screen off for permission request" am: 172b01035d am: 09f5638b92
Marie Janssen [Wed, 15 Mar 2017 23:02:23 +0000 (23:02 +0000)]
Merge "Bluetooth: leave screen off for permission request" am: 172b01035d am: 09f5638b92
am: 895ac35f4d

Change-Id: I9e162f37b76ad8e7adc438d082d8352720916df0

7 years agoMerge "Bluetooth: leave screen off for permission request" am: 172b01035d
Marie Janssen [Wed, 15 Mar 2017 23:00:06 +0000 (23:00 +0000)]
Merge "Bluetooth: leave screen off for permission request" am: 172b01035d
am: 09f5638b92

Change-Id: I5af6b6f3d6463cd33c9074d31ba0e8c16eb6c9a7

7 years agoMerge "Bluetooth: leave screen off for permission request"
Marie Janssen [Wed, 15 Mar 2017 22:57:38 +0000 (22:57 +0000)]
Merge "Bluetooth: leave screen off for permission request"
am: 172b01035d

Change-Id: Id768f3a4cdbb4286cd1096f94b6fb5b11bae6cc8

7 years agoMerge "Bluetooth: leave screen off for permission request"
Treehugger Robot [Wed, 15 Mar 2017 22:49:56 +0000 (22:49 +0000)]
Merge "Bluetooth: leave screen off for permission request"

7 years agoAdd new strings.
Daniel Nishi [Tue, 14 Mar 2017 18:30:17 +0000 (11:30 -0700)]
Add new strings.

Bug: 36197674
Test: Manual
Change-Id: Id198ae9a38caece97435b60561c1273f9408ef90

7 years agoUpdate the spacing on the Storage header.
Daniel Nishi [Tue, 14 Mar 2017 17:51:29 +0000 (10:51 -0700)]
Update the spacing on the Storage header.

This updates the spacing between the summary text.

Bug: 36223821
Test: Manual

Change-Id: I30640964ee05b1e49038ceb67c9c7bf86f637b5a

7 years agoSearchFragment removes stale data from the database
Matthew Fritze [Tue, 24 Jan 2017 03:33:34 +0000 (19:33 -0800)]
SearchFragment removes stale data from the database

When search fragment is created, it will get a list of
the non-indexable keys and verify that each of the results
are not a part of that list.

This CL moves the non-indexable keys logic into a
controller for shared use between SearchFragment
and DatabaseIndexingManager.

Bug:33209418
Test: make RunSettingsRoboTests
Change-Id: I4ed3812ecc5ee9e63b75ba6edbc7ff8712e8e9c9

7 years agoCreate robolectric tests for WifiNetworkDetailsFragment.
Sundeep Ghuman [Wed, 15 Mar 2017 02:59:36 +0000 (19:59 -0700)]
Create robolectric tests for WifiNetworkDetailsFragment.

More tests to follow in separate CLs. Submitting test class in order to
unblock parallel development.

Bug: 35963536
Test: make RunSettingsRoboTests
Change-Id: I50752ba0d6c53d016bf5809f7bd5d5f6e0350b90

7 years agoMerge "Use GLIF theme for screen lock confirmation"
TreeHugger Robot [Wed, 15 Mar 2017 22:26:36 +0000 (22:26 +0000)]
Merge "Use GLIF theme for screen lock confirmation"

7 years agoDisable collapse when fragment is opened from search
Fan Zhang [Wed, 15 Mar 2017 22:06:41 +0000 (15:06 -0700)]
Disable collapse when fragment is opened from search

Change-Id: I9564dff4ec53256a0fe992055049cf65ce68e37b
Fix: 36076953
Test: make RunSettingsRoboTests

7 years agopackages/apps/Settings: Add APCT tests to the device-tests suite.
Simran Basi [Wed, 15 Mar 2017 22:12:17 +0000 (15:12 -0700)]
packages/apps/Settings: Add APCT tests to the device-tests suite.

This CL adds the APCT tests within this project to
a similar suite as CTS known as device-tests.

The current method of running APCT tests in the infrastructure
is unaffected.

Bug: 35882476
Test: `make dist device-tests -j` and local builds of
      continuous_instrumentation_tests & continuous_native_tests

Change-Id: Ie1b2c6aefbe1497a2e90077a3ed8ab75721dc87b

7 years agoFixes string reference in SEARCH_INDEX_DATA_PROVIDER and minor changes to UI based...
Saige McVea [Wed, 15 Mar 2017 07:53:41 +0000 (00:53 -0700)]
Fixes string reference in SEARCH_INDEX_DATA_PROVIDER and minor changes to UI based on UX review.

Bug: 34682532

Test: ag/1813674 and manual testing with TalkBack, Switch Access, S2S, and Accessibility Scanner.

Undo "Revert "Accessibility settings refresh.""
This reverts commit 31d855e73974722e78cd4cf244746a143191b4a7.

Change-Id: I7187250e8070418894aee4ee6c8c5d8282339c82