OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Use proper title for support page." into oc-dr1-dev am: 05872fc1c7
Andrew Sapperstein [Thu, 29 Jun 2017 16:49:31 +0000 (16:49 +0000)]
Merge "Use proper title for support page." into oc-dr1-dev am: 05872fc1c7
am: 115f0603eb

Change-Id: I4a1c4b02311fbdbc9bf7ae7158c3f2060e5ba9c9

7 years agoMerge "Use proper title for support page." into oc-dr1-dev
Andrew Sapperstein [Thu, 29 Jun 2017 16:38:16 +0000 (16:38 +0000)]
Merge "Use proper title for support page." into oc-dr1-dev
am: 05872fc1c7

Change-Id: Ie8d19b8925328b296879179d4c88af217d66edaa

7 years agoMerge "Use proper title for support page." into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 16:31:06 +0000 (16:31 +0000)]
Merge "Use proper title for support page." into oc-dr1-dev

7 years agoMerge "Reduce number of wallpaper results in search." into oc-dr1-dev am: 63c63ff640
Andrew Sapperstein [Thu, 29 Jun 2017 04:52:32 +0000 (04:52 +0000)]
Merge "Reduce number of wallpaper results in search." into oc-dr1-dev am: 63c63ff640
am: 301dfdd8d1

Change-Id: Iab4d5c24b9ac7cee39af3bcc14631fa09bb455c5

7 years agoMerge "Reduce number of wallpaper results in search." into oc-dr1-dev
Andrew Sapperstein [Thu, 29 Jun 2017 04:48:30 +0000 (04:48 +0000)]
Merge "Reduce number of wallpaper results in search." into oc-dr1-dev
am: 63c63ff640

Change-Id: I165409df28685c85ca2edc22971e4471d9ff549f

7 years agoMerge "Reduce number of wallpaper results in search." into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 04:38:44 +0000 (04:38 +0000)]
Merge "Reduce number of wallpaper results in search." into oc-dr1-dev

7 years agoMerge "Read theme for lock screen flows" into oc-dr1-dev am: 864d5c96d7
Maurice Lam [Thu, 29 Jun 2017 02:07:19 +0000 (02:07 +0000)]
Merge "Read theme for lock screen flows" into oc-dr1-dev am: 864d5c96d7
am: d3d1210fad

Change-Id: I6f689b5242b122eb2f4388de10acb7e4c7e3b81e

7 years agoMerge "Read theme for lock screen flows" into oc-dr1-dev
Maurice Lam [Thu, 29 Jun 2017 02:00:33 +0000 (02:00 +0000)]
Merge "Read theme for lock screen flows" into oc-dr1-dev
am: 864d5c96d7

Change-Id: I5b70f7ac6ff0c4598f3f409d682c9ff2dec42471

7 years agoMerge "Disable SmartSuggestion conditionally"
TreeHugger Robot [Thu, 29 Jun 2017 01:55:52 +0000 (01:55 +0000)]
Merge "Disable SmartSuggestion conditionally"

7 years agoMerge "Read theme for lock screen flows" into oc-dr1-dev
Maurice Lam [Thu, 29 Jun 2017 01:47:14 +0000 (01:47 +0000)]
Merge "Read theme for lock screen flows" into oc-dr1-dev

7 years agoMerge "Add metric action log for anomaly action" into oc-dr1-dev am: 43afb664e6
jackqdyulei [Thu, 29 Jun 2017 01:19:16 +0000 (01:19 +0000)]
Merge "Add metric action log for anomaly action" into oc-dr1-dev am: 43afb664e6
am: b58333f46e

Change-Id: If798eac93947126cbdee7c02ee69a792d3032d18

7 years agoMerge "Add metric action log for anomaly action" into oc-dr1-dev
jackqdyulei [Thu, 29 Jun 2017 01:15:33 +0000 (01:15 +0000)]
Merge "Add metric action log for anomaly action" into oc-dr1-dev
am: 43afb664e6

Change-Id: I8cd38faa751b9fabbe9164d90b0e73199b28bf94

7 years agoMerge "Change to use new suggestion/condition UI." into oc-dr1-dev am: 9df70249b9
Doris Ling [Thu, 29 Jun 2017 01:15:23 +0000 (01:15 +0000)]
Merge "Change to use new suggestion/condition UI." into oc-dr1-dev am: 9df70249b9
am: 5d66fa4c94  -s ours

Change-Id: Ic17a6314f3088e40a01f34bef67282696ec0bbbb

7 years agoMerge "Change to use new suggestion/condition UI." into oc-dr1-dev
Doris Ling [Thu, 29 Jun 2017 01:11:57 +0000 (01:11 +0000)]
Merge "Change to use new suggestion/condition UI." into oc-dr1-dev
am: 9df70249b9

Change-Id: I4d245fa2b74d5e6967a522455584971b8c9fb711

7 years agoMerge "Add account sync summary."
TreeHugger Robot [Thu, 29 Jun 2017 01:11:43 +0000 (01:11 +0000)]
Merge "Add account sync summary."

7 years agoMerge "Add metric action log for anomaly action" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 01:10:42 +0000 (01:10 +0000)]
Merge "Add metric action log for anomaly action" into oc-dr1-dev

7 years agoMerge "Change to use new suggestion/condition UI." into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 01:04:58 +0000 (01:04 +0000)]
Merge "Change to use new suggestion/condition UI." into oc-dr1-dev

7 years agoUse proper title for support page.
Andrew Sapperstein [Thu, 29 Jun 2017 00:57:53 +0000 (17:57 -0700)]
Use proper title for support page.

Was using settings, now using "support & tips".

Change-Id: Ic79d256e841afb52048e9584279a111f6a121504
Fixes: 62903819
Test: manual

7 years agoMerge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev am: 33c9b7a111
jackqdyulei [Thu, 29 Jun 2017 00:53:14 +0000 (00:53 +0000)]
Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev am: 33c9b7a111
am: 9d57855c96

Change-Id: Ib387fc18e5352afddf698f0108fc78c71b66dc88

7 years agoMerge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
jackqdyulei [Thu, 29 Jun 2017 00:48:47 +0000 (00:48 +0000)]
Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
am: 33c9b7a111

Change-Id: I63328028c7620792ca619cb63c5d0b048413eda5

7 years agoMerge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
TreeHugger Robot [Thu, 29 Jun 2017 00:43:09 +0000 (00:43 +0000)]
Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev

7 years agoReduce number of wallpaper results in search.
Andrew Sapperstein [Thu, 29 Jun 2017 00:16:57 +0000 (17:16 -0700)]
Reduce number of wallpaper results in search.

Previously we indexed the intent in display settings and every
app that handled ACTION_SET_WALLPAPER. Now, we only index an
app that handles ACTION_SET_WALLPAPER and is the listed package in
config_wallpaper_picker_package.

Change-Id: Ife81702017e3e8be4a754873d9c453fddf1cbd9e
Fixes: 62793068
Test: manual, search wallpaper and observe results

7 years agoMerge "Scroll to top when connecting to network." into oc-dr1-dev am: ea3d314a10
Sundeep Ghuman [Wed, 28 Jun 2017 23:40:33 +0000 (23:40 +0000)]
Merge "Scroll to top when connecting to network." into oc-dr1-dev am: ea3d314a10
am: 9ff2435ebc

Change-Id: Ia9041ca6f1a3fcfc707b9e3f93a06a1612226606

7 years agoMerge "Scroll to top when connecting to network." into oc-dr1-dev
Sundeep Ghuman [Wed, 28 Jun 2017 23:36:12 +0000 (23:36 +0000)]
Merge "Scroll to top when connecting to network." into oc-dr1-dev
am: ea3d314a10

Change-Id: I78adb370cf5261611ad0a56effae652c494e9592

7 years agoMerge "Scroll to top when connecting to network." into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 23:32:13 +0000 (23:32 +0000)]
Merge "Scroll to top when connecting to network." into oc-dr1-dev

7 years agoAdd metric action log for anomaly action
jackqdyulei [Wed, 21 Jun 2017 22:14:04 +0000 (15:14 -0700)]
Add metric action log for anomaly action

Change AnomalyAction to abstract class and log the action there.

Bug: 37681923
Test: RunSettingsRoboTests
Change-Id: Ied7a269d4a3f8fcb978165af6e17a9c9952fea49

7 years agoRead theme for lock screen flows
Maurice Lam [Wed, 28 Jun 2017 22:06:09 +0000 (15:06 -0700)]
Read theme for lock screen flows

Move the applyThemeResource calls up from the setup wizard specific
subclasses up to the settings classes so that it will get GLIF v2
theme on devices that request it.

Test: Manual
Bug: 62906814
Change-Id: I6ff4ff8d9ed3e6090b35b4ae7197e5d01f5a61f8

7 years agoDisable SmartSuggestion conditionally
Fan Zhang [Wed, 28 Jun 2017 21:32:39 +0000 (14:32 -0700)]
Disable SmartSuggestion conditionally

The smart suggestion flag should be treated as false when dismissing
first impression type suggestions. Smart suggestion and first impression
suggestions have different dismiss rules.

Change-Id: Ia99d310ddea7baf58b6eadacee8ccda5bf33f311
Fix: 63094854
Test: robotests

7 years agoMerge "Fix preference title typo in saved network screen"
TreeHugger Robot [Wed, 28 Jun 2017 21:24:55 +0000 (21:24 +0000)]
Merge "Fix preference title typo in saved network screen"

7 years agoMerge "Put the donut on a diet." into oc-dr1-dev am: 2cbe278ad4
Daniel Nishi [Wed, 28 Jun 2017 21:07:26 +0000 (21:07 +0000)]
Merge "Put the donut on a diet." into oc-dr1-dev am: 2cbe278ad4
am: 7cc286bac7

Change-Id: I7ff03385d589e1fd147f05cd417fbaba144a3e3c

7 years agoMerge "Use the proper style for the SpacePreference." into oc-dr1-dev am: ff8312b36b
Daniel Nishi [Wed, 28 Jun 2017 21:07:00 +0000 (21:07 +0000)]
Merge "Use the proper style for the SpacePreference." into oc-dr1-dev am: ff8312b36b
am: e440fdb769

Change-Id: I2b393b0583f295524eaaa79032f73abc0724469d

7 years agoMerge "Put the donut on a diet." into oc-dr1-dev
Daniel Nishi [Wed, 28 Jun 2017 20:59:52 +0000 (20:59 +0000)]
Merge "Put the donut on a diet." into oc-dr1-dev
am: 2cbe278ad4

Change-Id: I156d0acacd4933247634d7915defa9fbe73a0ba0

7 years agoMerge "Use the proper style for the SpacePreference." into oc-dr1-dev
Daniel Nishi [Wed, 28 Jun 2017 20:59:31 +0000 (20:59 +0000)]
Merge "Use the proper style for the SpacePreference." into oc-dr1-dev
am: ff8312b36b

Change-Id: I44d02a388a2d8c9dd8a797f78fce67a856bc22e5

7 years agoMerge "Put the donut on a diet." into oc-dr1-dev
Daniel Nishi [Wed, 28 Jun 2017 20:54:57 +0000 (20:54 +0000)]
Merge "Put the donut on a diet." into oc-dr1-dev

7 years agoMerge "Use the proper style for the SpacePreference." into oc-dr1-dev
Daniel Nishi [Wed, 28 Jun 2017 20:54:29 +0000 (20:54 +0000)]
Merge "Use the proper style for the SpacePreference." into oc-dr1-dev

7 years agoMerge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev am...
Matthew Fritze [Wed, 28 Jun 2017 20:53:12 +0000 (20:53 +0000)]
Merge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev am: e2e54e17c7
am: d4075ea983

Change-Id: Ie93718a9af3b3bb4e53dfbf7f43da31c1ee9404a

7 years agoMerge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev
Matthew Fritze [Wed, 28 Jun 2017 20:50:22 +0000 (20:50 +0000)]
Merge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev
am: e2e54e17c7

Change-Id: Ib8b6696cc232ef492a75180c4ac18ee7685be047

7 years agoMerge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 20:44:13 +0000 (20:44 +0000)]
Merge "Add synchronous indexing api to SearchFeatureProvider" into oc-dr1-dev

7 years agoMerge "Add list-select as an inline result" into oc-dr1-dev am: e455c8f377
Matthew Fritze [Wed, 28 Jun 2017 20:40:42 +0000 (20:40 +0000)]
Merge "Add list-select as an inline result" into oc-dr1-dev am: e455c8f377
am: 46483a1a29

Change-Id: Ia2f55440571504c66b67276990e9fde19a1709fa

7 years agoMerge "Add list-select as an inline result" into oc-dr1-dev
Matthew Fritze [Wed, 28 Jun 2017 20:33:36 +0000 (20:33 +0000)]
Merge "Add list-select as an inline result" into oc-dr1-dev
am: e455c8f377

Change-Id: I2b1e27042120dcb8121565ff58c21de0077837f3

7 years agoMerge "Change to use new suggestion/condition UI."
TreeHugger Robot [Wed, 28 Jun 2017 20:27:27 +0000 (20:27 +0000)]
Merge "Change to use new suggestion/condition UI."

7 years agoMerge "Add list-select as an inline result" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 20:27:00 +0000 (20:27 +0000)]
Merge "Add list-select as an inline result" into oc-dr1-dev

7 years agoAdd account sync summary.
Doris Ling [Wed, 28 Jun 2017 20:18:56 +0000 (13:18 -0700)]
Add account sync summary.

- Check for the number of sync adapter that is enabled for the account
and
update the summary text for the account sync preference accordingly.
- Add divider above the Remove Account button.

Bug: 62862167
Test: make RunSettingsRoboTests
Change-Id: Ic333f62cce9aed0a72771324976ebe3d8e586287

7 years agoMerge "Hide the IDLE in "app list"" into oc-dr1-dev am: 9a30ceab83
jackqdyulei [Wed, 28 Jun 2017 19:48:46 +0000 (19:48 +0000)]
Merge "Hide the IDLE in "app list"" into oc-dr1-dev am: 9a30ceab83
am: 881b581e0a

Change-Id: I1a63208cc637be0f9f5ab1e4171b59e498d381ee

7 years agoMerge "Update the UI for battery header" into oc-dr1-dev am: 923f50fce6
jackqdyulei [Wed, 28 Jun 2017 19:48:24 +0000 (19:48 +0000)]
Merge "Update the UI for battery header" into oc-dr1-dev am: 923f50fce6
am: 9d4a2806a8

Change-Id: I28f110fef49db0aca036eb06c5c3f4d1249522de

7 years agoMerge "Hide the IDLE in "app list"" into oc-dr1-dev
jackqdyulei [Wed, 28 Jun 2017 19:45:17 +0000 (19:45 +0000)]
Merge "Hide the IDLE in "app list"" into oc-dr1-dev
am: 9a30ceab83

Change-Id: I3e1b14434ae00357f0193bb917469319a212b155

7 years agoMerge "Update the UI for battery header" into oc-dr1-dev
jackqdyulei [Wed, 28 Jun 2017 19:44:55 +0000 (19:44 +0000)]
Merge "Update the UI for battery header" into oc-dr1-dev
am: 923f50fce6

Change-Id: Iee54c0fa4ff744ecadefe8fa75e069920569cb9e

7 years agoMerge "Hide the IDLE in "app list"" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 19:38:20 +0000 (19:38 +0000)]
Merge "Hide the IDLE in "app list"" into oc-dr1-dev

7 years agoMerge "Update the UI for battery header" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 19:37:40 +0000 (19:37 +0000)]
Merge "Update the UI for battery header" into oc-dr1-dev

7 years agoFix the getForegroundActivityTotalTimeMs
jackqdyulei [Wed, 28 Jun 2017 19:24:02 +0000 (12:24 -0700)]
Fix the getForegroundActivityTotalTimeMs

The parameter in timer should be microseconds, not milliseconds

Bug: 63073847
Test: RunSettingsRoboTests
Change-Id: I5e451aee9eb30815fbefe12c0bfdc85dff884b8e

7 years agoChange to use new suggestion/condition UI.
Doris Ling [Fri, 16 Jun 2017 21:13:45 +0000 (14:13 -0700)]
Change to use new suggestion/condition UI.

Change to always use the new UI that combines the suggestion and conditions,
and remove all codes relating to the old UI.

Fix: 37645754
Fix: 62621808
Test: make RunSettingsRoboTests

Merged-In: I3421a9e5182f6606843392d6fae8b9f07c5f2e46
Change-Id: I5ef169a563166520dad0ac44f6780da814e2f1f7

7 years agoFix preference title typo in saved network screen
Fan Zhang [Wed, 28 Jun 2017 18:30:58 +0000 (11:30 -0700)]
Fix preference title typo in saved network screen

Change-Id: If6df7d42379d8597fcdcd20f71c88376a972ee70
Fix: 33909403
Test: reindex search

7 years agoAdd synchronous indexing api to SearchFeatureProvider
Matthew Fritze [Sun, 25 Jun 2017 21:18:02 +0000 (14:18 -0700)]
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

7 years agoPut the donut on a diet.
Daniel Nishi [Tue, 27 Jun 2017 22:59:47 +0000 (15:59 -0700)]
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

7 years agoChange to use new suggestion/condition UI.
Doris Ling [Wed, 28 Jun 2017 18:22:44 +0000 (11:22 -0700)]
Change to use new suggestion/condition UI.

Change to always use the new UI that combines the suggestion and conditions,
and remove all codes relating to the old UI.

Bug: 37645754
Bug: 62621808
Test: make RunSettingsRoboTests
Change-Id: I3421a9e5182f6606843392d6fae8b9f07c5f2e46

7 years agoAdd list-select as an inline result
Matthew Fritze [Fri, 23 Jun 2017 17:05:07 +0000 (10:05 -0700)]
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

7 years agoMerge "Add location check action for bt anomaly" into oc-dr1-dev am: a6b24388fc
Lei Yu [Wed, 28 Jun 2017 18:13:20 +0000 (18:13 +0000)]
Merge "Add location check action for bt anomaly" into oc-dr1-dev am: a6b24388fc
am: 91dbfc6ee9

Change-Id: Ib7f5560b4ef44cb14bcf5e3633b09d179816b221

7 years agoMerge "Add location check action for bt anomaly" into oc-dr1-dev
Lei Yu [Wed, 28 Jun 2017 18:05:34 +0000 (18:05 +0000)]
Merge "Add location check action for bt anomaly" into oc-dr1-dev
am: a6b24388fc

Change-Id: I2f1e1b65a5d7583ff76d77d3923df5ad7e1e652e

7 years agoMerge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev am: d6df3b3d00
jackqdyulei [Wed, 28 Jun 2017 18:01:17 +0000 (18:01 +0000)]
Merge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev am: d6df3b3d00
am: cbdaa2b56a

Change-Id: I1c260f3d1d089ae46ddba08dfc83063085ecbe42

7 years agoMerge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev
jackqdyulei [Wed, 28 Jun 2017 17:57:48 +0000 (17:57 +0000)]
Merge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev
am: d6df3b3d00

Change-Id: I3ca5d821c33860f35d7fd37c0ddb92516095d099

7 years agoMerge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev am: 451b7edfd7
Lei Yu [Wed, 28 Jun 2017 17:57:46 +0000 (17:57 +0000)]
Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev am: 451b7edfd7
am: d3f035af0a

Change-Id: If1a3d3b931130efa18014538bc95c2d9ac41d410

7 years agoMerge "Add location check action for bt anomaly" into oc-dr1-dev
Lei Yu [Wed, 28 Jun 2017 17:54:59 +0000 (17:54 +0000)]
Merge "Add location check action for bt anomaly" into oc-dr1-dev

7 years agoMerge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
Lei Yu [Wed, 28 Jun 2017 17:54:20 +0000 (17:54 +0000)]
Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
am: 451b7edfd7

Change-Id: I609e926c481e991d4039e42d0872ebcfd218679b

7 years agoMerge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 17:53:30 +0000 (17:53 +0000)]
Merge "Hide the summary for app in PowerUsageAdvanced" into oc-dr1-dev

7 years agoMerge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev
Lei Yu [Wed, 28 Jun 2017 17:49:36 +0000 (17:49 +0000)]
Merge "Fix the getForegroundActivityTotalTimeMs" into oc-dr1-dev

7 years agoMerge "Update string: Gesture setting title" into oc-dr1-dev am: b365594242
Fan Zhang [Wed, 28 Jun 2017 17:47:45 +0000 (17:47 +0000)]
Merge "Update string: Gesture setting title" into oc-dr1-dev am: b365594242
am: 1d16eb3622

Change-Id: I08b48e4e3c6049ddb9e25a3733b7f19b012bb051

7 years agoMerge "Update string: Gesture setting title" into oc-dr1-dev
Fan Zhang [Wed, 28 Jun 2017 17:44:16 +0000 (17:44 +0000)]
Merge "Update string: Gesture setting title" into oc-dr1-dev
am: b365594242

Change-Id: I86d464edb6c4cf00e8e5062ef42b2717947f747a

7 years agoMerge "Update string: Gesture setting title" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 17:39:08 +0000 (17:39 +0000)]
Merge "Update string: Gesture setting title" into oc-dr1-dev

7 years agoUpdate the UI for battery header
jackqdyulei [Tue, 27 Jun 2017 01:40:49 +0000 (18:40 -0700)]
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

7 years agoMerge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev am: 7ea8ecdae1
jackqdyulei [Wed, 28 Jun 2017 17:20:04 +0000 (17:20 +0000)]
Merge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev am: 7ea8ecdae1
am: fc55a3cef1

Change-Id: I7d23a1bab37417064a1ffc358f9856d711426c19

7 years agoMerge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev
jackqdyulei [Wed, 28 Jun 2017 17:16:34 +0000 (17:16 +0000)]
Merge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev
am: 7ea8ecdae1

Change-Id: Ie6b814cf75ab555a94f2eb204499d10ae7a4cb0e

7 years agoMerge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 17:08:46 +0000 (17:08 +0000)]
Merge "Add quickUpdate method to BatteryHeaderPrefCtrl" into oc-dr1-dev

7 years agoUpdate string: Gesture setting title
Fan Zhang [Wed, 28 Jun 2017 15:38:23 +0000 (08:38 -0700)]
Update string: Gesture setting title

Change-Id: Ib73e300cb4b809dcc1da594ac6f84d9d020aeac9
Fix: 36685646
Test: visual

7 years agoMerge "Fix crash when initializing Settings suggestions." into oc-dr1-dev am: c074c1c8fe
Doris Ling [Wed, 28 Jun 2017 01:50:20 +0000 (01:50 +0000)]
Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev am: c074c1c8fe
am: da9d206916

Change-Id: Ia2d3416b079c617450562eb0daf3ab3625b83d0f

7 years agoMerge "Fix crash when initializing Settings suggestions." into oc-dr1-dev
Doris Ling [Wed, 28 Jun 2017 01:46:48 +0000 (01:46 +0000)]
Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev
am: c074c1c8fe

Change-Id: Ibe3d07e72916fd45c1959e4dc194040b5bed3d17

7 years agoMerge "Fix crash when initializing Settings suggestions." into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 01:41:32 +0000 (01:41 +0000)]
Merge "Fix crash when initializing Settings suggestions." into oc-dr1-dev

7 years agoMerge "Trim search query when initializing installed app searcher." into oc-dr1-dev...
Fan Zhang [Wed, 28 Jun 2017 00:38:30 +0000 (00:38 +0000)]
Merge "Trim search query when initializing installed app searcher." into oc-dr1-dev am: a2c3828ede
am: b4e6874088

Change-Id: Ic2bf3841057347cd3a2556e53c5a5613135d9f4c

7 years agoAssist gesture settings should reflect assistant eligibility/preferences am: 1b44a87987
Kevin Chyn [Wed, 28 Jun 2017 00:35:32 +0000 (00:35 +0000)]
Assist gesture settings should reflect assistant eligibility/preferences am: 1b44a87987
am: cdcceec0fb

Change-Id: Ia5a061381db8d5e36ce1d31ac89ee2c58af27989

7 years agoMerge "Trim search query when initializing installed app searcher." into oc-dr1-dev
Fan Zhang [Wed, 28 Jun 2017 00:31:42 +0000 (00:31 +0000)]
Merge "Trim search query when initializing installed app searcher." into oc-dr1-dev
am: a2c3828ede

Change-Id: I169e01d0fbcbe5fa85710daec366e6025e890098

7 years agoHide the IDLE in "app list"
jackqdyulei [Wed, 28 Jun 2017 00:31:09 +0000 (17:31 -0700)]
Hide the IDLE in "app list"

Also don't smear it.

Bug: 62423075
Test: RunSettingsRoboTests
Change-Id: I74072f9dde0dcf7b9a4abb05b86fe2102b618d6a

7 years agoAssist gesture settings should reflect assistant eligibility/preferences
Kevin Chyn [Wed, 28 Jun 2017 00:29:36 +0000 (00:29 +0000)]
Assist gesture settings should reflect assistant eligibility/preferences
am: 1b44a87987

Change-Id: Ifebce52e57590839770e2ea46eadb9e99abe5673

7 years agoMerge "Trim search query when initializing installed app searcher." into oc-dr1-dev
TreeHugger Robot [Wed, 28 Jun 2017 00:28:58 +0000 (00:28 +0000)]
Merge "Trim search query when initializing installed app searcher." into oc-dr1-dev

7 years agoFix the getForegroundActivityTotalTimeMs
jackqdyulei [Tue, 27 Jun 2017 22:59:35 +0000 (15:59 -0700)]
Fix the getForegroundActivityTotalTimeMs

It should return milliseconds, not microseconds time

Bug: 63073847
Test: RunSettingsRoboTests
Change-Id: Ib7ddb947646062fc50a40d300829389e0ac401ee

7 years agoAdd location check action for bt anomaly
jackqdyulei [Tue, 20 Jun 2017 17:09:04 +0000 (10:09 -0700)]
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

7 years agoMerge "Update string id to make it more generic"
TreeHugger Robot [Tue, 27 Jun 2017 23:06:40 +0000 (23:06 +0000)]
Merge "Update string id to make it more generic"

7 years agoAssist gesture settings should reflect assistant eligibility/preferences
Kevin Chyn [Sat, 24 Jun 2017 01:01:06 +0000 (18:01 -0700)]
Assist gesture settings should reflect assistant eligibility/preferences

Fixes: 37707753
Fixes: 62843146

Test: manual testing of settings && make -j RunSettingsRoboTests
Change-Id: I5e606686a03960e5cfe1df2f77c48d6ece9c363a

7 years agoUse the proper style for the SpacePreference.
Daniel Nishi [Tue, 27 Jun 2017 21:28:21 +0000 (14:28 -0700)]
Use the proper style for the SpacePreference.

The old style caused unsightly dividers to show up.

Change-Id: Ic59fdc9b2f120e8a637930f3246be5dab547af5b
Fixes: 62548473
Test: Manual

7 years agoFix crash when initializing Settings suggestions.
Doris Ling [Tue, 27 Jun 2017 20:56:32 +0000 (13:56 -0700)]
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

7 years agoUpdate string id to make it more generic
Fan Zhang [Tue, 27 Jun 2017 21:24:47 +0000 (14:24 -0700)]
Update string id to make it more generic

Test: builds
Bug: 62354743
Change-Id: I321f5e3d7560dbc21d52dbaa8ebe2df07f99a3db

7 years agoHide the summary for app in PowerUsageAdvanced
jackqdyulei [Tue, 27 Jun 2017 20:49:17 +0000 (13:49 -0700)]
Hide the summary for app in PowerUsageAdvanced

Bug: 62032053
Test: RunSettingsRoboTests
Change-Id: I83fdd20ef040d102b5d5210a10a810c119f5cf44

7 years agoAdd quickUpdate method to BatteryHeaderPrefCtrl
jackqdyulei [Tue, 27 Jun 2017 00:54:09 +0000 (17:54 -0700)]
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

7 years agoImport translations. DO NOT MERGE am: 8e132ce53c -s ours am: 38b7d50a49 -s ours
Bill Yi [Tue, 27 Jun 2017 20:30:30 +0000 (20:30 +0000)]
Import translations. DO NOT MERGE am: 8e132ce53c  -s ours am: 38b7d50a49  -s ours
am: 47ff496407  -s ours

Change-Id: I26b4e5178beb47f231e73889675f36bd2340d9e9

7 years agoMerge "Improve delete fingerprint UI."
TreeHugger Robot [Tue, 27 Jun 2017 20:27:46 +0000 (20:27 +0000)]
Merge "Improve delete fingerprint UI."

7 years agoImport translations. DO NOT MERGE am: 8e132ce53c -s ours
Bill Yi [Tue, 27 Jun 2017 20:21:25 +0000 (20:21 +0000)]
Import translations. DO NOT MERGE am: 8e132ce53c  -s ours
am: 38b7d50a49  -s ours

Change-Id: I9f2d7d683482701ef2a26cf2d03be8bdba8fa079

7 years agoImport translations. DO NOT MERGE am: 8e132ce53c -s ours am: 7c952faa77 -s ours
Bill Yi [Tue, 27 Jun 2017 20:20:00 +0000 (20:20 +0000)]
Import translations. DO NOT MERGE am: 8e132ce53c  -s ours am: 7c952faa77  -s ours
am: 3c2a60e813  -s ours

Change-Id: Ifa974eb7ed6d61b78e2aac66c027b40920948e03

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev am: 98bbb157a9 -s ours
Bill Yi [Tue, 27 Jun 2017 20:19:36 +0000 (20:19 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: 98bbb157a9  -s ours
am: 4b7bc479da  -s ours

Change-Id: I22490d0da5e44774b6d2b5015bbf6f6e9e02ba5b

7 years agoImport translations. DO NOT MERGE am: 8e132ce53c -s ours
Bill Yi [Tue, 27 Jun 2017 20:15:40 +0000 (20:15 +0000)]
Import translations. DO NOT MERGE am: 8e132ce53c  -s ours
am: 7c952faa77  -s ours

Change-Id: Ib5bf7b801f9c5df19fd8c7ae070f4fe760356a3f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Jun 2017 20:08:19 +0000 (20:08 +0000)]
Import translations. DO NOT MERGE
am: 8e132ce53c  -s ours

Change-Id: I4c3a65ee1c1bb82dacea7e874ef906cb08fce1ac

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Tue, 27 Jun 2017 20:06:53 +0000 (20:06 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 98bbb157a9  -s ours

Change-Id: I65f40eb6eacfc157266ce57420bc9a1b6f508a6d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Jun 2017 20:06:52 +0000 (20:06 +0000)]
Import translations. DO NOT MERGE
am: 8e132ce53c  -s ours

Change-Id: I1546d616bc8d0344d9538cdb0c5fb80b3454105a