Commit Graph

37072 Commits

Author SHA1 Message Date
TreeHugger Robot
ea3d314a10 Merge "Scroll to top when connecting to network." into oc-dr1-dev 2017-06-28 23:32:13 +00:00
Daniel Nishi
2cbe278ad4 Merge "Put the donut on a diet." into oc-dr1-dev 2017-06-28 20:54:57 +00:00
Daniel Nishi
ff8312b36b Merge "Use the proper style for the SpacePreference." into oc-dr1-dev 2017-06-28 20:54:29 +00:00
TreeHugger Robot
e2e54e17c7 Merge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev 2017-06-28 20:44:13 +00:00
TreeHugger Robot
e455c8f377 Merge "Add list-select as an inline result" into oc-dr1-dev 2017-06-28 20:27:00 +00:00
TreeHugger Robot
9a30ceab83 Merge "Hide the IDLE in "app list"" into oc-dr1-dev 2017-06-28 19:38:20 +00:00
TreeHugger Robot
923f50fce6 Merge "Update the UI for battery header" into oc-dr1-dev 2017-06-28 19:37:40 +00:00
Matthew Fritze
98a9e42c93 Add synchronous indexing api to SearchFeatureProvider
- Opens the database indexing to be synchronous for the
external settings api.
- Adds logging to track synchronous and async indexing
times.

Bug: 62826872
Test: make RunSettingsRoboTests
Change-Id: I28b69f3952946c0ae5dd7ea7da66f7a5fd485637
2017-06-28 11:31:27 -07:00
Daniel Nishi
e55bffaf59 Put the donut on a diet.
Shrinks the donut from 6dp to 4dp to closer match the mocks.

Change-Id: Iaf455beb4f54e7673ff6adc6068e0410fac379b5
Fixes: 62548749
Test: Manual
2017-06-28 18:29:40 +00:00
Matthew Fritze
694088075e Add list-select as an inline result
Move the majority of the Setting set & get logic into
InlinePayload, but add formatting of input to each
concrete payload class.

Bug: 62022517
Test: make RunSettingsRoboTests
Change-Id: I08932871554beb4a04625f05f8555a5b3a887fe2
2017-06-28 11:21:55 -07:00
Lei Yu
a6b24388fc Merge "Add location check action for bt anomaly" into oc-dr1-dev 2017-06-28 17:54:59 +00:00
TreeHugger Robot
d6df3b3d00 Merge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev 2017-06-28 17:53:30 +00:00
Lei Yu
451b7edfd7 Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev 2017-06-28 17:49:36 +00:00
TreeHugger Robot
b365594242 Merge "Update string: Gesture setting title" into oc-dr1-dev 2017-06-28 17:39:08 +00:00
jackqdyulei
a8957e15cc Update the UI for battery header
1. Make battery icon align to the end and make text layout
take all the other space.
2. Update the spec based on red line.

Bug: 63037934
Test: Screenshot
Change-Id: I1adbf5ce3e54712cbdc276db2357c7a24b48fe65
2017-06-28 10:29:01 -07:00
TreeHugger Robot
7ea8ecdae1 Merge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev 2017-06-28 17:08:46 +00:00
Fan Zhang
8f6e3e836d Update string: Gesture setting title
Change-Id: Ib73e300cb4b809dcc1da594ac6f84d9d020aeac9
Fix: 36685646
Test: visual
2017-06-28 15:40:04 +00:00
TreeHugger Robot
c074c1c8fe Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev 2017-06-28 01:41:34 +00:00
jackqdyulei
10fa63e62c Hide the IDLE in "app list"
Also don't smear it.

Bug: 62423075
Test: RunSettingsRoboTests
Change-Id: I74072f9dde0dcf7b9a4abb05b86fe2102b618d6a
2017-06-27 17:31:09 -07:00
TreeHugger Robot
a2c3828ede Merge "Trim search query when initializing installed app searcher." into oc-dr1-dev 2017-06-28 00:29:00 +00:00
jackqdyulei
118e2baabe Fix the getForegroundActivityTotalTimeMs
It should return milliseconds, not microseconds time

Bug: 63073847
Test: RunSettingsRoboTests
Change-Id: Ib7ddb947646062fc50a40d300829389e0ac401ee
2017-06-27 16:49:14 -07:00
jackqdyulei
c14daa2370 Add location check action for bt anomaly
This cl adds action to turn off location permission for both
ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION by using API
in RuntimePermissionPresenter

Bug: 36921532
Test: runtest -x LocationCheckActionTest

Change-Id: Ibe1e2908bd745a137d92a70a8432e9f866c1be61
2017-06-27 16:21:50 -07:00
Kevin Chyn
1b44a87987 Assist gesture settings should reflect assistant eligibility/preferences
Fixes: 37707753
Fixes: 62843146

Test: manual testing of settings && make -j RunSettingsRoboTests
Change-Id: I5e606686a03960e5cfe1df2f77c48d6ece9c363a
2017-06-27 15:08:33 -07:00
Daniel Nishi
d8dce76a1a Use the proper style for the SpacePreference.
The old style caused unsightly dividers to show up.

Change-Id: Ic59fdc9b2f120e8a637930f3246be5dab547af5b
Fixes: 62548473
Test: Manual
2017-06-27 14:28:21 -07:00
Doris Ling
8233ab5fe5 Fix crash when initializing Settings suggestions.
The dashboard spacer has been removed, but the remaining indexing is not
modified correspondingly, which results in mismatched dashboard types.
Set the dashboard header position back to 0.

Change-Id: I732c4ada556d5d4325e357b8325f66ded5cbe952
Fix: 63052534
Test: make RunSettingsRoboTests
2017-06-27 14:26:03 -07:00
jackqdyulei
13e3ab28ab Hide the summary for app in PowerUsageAdvanced
Bug: 62032053
Test: RunSettingsRoboTests
Change-Id: I83fdd20ef040d102b5d5210a10a810c119f5cf44
2017-06-27 13:49:17 -07:00
jackqdyulei
19648756cb Add quickUpdate method to BatteryHeaderPrefCtrl
This cl adds a method called quickUpdateHeaderPreference, which will
update the following items immediately without waiting for the
BatteryInfo:
1. Battery level
2. Battery charging status(whether to show lighting bolt)
3. Clear the charging summary

Note: this cl doesn't optimize the BatteryInfo loading time.

This cl also rename "TimeText" to "BatteryPercentText" because in
new UI that textview is used to display battery percentage.

Bug: 63029231
Test: RunSettingsRoboTests
Change-Id: I8cc886b35e937d73b46e47e303ff0994ccdcb61c
2017-06-27 13:35:41 -07:00
Bill Yi
38b7d50a49 Import translations. DO NOT MERGE
am: 8e132ce53c  -s ours

Change-Id: I1546d616bc8d0344d9538cdb0c5fb80b3454105a
2017-06-27 20:06:52 +00:00
TreeHugger Robot
98bbb157a9 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-06-27 19:52:24 +00:00
Fan Zhang
fbcf4e6e14 Trim search query when initializing installed app searcher.
Change-Id: I502185d4b497b2edac32e4a8368be76d13b68259
Fix: 62885439
Test: make RunSettingsRoboTests
2017-06-27 19:48:54 +00:00
Sean Stout
2b0ea1c710 Merge "Add Night Light to Settings widget" into oc-dr1-dev 2017-06-27 18:04:30 +00:00
TreeHugger Robot
692a4b5514 Merge "Search results page polish" into oc-dr1-dev 2017-06-27 16:53:54 +00:00
Bill Yi
8e132ce53c Import translations. DO NOT MERGE
Change-Id: I19a85ce3981e7aac6708b6aa2d78fd51c9d03141
Auto-generated-cl: translation import
2017-06-27 00:26:26 -07:00
Bill Yi
fda3a11ba7 Import translations. DO NOT MERGE
Change-Id: I032ef2ee9e18202c2b114497577e8fd770ec6775
Auto-generated-cl: translation import
2017-06-27 00:20:56 -07:00
TreeHugger Robot
63e36128e6 Merge "Fix assist gesture settings summary" into oc-dr1-dev 2017-06-27 03:28:43 +00:00
TreeHugger Robot
3b7ed7ae65 Merge "Dashboard search bar polish" into oc-dr1-dev 2017-06-27 02:28:26 +00:00
Maurice Lam
fbfca43e6e Merge "Rename buttons in lock screen setup" into oc-dr1-dev 2017-06-27 01:10:49 +00:00
Maurice Lam
b97f91c971 Merge "Update skip button label to "Do it later"" into oc-dr1-dev 2017-06-27 01:10:37 +00:00
Maurice Lam
624212f43c Merge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev 2017-06-27 01:10:23 +00:00
Maurice Lam
a102714c19 Merge "Update buttons in FP find sensor" into oc-dr1-dev 2017-06-27 01:10:10 +00:00
Andrew Sapperstein
ab0c049bc2 Search results page polish
Changes made:
- up button added and in correct place
- text color correct when entering query
- query text aligned with results
- grey background around searchbar

Fixes: 37477506
Test: robotests
Change-Id: Ieb135f81f684032f3d5e4102304e617088c88117
2017-06-26 17:19:53 -07:00
Sundeep Ghuman
eb41c8cf15 Scroll to top when connecting to network.
Bug: b/34093572
Test: Open wifi picker. Select new network. Picker should scroll to top
of list to display the connected access point category.

Change-Id: Ie555f076a62e8cb589f8c6157d628b345cd84a4c
2017-06-26 16:57:27 -07:00
TreeHugger Robot
124232d6fa Merge "Update icon for language settings" into oc-dr1-dev 2017-06-26 22:08:34 +00:00
TreeHugger Robot
0e393d4163 Merge "Remove unnecessary functions from AssistGestureFeatureProvider" into oc-dr1-dev 2017-06-26 20:23:11 +00:00
TreeHugger Robot
1eb2f15339 Merge "Update the chargeLabel when battery level is full" into oc-dr1-dev 2017-06-26 20:22:27 +00:00
TreeHugger Robot
da45ba8c9e Merge "Hide misc in battery settings" into oc-dr1-dev 2017-06-26 19:52:55 +00:00
TreeHugger Robot
ee55927bd4 Merge "Add a rename dialog for paired Bluetooth devices" into oc-dr1-dev 2017-06-26 19:35:06 +00:00
Fan Zhang
b30fb0f580 Update icon for language settings
Change-Id: I74691be4d2e8377640b931a3b05021129ce246d5
Fix: 37929875
Test: visual
2017-06-26 19:01:31 +00:00
jackqdyulei
d856294bf1 Hide misc in battery settings
Hide it in any condition:
1. both in app usage list and device usage list
2. in all targets(i.e. user, userdebug..)

Bug: 62422405
Test: RunSettingsRoboTests
Change-Id: I36bd043942ce7e2353163868bf6d86f422f8e7ee
2017-06-26 10:36:05 -07:00
Andrew Sapperstein
40be7df5df Dashboard search bar polish
Various tweaks to match redlines:
- background is now grey all the time
- the search icon is aligned with the other icons
- the title text is primary colored instead of accent colored
- the background of search bar doesn't scroll anymore

Deletes a bunch of logic to add an initial view that would be
colored based on the first view. It never quite worked right.
Now it's consistent and never moves.

Bug: 37477506
Fixes: 62267378
Fixes: 62379978
Fixes: 62361213
Test: robotests
Change-Id: Iddfd45a64a0a8d0365397a207889d7225d1ebb70
Merged-In: I82c584e8f8ecc6fc298c5cdbce08516c6a069a39
2017-06-26 10:28:49 -07:00