Commit Graph

33980 Commits

Author SHA1 Message Date
Matthew Fritze
aa15a8e9c6 Remove ranking code for Old Search
Test: make RunSettingsRoboTests
Bug:35763944
Change-Id: I30b1d22f2de293bd6ff03352ca5793b00beec61a
2017-03-16 08:53:14 -07:00
Julia Reynolds
8973e2786d 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
2017-03-16 14:31:00 +00:00
Julia Reynolds
2194f3db37 Display channel/group names only.
Test: manual
Change-Id: I7da68f71ddb78f3150ebc64af40310de65cd010c
2017-03-16 14:21:56 +00:00
Saige McVea
8ba1bf34b4 Merge "Fixes string reference in SEARCH_INDEX_DATA_PROVIDER and minor changes to UI based on UX review." 2017-03-16 00:49:36 +00:00
TreeHugger Robot
94d2dece74 Merge "Create robolectric tests for WifiNetworkDetailsFragment." 2017-03-16 00:46:38 +00:00
TreeHugger Robot
54c962f55e Merge "SearchFragment removes stale data from the database" 2017-03-16 00:17:12 +00:00
TreeHugger Robot
b1427f0034 Merge "Disable collapse when fragment is opened from search" 2017-03-16 00:13:19 +00:00
Marie Janssen
68a414e86c Merge "Bluetooth: leave screen off for permission request" am: 172b01035d am: 09f5638b92
am: 895ac35f4d

Change-Id: I9e162f37b76ad8e7adc438d082d8352720916df0
2017-03-15 23:02:23 +00:00
Marie Janssen
895ac35f4d Merge "Bluetooth: leave screen off for permission request" am: 172b01035d
am: 09f5638b92

Change-Id: I5af6b6f3d6463cd33c9074d31ba0e8c16eb6c9a7
2017-03-15 23:00:06 +00:00
Marie Janssen
09f5638b92 Merge "Bluetooth: leave screen off for permission request"
am: 172b01035d

Change-Id: Id768f3a4cdbb4286cd1096f94b6fb5b11bae6cc8
2017-03-15 22:57:38 +00:00
Treehugger Robot
172b01035d Merge "Bluetooth: leave screen off for permission request" 2017-03-15 22:49:57 +00:00
Matthew Fritze
ebb5b7f73d 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
2017-03-15 15:34:49 -07:00
Sundeep Ghuman
4c1b174f5f 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
2017-03-15 15:34:42 -07:00
TreeHugger Robot
3fd95ef469 Merge "Use GLIF theme for screen lock confirmation" 2017-03-15 22:26:36 +00:00
Fan Zhang
f0215712ba Disable collapse when fragment is opened from search
Change-Id: I9564dff4ec53256a0fe992055049cf65ce68e37b
Fix: 36076953
Test: make RunSettingsRoboTests
2017-03-15 15:21:34 -07:00
Saige McVea
061362754a 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 31d855e739.

Change-Id: I7187250e8070418894aee4ee6c8c5d8282339c82
2017-03-15 15:07:33 -07:00
TreeHugger Robot
0104852dc0 Merge "Refactor all saved query related logic into a controller" 2017-03-15 21:44:36 +00:00
Stefano Tommasini
8d26d761e5 Merge "Add new theme in Settings." 2017-03-15 21:35:13 +00:00
Daniel Nishi
02b269be4b Merge "Category breakdown size should match total size." 2017-03-15 20:30:10 +00:00
Maurice Lam
daaf8f8bc9 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
2017-03-15 13:26:54 -07:00
TreeHugger Robot
0ef2a55b08 Merge "Allow page to suppress all of its content from search." 2017-03-15 19:44:41 +00:00
TreeHugger Robot
b86719765a Merge "Add button to remove saved search query" 2017-03-15 19:42:41 +00:00
Fan Zhang
8c3dc96b21 Refactor all saved query related logic into a controller
Change-Id: I96f7dd91d7d2715141a9905cb59262d927560da4
Fix: 27391895
Test: make RunSettingsRoboTests
2017-03-15 12:41:00 -07:00
Jay
84ac5299e4 Merge "Improve Wi-Fi Settings UI in guest mode" am: 31f64a1253 am: 241d902200
am: 94854cc57b  -s ours

Change-Id: Iffe4bd1fac36c1b51748b802308b3b5dcf5ccb54
2017-03-15 19:28:57 +00:00
Jay
94854cc57b Merge "Improve Wi-Fi Settings UI in guest mode" am: 31f64a1253
am: 241d902200

Change-Id: I945b4604a82b8fccc2c24ea3faf1d7b299b3cfb7
2017-03-15 19:24:13 +00:00
Jay
241d902200 Merge "Improve Wi-Fi Settings UI in guest mode"
am: 31f64a1253

Change-Id: I15f05538344aa615a4f69eebf7fdec66efc3cf29
2017-03-15 19:18:43 +00:00
Treehugger Robot
31f64a1253 Merge "Improve Wi-Fi Settings UI in guest mode" 2017-03-15 19:11:26 +00:00
Stefanot
dfb842a811 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
2017-03-15 18:18:49 +00:00
Jay
a620f52e64 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
2017-03-15 11:11:15 -07:00
Fan Zhang
fe44549626 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
2017-03-15 10:43:10 -07:00
Lei Yu
1d6e003630 Merge "Update todo list comment in PowerUsageAdvanced" 2017-03-15 17:23:44 +00:00
TreeHugger Robot
5fa4df348b Merge "Remove unused import." 2017-03-15 16:37:01 +00:00
TreeHugger Robot
819c0bdc04 Merge "Fix convert to fbe" 2017-03-15 15:52:03 +00:00
Andrew Scull
83a026f81b Remove unused import.
Missed the cleanup step from previous CL.

Test: it builds
Change-Id: I62494994731189f962ca2dd26a7c3283784792ed
2017-03-15 14:42:58 +00:00
TreeHugger Robot
14ad1f0247 Merge "Disallow fingerprint based on user unlock state." 2017-03-15 14:11:35 +00:00
Andrew Scull
783870c205 Disallow fingerprint based on user unlock state.
Previously, the KeyStore lock state was used but this doesn't hold any
real value and may be removed in future. The user unlock state is the
source of truth we are looking for.

Test: Enroll finger, turn off work, lock and unlock device, turn on
work, asked for pin but can no longer user fingerprint.
Fixes: 34858001

Change-Id: I228952f4f7fd24916d294b5b523c6d3609520506
2017-03-15 12:42:18 +00:00
TreeHugger Robot
517ac9791e Merge "Fix Wi-Fi Settings Guest mode UI." 2017-03-15 04:03:57 +00:00
TreeHugger Robot
7cfcff31c1 Merge "Revert "Make IME handling deterministic in CryptKeeper"" 2017-03-15 02:43:12 +00:00
Stephen Chen
b77cbe5bb2 Fix Wi-Fi Settings Guest mode UI.
Progress bar should not show in guest mode when onViewCreated.

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

Bug: 35627922
Test: tracked in b/35324506
Change-Id: If89728e293721cea45dcd717316d87f6df17ea7c
2017-03-14 19:33:36 -07:00
TreeHugger Robot
1b6385af70 Merge "Fix calculation of Access Point Level." 2017-03-15 01:45:29 +00:00
TreeHugger Robot
da18efe6bf Merge "Clarify meaning of string" 2017-03-15 01:40:46 +00:00
Tom Cherry
cf026ead80 Revert "Make IME handling deterministic in CryptKeeper"
This reverts commit 4ae46cd1ad.

Bug: 36148078

Change-Id: I776ad2e6ba0eabacb3d6be6de23ba37fe5ce7bc7
2017-03-15 01:15:49 +00:00
TreeHugger Robot
1ddb1f441a Merge "Create the Wifi Network Details Page." 2017-03-15 01:03:20 +00:00
Sundeep Ghuman
8f060d7148 Fix calculation of Access Point Level.
Bug: b/35854026
Test: make RunSettingsRoboTests
Change-Id: I5287e8c7b46a463cfa25659c756f6ca9175cb68c
2017-03-14 17:11:57 -07:00
Bartosz Fabianowski
e301764b10 Clarify meaning of string
Translators got confused by one of the strings. Add a more
detaled explanation what the string refers to.

Bug: 36170404
Test: None

Change-Id: I7a66fcd5943205501188c5fca2e68630e447f69f
2017-03-15 00:48:30 +01:00
Sundeep Ghuman
07db40434b Create the Wifi Network Details Page.
This page should not be searchable, as it corresponds to a specific
access point, thus click on a search result would not have an access
point in which to open.

Fix WifiPicker bugs b/35883232 and b/35951638 that deal with UI jank.

Bug: 34713316
Test: Tracked in b/35963536 and to be implemented in an immediate follow
up CL.
Change-Id: Iad7f26c7f04c3fc7d07a8e9188843eeb4d44cd36
2017-03-14 15:31:20 -07:00
TreeHugger Robot
4f18cf4e20 Merge "Add Advanced button to Apps & notifications page." 2017-03-14 22:21:23 +00:00
TreeHugger Robot
be0e3f376e Merge "Display recents when search fragment open." 2017-03-14 21:46:34 +00:00
Fan Zhang
cabc509e4f Allow page to suppress all of its content from search.
To suppress things from search, we usually use preferencecontroller to
control individual items. But a page can sometimes to disabled
entirely. Now it can set isPageSearchEnabled to false to achieve that.

Change-Id: I39424b7fdc6460e27fd7c83cf09b5ace12d1cc37
Fix: 36201167
Test: make RunSettingsRoboTests
2017-03-14 13:59:33 -07:00
Doris Ling
fe3b134b62 Add Advanced button to Apps & notifications page.
- set the progressive mixin to show 3 items initially.

Change-Id: I874982e9b230d5b6afe4f2ced8e8c8c4dd84ba79
Fix: 36177949
Test: visual
2017-03-14 13:23:29 -07:00