OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoRename remaining layouts to original search names
Matthew Fritze [Wed, 22 Mar 2017 16:02:01 +0000 (09:02 -0700)]
Rename remaining layouts to original search names

Change-Id: Ibb0aa087e797c3e7ae93556cf4a00d9746694532
Fixes: 32590887
Test: make RunSettingsGoogleRoboTests

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

7 years agoMerge "Refactor all saved query related logic into a controller"
TreeHugger Robot [Wed, 15 Mar 2017 21:44:35 +0000 (21:44 +0000)]
Merge "Refactor all saved query related logic into a controller"

7 years agoMerge "Add new theme in Settings."
Stefano Tommasini [Wed, 15 Mar 2017 21:35:12 +0000 (21:35 +0000)]
Merge "Add new theme in Settings."

7 years agoSize and position the donut.
Daniel Nishi [Wed, 15 Mar 2017 21:30:53 +0000 (14:30 -0700)]
Size and position the donut.

Change-Id: I06801bfb342be6ded2743f12998371e1aee49ba9
Fixes: 36224169
Test: Manual

7 years agoMerge "Category breakdown size should match total size."
Daniel Nishi [Wed, 15 Mar 2017 20:30:09 +0000 (20:30 +0000)]
Merge "Category breakdown size should match total size."

7 years agoUse GLIF theme for screen lock confirmation
Maurice Lam [Fri, 10 Mar 2017 23:31:30 +0000 (15:31 -0800)]
Use GLIF theme for screen lock confirmation

Theme the confirm password screen similar to setup wizard and screen
lock enrollment flow, so that we can start showing it during setup
wizard.
The new layouts are called "internal" because it's supposed to be
used only when another settings screen starts it. For external
intents from CONFIRM_DEVICE_CREDENTIAL, the existing theme and layout
are unchanged.

Bug: 32373672
Test: Run ConfirmLockPasswordTest with `am instrument`
Change-Id: Ib887a763a073e6e4b96264d08846827b2e5cbf52

7 years agoMerge "Allow page to suppress all of its content from search."
TreeHugger Robot [Wed, 15 Mar 2017 19:44:41 +0000 (19:44 +0000)]
Merge "Allow page to suppress all of its content from search."

7 years agoMerge "Add button to remove saved search query"
TreeHugger Robot [Wed, 15 Mar 2017 19:42:41 +0000 (19:42 +0000)]
Merge "Add button to remove saved search query"

7 years agoRefactor all saved query related logic into a controller
Fan Zhang [Wed, 15 Mar 2017 18:39:17 +0000 (11:39 -0700)]
Refactor all saved query related logic into a controller

Change-Id: I96f7dd91d7d2715141a9905cb59262d927560da4
Fix: 27391895
Test: make RunSettingsRoboTests

7 years agoMerge "Improve Wi-Fi Settings UI in guest mode" am: 31f64a1253 am: 241d902200
Jay [Wed, 15 Mar 2017 19:28:57 +0000 (19:28 +0000)]
Merge "Improve Wi-Fi Settings UI in guest mode" am: 31f64a1253 am: 241d902200
am: 94854cc57b  -s ours

Change-Id: Iffe4bd1fac36c1b51748b802308b3b5dcf5ccb54

7 years agoMerge "Improve Wi-Fi Settings UI in guest mode" am: 31f64a1253
Jay [Wed, 15 Mar 2017 19:24:13 +0000 (19:24 +0000)]
Merge "Improve Wi-Fi Settings UI in guest mode" am: 31f64a1253
am: 241d902200

Change-Id: I945b4604a82b8fccc2c24ea3faf1d7b299b3cfb7

7 years agoMerge "Improve Wi-Fi Settings UI in guest mode"
Jay [Wed, 15 Mar 2017 19:18:43 +0000 (19:18 +0000)]
Merge "Improve Wi-Fi Settings UI in guest mode"
am: 31f64a1253

Change-Id: I15f05538344aa615a4f69eebf7fdec66efc3cf29

7 years agoMerge "Improve Wi-Fi Settings UI in guest mode"
Treehugger Robot [Wed, 15 Mar 2017 19:11:25 +0000 (19:11 +0000)]
Merge "Improve Wi-Fi Settings UI in guest mode"

7 years agoAdd new theme in Settings.
Stefanot [Wed, 15 Mar 2017 16:41:38 +0000 (16:41 +0000)]
Add new theme in Settings.

We add this style so activities can use SuwThemeGlif.Light theme but
also use Settings default window animations.

Test: RunSettingsRoboTests

BUG: 35959708
Change-Id: Iaedfbf4b9321ff4d32ab44c57b01d9d4a24e0d03

7 years agoImprove Wi-Fi Settings UI in guest mode
Jay [Thu, 14 Jul 2016 08:31:03 +0000 (16:31 +0800)]
Improve Wi-Fi Settings UI in guest mode

Progress bar is still seen along with a permission forbidden tip in
guest mode and it's confusing. It should be hidden because actually
nothing happens there.

When Wi-Fi is off, Wi-Fi OFF tip should be shown even in guest mode
becuase it should be consistent with Wi-Fi status.

Improves d8c3ca43163427a75c8b70114096238177f97af0.

Bug:31235488
Test: manual inspection.

Change-Id: I611719db253a0aec03d61e881af0e5dc3869d50b
Merged-In: If89728e293721cea45dcd717316d87f6df17ea7c

7 years agoAdd button to remove saved search query
Fan Zhang [Wed, 15 Mar 2017 00:14:05 +0000 (17:14 -0700)]
Add button to remove saved search query

TODO: move all saved query related logic into its own manager instead of
leaving them in SearchFragment.

Change-Id: I9635140eb507331246f9035a23138421cfa4b50a
Fix: 27391895
Test: make RunSettingsRoboTests

7 years agoMerge "Update todo list comment in PowerUsageAdvanced"
Lei Yu [Wed, 15 Mar 2017 17:23:44 +0000 (17:23 +0000)]
Merge "Update todo list comment in PowerUsageAdvanced"

7 years agoMerge "Remove unused import."
TreeHugger Robot [Wed, 15 Mar 2017 16:37:00 +0000 (16:37 +0000)]
Merge "Remove unused import."

7 years agoMerge "Fix convert to fbe"
TreeHugger Robot [Wed, 15 Mar 2017 15:52:02 +0000 (15:52 +0000)]
Merge "Fix convert to fbe"

7 years agoRemove unused import.
Andrew Scull [Wed, 15 Mar 2017 14:32:27 +0000 (14:32 +0000)]
Remove unused import.

Missed the cleanup step from previous CL.

Test: it builds
Change-Id: I62494994731189f962ca2dd26a7c3283784792ed

7 years agoMerge "Disallow fingerprint based on user unlock state."
TreeHugger Robot [Wed, 15 Mar 2017 14:11:34 +0000 (14:11 +0000)]
Merge "Disallow fingerprint based on user unlock state."