Commit Graph

38210 Commits

Author SHA1 Message Date
Lei Yu
db62b52119 Merge "Add location check action for bt anomaly" into oc-dr1-dev am: a6b24388fc
am: 91dbfc6ee9

Change-Id: Ib7f5560b4ef44cb14bcf5e3633b09d179816b221
2017-06-28 18:13:20 +00:00
Lei Yu
91dbfc6ee9 Merge "Add location check action for bt anomaly" into oc-dr1-dev
am: a6b24388fc

Change-Id: I2f1e1b65a5d7583ff76d77d3923df5ad7e1e652e
2017-06-28 18:05:34 +00:00
jackqdyulei
c67694686f Merge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev am: d6df3b3d00
am: cbdaa2b56a

Change-Id: I1c260f3d1d089ae46ddba08dfc83063085ecbe42
2017-06-28 18:01:17 +00:00
jackqdyulei
cbdaa2b56a Merge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev
am: d6df3b3d00

Change-Id: I3ca5d821c33860f35d7fd37c0ddb92516095d099
2017-06-28 17:57:48 +00:00
Lei Yu
95a0bd4ca2 Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev am: 451b7edfd7
am: d3f035af0a

Change-Id: If1a3d3b931130efa18014538bc95c2d9ac41d410
2017-06-28 17:57:46 +00:00
Lei Yu
a6b24388fc Merge "Add location check action for bt anomaly" into oc-dr1-dev 2017-06-28 17:54:59 +00:00
Lei Yu
d3f035af0a Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
am: 451b7edfd7

Change-Id: I609e926c481e991d4039e42d0872ebcfd218679b
2017-06-28 17:54:20 +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
Fan Zhang
8072ff4220 Merge "Update string: Gesture setting title" into oc-dr1-dev am: b365594242
am: 1d16eb3622

Change-Id: I08b48e4e3c6049ddb9e25a3733b7f19b012bb051
2017-06-28 17:47:45 +00:00
Fan Zhang
1d16eb3622 Merge "Update string: Gesture setting title" into oc-dr1-dev
am: b365594242

Change-Id: I86d464edb6c4cf00e8e5062ef42b2717947f747a
2017-06-28 17:44:16 +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
jackqdyulei
051fb19dd4 Merge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev am: 7ea8ecdae1
am: fc55a3cef1

Change-Id: I7d23a1bab37417064a1ffc358f9856d711426c19
2017-06-28 17:20:04 +00:00
jackqdyulei
fc55a3cef1 Merge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev
am: 7ea8ecdae1

Change-Id: Ie6b814cf75ab555a94f2eb204499d10ae7a4cb0e
2017-06-28 17:16:34 +00: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
Doris Ling
d5d4ae7348 Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev am: c074c1c8fe
am: da9d206916

Change-Id: Ia2d3416b079c617450562eb0daf3ab3625b83d0f
2017-06-28 01:50:20 +00:00
Doris Ling
da9d206916 Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev
am: c074c1c8fe

Change-Id: Ibe3d07e72916fd45c1959e4dc194040b5bed3d17
2017-06-28 01:46:48 +00:00
TreeHugger Robot
c074c1c8fe Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev 2017-06-28 01:41:34 +00:00
Fan Zhang
8e1a32f3d0 Merge "Trim search query when initializing installed app searcher." into oc-dr1-dev am: a2c3828ede
am: b4e6874088

Change-Id: Ic2bf3841057347cd3a2556e53c5a5613135d9f4c
2017-06-28 00:38:30 +00:00
Maurice Lam
562e539516 Hide skip button when setting backup lock screen
Test: Manual
Bug: 62896253
Change-Id: If16de0b4276b55101f35543bbbf107a36ad7a8e9
2017-06-27 17:38:06 -07:00
Kevin Chyn
81031d2467 Assist gesture settings should reflect assistant eligibility/preferences am: 1b44a87987
am: cdcceec0fb

Change-Id: Ia5a061381db8d5e36ce1d31ac89ee2c58af27989
2017-06-28 00:35:32 +00:00
Fan Zhang
b4e6874088 Merge "Trim search query when initializing installed app searcher." into oc-dr1-dev
am: a2c3828ede

Change-Id: I169e01d0fbcbe5fa85710daec366e6025e890098
2017-06-28 00:31:42 +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
Kevin Chyn
cdcceec0fb Assist gesture settings should reflect assistant eligibility/preferences
am: 1b44a87987

Change-Id: Ifebce52e57590839770e2ea46eadb9e99abe5673
2017-06-28 00:29:36 +00: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
TreeHugger Robot
c7eee5fcee Merge "Update string id to make it more generic" 2017-06-27 23:06:43 +00: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
Fan Zhang
cf38863a6b Update string id to make it more generic
Test: builds
Bug: 62354743
Change-Id: I321f5e3d7560dbc21d52dbaa8ebe2df07f99a3db
2017-06-27 14:24:47 -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
c5c7ad875c Import translations. DO NOT MERGE am: 8e132ce53c -s ours am: 38b7d50a49 -s ours
am: 47ff496407  -s ours

Change-Id: I26b4e5178beb47f231e73889675f36bd2340d9e9
2017-06-27 20:30:30 +00:00
TreeHugger Robot
c343993be3 Merge "Improve delete fingerprint UI." 2017-06-27 20:27:49 +00:00
Bill Yi
47ff496407 Import translations. DO NOT MERGE am: 8e132ce53c -s ours
am: 38b7d50a49  -s ours

Change-Id: I9f2d7d683482701ef2a26cf2d03be8bdba8fa079
2017-06-27 20:21:25 +00:00
Bill Yi
1a14eb22db Import translations. DO NOT MERGE am: 8e132ce53c -s ours am: 7c952faa77 -s ours
am: 3c2a60e813  -s ours

Change-Id: Ifa974eb7ed6d61b78e2aac66c027b40920948e03
2017-06-27 20:20:00 +00:00
Bill Yi
5270ca6e25 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: 98bbb157a9 -s ours
am: 4b7bc479da  -s ours

Change-Id: I22490d0da5e44774b6d2b5015bbf6f6e9e02ba5b
2017-06-27 20:19:36 +00:00
Bill Yi
3c2a60e813 Import translations. DO NOT MERGE am: 8e132ce53c -s ours
am: 7c952faa77  -s ours

Change-Id: Ib5bf7b801f9c5df19fd8c7ae070f4fe760356a3f
2017-06-27 20:15:40 +00:00
Bill Yi
7c952faa77 Import translations. DO NOT MERGE
am: 8e132ce53c  -s ours

Change-Id: I4c3a65ee1c1bb82dacea7e874ef906cb08fce1ac
2017-06-27 20:08:19 +00:00
Bill Yi
4b7bc479da Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 98bbb157a9  -s ours

Change-Id: I65f40eb6eacfc157266ce57420bc9a1b6f508a6d
2017-06-27 20:06:53 +00: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
83d8ac94db Merge "Add Night Light to Settings widget" into oc-dr1-dev am: 2b0ea1c710
am: d695f232d5

Change-Id: I7275813e73a9eaf613ce74fc58bd2e89397514fd
2017-06-27 19:18:59 +00:00
TreeHugger Robot
ce319da841 Merge "Reduce jank around loading view when opening data usage UI" 2017-06-27 19:08:10 +00:00
Andrew Sapperstein
dd1dc22dcc Merge "Search results page polish" into oc-dr1-dev am: 692a4b5514
am: a35b49a17d

Change-Id: I74370bad4f49ad1e9464e377057b5aebc74696aa
2017-06-27 18:59:35 +00:00