OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Get rid of spurious gear icon in BT details page" into oc-dr1-dev
Antony Sargent [Fri, 7 Jul 2017 21:15:48 +0000 (21:15 +0000)]
Merge "Get rid of spurious gear icon in BT details page" into oc-dr1-dev
am: db522a539d

Change-Id: I85b5235bde32d6a25a708e3bd1245ba646487124

7 years agoMerge "Get rid of spurious gear icon in BT details page" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 21:12:58 +0000 (21:12 +0000)]
Merge "Get rid of spurious gear icon in BT details page" into oc-dr1-dev

7 years agoMerge "Create BatterySaverReceiver" into oc-dr1-dev
jackqdyulei [Fri, 7 Jul 2017 19:39:06 +0000 (19:39 +0000)]
Merge "Create BatterySaverReceiver" into oc-dr1-dev
am: 062dedb072

Change-Id: I0f992f6191181be50a54040c0694037cf49a77f5

7 years agoMerge "Create BatterySaverReceiver" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 19:31:47 +0000 (19:31 +0000)]
Merge "Create BatterySaverReceiver" into oc-dr1-dev

7 years agoGet rid of spurious gear icon in BT details page
Antony Sargent [Fri, 7 Jul 2017 18:09:24 +0000 (11:09 -0700)]
Get rid of spurious gear icon in BT details page

The problem is that we were calling done() on the EntityHeaderController
and passing false for whether to rebind the action buttons, which means
we were getting the default behavior including a visible gear
icon. Passing true to request rebinding causes that icon to be hidden.

Bug: 63405635
Test: make RunSettingsRoboTests
Change-Id: I031f4a2d176ff3be025cc2675d7026a679936b03

7 years agoMerge "Search bar polish" into oc-dr1-dev
Andrew Sapperstein [Fri, 7 Jul 2017 17:47:19 +0000 (17:47 +0000)]
Merge "Search bar polish" into oc-dr1-dev
am: d10a1af258

Change-Id: Ia09442652744696c2902356b66367d46e7f20534

7 years agoMerge "Screen lock type metrics are not reported if user goes back" into oc-dr1-dev
Ajay Kumar Nadathur Sreenivasan [Fri, 7 Jul 2017 17:40:32 +0000 (17:40 +0000)]
Merge "Screen lock type metrics are not reported if user goes back" into oc-dr1-dev
am: 9afa37ac3c

Change-Id: Ib1b02ae394631c28db7f2bdd5bbba5a19812182f

7 years agoMerge "Search bar polish" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 17:39:11 +0000 (17:39 +0000)]
Merge "Search bar polish" into oc-dr1-dev

7 years agoMerge "Screen lock type metrics are not reported if user goes back" into oc-dr1-dev
Ajay Kumar Nadathur Sreenivasan [Fri, 7 Jul 2017 17:30:15 +0000 (17:30 +0000)]
Merge "Screen lock type metrics are not reported if user goes back" into oc-dr1-dev

7 years agoCreate BatterySaverReceiver
jackqdyulei [Wed, 5 Jul 2017 22:49:16 +0000 (15:49 -0700)]
Create BatterySaverReceiver

This cl elicits BatterySaverReceiver that listen to the change about
battery state and battery saver state.

BatterySaverController and BatterySaverSettings will use this receiver
to update the UI.

Bug: 32410757
Test: RunSettingsRoboTests
Change-Id: Ia92c6776985b89fe6a8d5b8d80898e502942b9b5
Merged-In: Ia92c6776985b89fe6a8d5b8d80898e502942b9b5

7 years agoMerge "AOD Settings: Add battery usage warning" into oc-dr1-dev
Adrian Roos [Fri, 7 Jul 2017 16:57:56 +0000 (16:57 +0000)]
Merge "AOD Settings: Add battery usage warning" into oc-dr1-dev
am: 6d8f0b57af

Change-Id: Ic25e07b765b3d732f410643eba7e854168092e86

7 years agoMerge "AOD Settings: Add battery usage warning" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 16:52:44 +0000 (16:52 +0000)]
Merge "AOD Settings: Add battery usage warning" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Fri, 7 Jul 2017 16:02:10 +0000 (16:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: e371dcf55a  -s ours

Change-Id: If7245374f3d569a9406d632fc7a6c4d618b1dfd0

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 15:45:55 +0000 (15:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoAOD Settings: Add battery usage warning
Adrian Roos [Fri, 7 Jul 2017 14:30:04 +0000 (16:30 +0200)]
AOD Settings: Add battery usage warning

Change-Id: I14946046c1541e8092ed2b492867730713e3e1ed
Fixes: 33279975
Test: Open Settings > Display. Verify that always on strings contain the increased battery usage warning.

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 7 Jul 2017 10:12:06 +0000 (03:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6c862c42b058adf710c961f7c42d108fbf8caf01
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

7 years agoMerge "Fix Assist Gesture settings check" into oc-dr1-dev
Kevin Chyn [Fri, 7 Jul 2017 03:49:36 +0000 (03:49 +0000)]
Merge "Fix Assist Gesture settings check" into oc-dr1-dev
am: d0487eff5e

Change-Id: I609448c301e3c28a2362a884b01a196912c4c7b8

7 years agoAdd SeekBarPreference.getMax().
Philip Quinn [Fri, 7 Jul 2017 03:47:19 +0000 (03:47 +0000)]
Add SeekBarPreference.getMax().
am: 648ddd5c83

Change-Id: I2ea54359e6c13b0626ed96da6c8924e70d3d95cb

7 years agoMerge "Fix Assist Gesture settings check" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 03:43:12 +0000 (03:43 +0000)]
Merge "Fix Assist Gesture settings check" into oc-dr1-dev

7 years agoAdd SeekBarPreference.getMax().
Philip Quinn [Sun, 2 Jul 2017 04:24:10 +0000 (21:24 -0700)]
Add SeekBarPreference.getMax().

Bug: 63047816
Test: make -j
Change-Id: I416d044fa32f3aed32c1e6239baf9c57652bca2e

7 years agoMerge "Merge "Reduce spacing in condition cards." into oc-dr1-dev am: 494f82e9b0...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:58 +0000 (03:01 +0000)]
Merge "Merge "Reduce spacing in condition cards." into oc-dr1-dev am: 494f82e9b0" into oc-dr1-dev-plus-aosp

7 years agoMerge "Merge "Reduce spacing in condition cards." into oc-dr1-dev am: 494f82e9b0...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:56 +0000 (03:01 +0000)]
Merge "Merge "Reduce spacing in condition cards." into oc-dr1-dev am: 494f82e9b0" into oc-dr1-dev-plus-aosp

7 years agoMerge "Reduce spacing in condition cards." into oc-dr1-dev
Doris Ling [Fri, 7 Jul 2017 03:01:45 +0000 (03:01 +0000)]
Merge "Reduce spacing in condition cards." into oc-dr1-dev
am: 494f82e9b0

Change-Id: Ice2da438bc2bbbae77699e0795426c6456fbe80d

7 years agoMerge "Merge "Update Anomaly detection framework" into oc-dr1-dev am: 690accadc7...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:38 +0000 (03:01 +0000)]
Merge "Merge "Update Anomaly detection framework" into oc-dr1-dev am: 690accadc7" into oc-dr1-dev-plus-aosp

7 years agoMerge "Reduce spacing in condition cards." into oc-dr1-dev
Doris Ling [Fri, 7 Jul 2017 03:01:37 +0000 (03:01 +0000)]
Merge "Reduce spacing in condition cards." into oc-dr1-dev
am: 494f82e9b0

Change-Id: I28903bbc7667f0a0bad065b090076ec73db4947f

7 years agoMerge "Merge "Update Anomaly detection framework" into oc-dr1-dev am: 690accadc7...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:28 +0000 (03:01 +0000)]
Merge "Merge "Update Anomaly detection framework" into oc-dr1-dev am: 690accadc7" into oc-dr1-dev-plus-aosp

7 years agoMerge "Update Anomaly detection framework" into oc-dr1-dev
jackqdyulei [Fri, 7 Jul 2017 03:01:26 +0000 (03:01 +0000)]
Merge "Update Anomaly detection framework" into oc-dr1-dev
am: 690accadc7

Change-Id: Ic0867be73688beed9ddf5395ed9427572d1b5165

7 years agoMerge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:20 +0000 (03:01 +0000)]
Merge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev am: 4545d636ec" into oc-dr1-dev-plus-aosp

7 years agoMerge "Update Anomaly detection framework" into oc-dr1-dev
jackqdyulei [Fri, 7 Jul 2017 03:01:16 +0000 (03:01 +0000)]
Merge "Update Anomaly detection framework" into oc-dr1-dev
am: 690accadc7

Change-Id: Idefefd2703b8b885cc6aa68665d629d04092d5d9

7 years agoMerge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:08 +0000 (03:01 +0000)]
Merge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev am: 4545d636ec" into oc-dr1-dev-plus-aosp

7 years agoMerge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
Andrew Sapperstein [Fri, 7 Jul 2017 03:01:07 +0000 (03:01 +0000)]
Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
am: 4545d636ec

Change-Id: Ic602d70e1f1d05cb47054cf4b919e81793e18a39

7 years agoMerge "Merge "Update the gesture video container background color." into oc-dr1-dev...
Android Build Merger (Role) [Fri, 7 Jul 2017 03:01:01 +0000 (03:01 +0000)]
Merge "Merge "Update the gesture video container background color." into oc-dr1-dev am: c2002db8cc" into oc-dr1-dev-plus-aosp

7 years agoMerge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
Andrew Sapperstein [Fri, 7 Jul 2017 03:00:49 +0000 (03:00 +0000)]
Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
am: 4545d636ec

Change-Id: I49fcb529e64cd1d66c85bc42f67514559140467b

7 years agoMerge "Update the gesture video container background color." into oc-dr1-dev
Doris Ling [Fri, 7 Jul 2017 03:00:47 +0000 (03:00 +0000)]
Merge "Update the gesture video container background color." into oc-dr1-dev
am: c2002db8cc

Change-Id: I82814ee82e24bb382f54a01accec1ad2da2b7c42

7 years agoMerge "Update the gesture video container background color." into oc-dr1-dev
Doris Ling [Fri, 7 Jul 2017 02:59:44 +0000 (02:59 +0000)]
Merge "Update the gesture video container background color." into oc-dr1-dev
am: c2002db8cc

Change-Id: Ia99dd8d0d9ae926d4fe09c7911c4bc10e60e397d

7 years agoMerge "Change empty apn type in user entered APN to non-read-only types." into oc...
TreeHugger Robot [Fri, 7 Jul 2017 02:38:10 +0000 (02:38 +0000)]
Merge "Change empty apn type in user entered APN to non-read-only types." into oc-dr1-dev
am: 4fffc20ada

Change-Id: I2e0672e71b69f35cbc0f98d9cebeebf1a6dc1af7

7 years agoMerge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev
Antony Sargent [Fri, 7 Jul 2017 02:35:24 +0000 (02:35 +0000)]
Merge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev
am: 21423623bd

Change-Id: I9f819e3f4bf0f785f9a42592a9a37955df8e8103

7 years agoMerge "Reduce spacing in condition cards." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 02:17:15 +0000 (02:17 +0000)]
Merge "Reduce spacing in condition cards." into oc-dr1-dev

7 years agoMerge "Update Anomaly detection framework" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 02:13:37 +0000 (02:13 +0000)]
Merge "Update Anomaly detection framework" into oc-dr1-dev

7 years agoMerge "Use config_headlineFontFamily for password screens." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 02:02:51 +0000 (02:02 +0000)]
Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev

7 years agoMerge "Update the gesture video container background color." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 01:26:48 +0000 (01:26 +0000)]
Merge "Update the gesture video container background color." into oc-dr1-dev

7 years agoMerge "Change empty apn type in user entered APN to non-read-only types." into oc...
TreeHugger Robot [Thu, 6 Jul 2017 23:50:28 +0000 (23:50 +0000)]
Merge "Change empty apn type in user entered APN to non-read-only types." into oc-dr1-dev

7 years agoMerge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 23:46:39 +0000 (23:46 +0000)]
Merge "Add a confirmation dialog when forgetting BT device" into oc-dr1-dev

7 years agoSearch bar polish
Andrew Sapperstein [Thu, 6 Jul 2017 23:34:58 +0000 (16:34 -0700)]
Search bar polish

Updated main page text color, text size, and search bar height.
Also updated results page text size.

Change-Id: Ic4a390136b854741a73e99431b8dd9452871dd2c
Fixes: 63397599
Fixes: 63394285
Test: robotests and manual

7 years agoReduce spacing in condition cards.
Doris Ling [Thu, 6 Jul 2017 22:23:00 +0000 (15:23 -0700)]
Reduce spacing in condition cards.

- decrease space between title and summary by 12dp.
- decrease space below button by 7dp.

Change-Id: I9caa0507b89367960fb94bf4af07cdd5dd1dbedf
Fix: 63394014
Test: Visual

7 years agoUpdate Anomaly detection framework
jackqdyulei [Thu, 29 Jun 2017 21:20:46 +0000 (14:20 -0700)]
Update Anomaly detection framework

This cl make it could have multiple actions for each anomaly type.

This includes:
1. Add field "targetSdkVersion", "bgRestrictionEnabled" in Anomaly
2. Add new action which includes "force stop" and "background check"
3. Add "sdkVersion" and "bgRestrictionEnabled" method in BatteryUtils
4. Update BackgroundCheckAction to check sdkVersion first
5. Update serveral tests and add new test

Bug: 63037765
Test: RunSettingsRoboTests
Change-Id: Iea7a131ee57d501f7737ae4a3ba672d948d05cd8

7 years agoMerge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am...
Android Build Merger (Role) [Thu, 6 Jul 2017 22:12:03 +0000 (22:12 +0000)]
Merge "Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev am: 8218511fb7" into oc-dr1-dev-plus-aosp

7 years agoMerge "Hide skip button when setting backup lock screen" into oc-dr1-dev
Maurice Lam [Thu, 6 Jul 2017 22:11:52 +0000 (22:11 +0000)]
Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev
am: 8218511fb7

Change-Id: I48b40d6158f4ebeaaaef6b8d2baf72bf8edf226a

7 years agoMerge "Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff...
Android Build Merger (Role) [Thu, 6 Jul 2017 22:11:44 +0000 (22:11 +0000)]
Merge "Merge "Add util method to get battery stats" into oc-dr1-dev am: 55ad60d1ff" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add util method to get battery stats" into oc-dr1-dev
Matthew Fritze [Thu, 6 Jul 2017 22:11:11 +0000 (22:11 +0000)]
Merge "Add util method to get battery stats" into oc-dr1-dev
am: 55ad60d1ff

Change-Id: I6aa6178f142bcf0bb67957c459d86ec0618c7bd0

7 years agoMerge "Add util method to get battery stats" into oc-dr1-dev
Matthew Fritze [Thu, 6 Jul 2017 22:11:04 +0000 (22:11 +0000)]
Merge "Add util method to get battery stats" into oc-dr1-dev
am: 55ad60d1ff

Change-Id: I02308e6829fbc1a3764efb8a09dfc9d576428775

7 years agoMerge "Shrink the music icon." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 22:10:37 +0000 (22:10 +0000)]
Merge "Shrink the music icon." into oc-dr1-dev
am: e78190d124

Change-Id: I21af42927fa117c68a4979285213361a3c70fa56

7 years agoMerge "Update the Storage icons." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 22:10:18 +0000 (22:10 +0000)]
Merge "Update the Storage icons." into oc-dr1-dev
am: fa47cebd55

Change-Id: I2a393ea0aa4274c23cf9c75fdc655d7436d695d3

7 years agoMerge "Hide skip button when setting backup lock screen" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 22:08:51 +0000 (22:08 +0000)]
Merge "Hide skip button when setting backup lock screen" into oc-dr1-dev

7 years agoMerge "Add util method to get battery stats" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 21:58:33 +0000 (21:58 +0000)]
Merge "Add util method to get battery stats" into oc-dr1-dev

7 years agoMerge "Shrink the music icon." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 21:58:01 +0000 (21:58 +0000)]
Merge "Shrink the music icon." into oc-dr1-dev

7 years agoScreen lock type metrics are not reported if user goes back
Ajay Nadathur [Wed, 5 Jul 2017 20:17:30 +0000 (13:17 -0700)]
Screen lock type metrics are not reported if user goes back

bug: 63116381
Test: Manually tested and verified that metrics are passed back to
setupwizard. Also added robolectric tests
Change-Id: I9d095754addc34121a2a0a12b3e5d1479ff15a78

7 years agoMerge "Update the Storage icons." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 21:50:49 +0000 (21:50 +0000)]
Merge "Update the Storage icons." into oc-dr1-dev

7 years agoUse config_headlineFontFamily for password screens.
Andrew Sapperstein [Thu, 6 Jul 2017 21:30:28 +0000 (14:30 -0700)]
Use config_headlineFontFamily for password screens.

These screens are used whenever setting or confirming the
lockscreen PIN or password. Set them to a consistent textSize (24sp)
and a consistent fontFamily.

Would have set the fontFamily in the style, but unfortunately
setInputType is called on the TextViews after inflation which blows
away the fontFamily. Instead, we set it in code right after that
call.

Change-Id: I77c3f94e2b1ce6d1f19697394c5caa09aac423b0
Fixes: 62873478
Test: manual

7 years agoFix a crash in AppInfoBase where appEntry is invalid
Fan Zhang [Thu, 6 Jul 2017 19:58:06 +0000 (19:58 +0000)]
Fix a crash in AppInfoBase where appEntry is invalid
am: 2c6634a8a9

Change-Id: I6a3bc29c8a1863b320bfe3f07a40f85ddeb676fd

7 years agoAdd a confirmation dialog when forgetting BT device
Antony Sargent [Fri, 30 Jun 2017 22:23:01 +0000 (15:23 -0700)]
Add a confirmation dialog when forgetting BT device

This adds a confirmation dialog for when you hit the "Forget" button to
unpair with a device from the Bluetooth device details page.

Bug: 37955181
Test: make RunSettingsRoboTests
Change-Id: I7643ed09bf363c48078d6de8a47583bf91fc7729

7 years agoFix a crash in AppInfoBase where appEntry is invalid
Fan Zhang [Wed, 5 Jul 2017 23:12:00 +0000 (16:12 -0700)]
Fix a crash in AppInfoBase where appEntry is invalid

Change-Id: Ifbea967405ddc1e1bd069ddeab170bc67b1835b4
Fix: 63178369
Test: robotests

7 years agoMerge "Check non-indexable keys for raw data" into oc-dr1-dev
Matthew Fritze [Thu, 6 Jul 2017 17:37:46 +0000 (17:37 +0000)]
Merge "Check non-indexable keys for raw data" into oc-dr1-dev
am: 24ba2fbdb9

Change-Id: Iab0cb32e75fabda8e2c411391d0693107fa9d2ed

7 years agoMerge "Check non-indexable keys for raw data" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 17:31:29 +0000 (17:31 +0000)]
Merge "Check non-indexable keys for raw data" into oc-dr1-dev

7 years agoMerge "Merge "Unify storage calculations." into oc-dr1-dev am: 947cb367db" into oc...
Android Build Merger (Role) [Thu, 6 Jul 2017 17:18:56 +0000 (17:18 +0000)]
Merge "Merge "Unify storage calculations." into oc-dr1-dev am: 947cb367db" into oc-dr1-dev-plus-aosp

7 years agoMerge "Unify storage calculations." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 17:17:27 +0000 (17:17 +0000)]
Merge "Unify storage calculations." into oc-dr1-dev
am: 947cb367db

Change-Id: Ia5e4650eb1922e59ee1e95b04df7377668f0538a

7 years agoMerge "Unify storage calculations." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 17:15:40 +0000 (17:15 +0000)]
Merge "Unify storage calculations." into oc-dr1-dev
am: 947cb367db

Change-Id: I3923a04104b949281e487b0b8fc5a55601536e93

7 years agoMerge "Unify storage calculations." into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 17:04:53 +0000 (17:04 +0000)]
Merge "Unify storage calculations." into oc-dr1-dev

7 years agoCheck non-indexable keys for raw data
Matthew Fritze [Thu, 6 Jul 2017 01:15:43 +0000 (18:15 -0700)]
Check non-indexable keys for raw data

Change-Id: I182f6757cae0ccdd07c2c38ea0f02bd4998f79be
Fixes: 63360455
Test: make RunSettingsRoboTests

7 years agoMerge "Render enhanced battery projection curves." into oc-dr1-dev
Alex Kulesza [Thu, 6 Jul 2017 14:07:47 +0000 (14:07 +0000)]
Merge "Render enhanced battery projection curves." into oc-dr1-dev
am: 32812e6121

Change-Id: I9ad8579fd76516b2c3ab89571b20ac2b28a2d161

7 years agoMerge "Render enhanced battery projection curves." into oc-dr1-dev
Alex Kulesza [Thu, 6 Jul 2017 14:02:26 +0000 (14:02 +0000)]
Merge "Render enhanced battery projection curves." into oc-dr1-dev

7 years agoMerge "Merge "Add a developer offload for tethering hardware acceleration." into...
Android Build Merger (Role) [Thu, 6 Jul 2017 06:33:29 +0000 (06:33 +0000)]
Merge "Merge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev am: dcc15eabdf" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev
Lorenzo Colitti [Thu, 6 Jul 2017 06:30:32 +0000 (06:30 +0000)]
Merge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev
am: dcc15eabdf

Change-Id: I3e5eb9cbcd7cdee2f0ee28579fc8f9d707b8e471

7 years agoMerge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev
Lorenzo Colitti [Thu, 6 Jul 2017 06:30:31 +0000 (06:30 +0000)]
Merge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev
am: dcc15eabdf

Change-Id: I28e2de31fafa533e35655a2d5f2ec9b1e3554eee

7 years agoMerge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 06:13:55 +0000 (06:13 +0000)]
Merge "Add a developer offload for tethering hardware acceleration." into oc-dr1-dev

7 years agoRemoved camera lift gesture settings UI.
Daniel Sheng [Thu, 6 Jul 2017 05:39:34 +0000 (05:39 +0000)]
Removed camera lift gesture settings UI.
am: 9a16e473ab

Change-Id: I7fe06ff066878b725be5a8ac6132ee9fa9ff3a81

7 years agoChange empty apn type in user entered APN to non-read-only types.
TreeHugger Robot [Mon, 19 Jun 2017 23:21:12 +0000 (23:21 +0000)]
Change empty apn type in user entered APN to non-read-only types.

Test: Manually added APN and verified read-only and non-wildcardable
types are not included
Bug: 38186417

Change-Id: I07bcf1c2a950a1257446f0a7beb602fed79423b3

7 years agoMerge "Added suggestions for gestures." into oc-dr1-dev
Daniel Sheng [Thu, 6 Jul 2017 03:30:33 +0000 (03:30 +0000)]
Merge "Added suggestions for gestures." into oc-dr1-dev
am: f8e0963f78

Change-Id: If48fd6cbbc1e8a90afd12da39df8752c4ff301f4

7 years agoMerge "Bluetooth: Use string in remote device summary am: 04f5967c95" into oc-dr1...
Android Build Merger (Role) [Thu, 6 Jul 2017 03:27:09 +0000 (03:27 +0000)]
Merge "Bluetooth: Use string in remote device summary am: 04f5967c95" into oc-dr1-dev-plus-aosp

7 years agoBluetooth: Use string in remote device summary
Jack He [Thu, 6 Jul 2017 03:25:08 +0000 (03:25 +0000)]
Bluetooth: Use string in remote device summary
am: 04f5967c95

Change-Id: Idc084b72529a7408edf3ed7cb74496851e65d053

7 years agoRemoved camera lift gesture settings UI.
Daniel Sheng [Fri, 30 Jun 2017 20:14:57 +0000 (13:14 -0700)]
Removed camera lift gesture settings UI.

Bug: 37154489
Test: make + manual + unit tests
Change-Id: Ifefa07d0e8e0de19d78303352c6f0e01dc1c52ab
Merged-In: I79e70dea12a65fefcb06aca3fd1891a95d856626

7 years agoBluetooth: Use string in remote device summary
Jack He [Thu, 6 Jul 2017 03:23:43 +0000 (03:23 +0000)]
Bluetooth: Use string in remote device summary
am: 04f5967c95

Change-Id: Ib8673c03e6875d4661015f9fa0eb25b658090ad2

7 years agoMerge "Added suggestions for gestures." into oc-dr1-dev
Daniel Sheng [Thu, 6 Jul 2017 03:19:57 +0000 (03:19 +0000)]
Merge "Added suggestions for gestures." into oc-dr1-dev

7 years agoAdd a developer offload for tethering hardware acceleration.
Lorenzo Colitti [Tue, 4 Jul 2017 15:29:44 +0000 (00:29 +0900)]
Add a developer offload for tethering hardware acceleration.

Bug: 32163131
Test: builds
Change-Id: Icca7bbd2bdd572b1328e7d0fecb663405b115fe1

7 years agoMake utility methods static.
Alex Kulesza [Thu, 6 Jul 2017 01:24:46 +0000 (01:24 +0000)]
Make utility methods static.
am: 43d4fefb36

Change-Id: If15b946499c572a693712607bc818d143875290f

7 years agoBluetooth: Use string in remote device summary
Jack He [Wed, 28 Jun 2017 19:08:55 +0000 (12:08 -0700)]
Bluetooth: Use string in remote device summary

* Use String in connected device summary instead of resource id
* This allows dynamic strings to be built by CachedBluetoothDevice
  such as ones involve battery level percentages

Bug: 35874078
Test: make, unit test, test with Bluetooth devices
Change-Id: I583eac73280ca17387b215a4e7095e27de399998

7 years agoAdded suggestions for gestures.
Daniel Sheng [Thu, 8 Jun 2017 16:24:30 +0000 (09:24 -0700)]
Added suggestions for gestures.

Bug: 30986021
Test: manual + make RunSettingsRoboTests + adb shell am instrument -w
com.android.settings.tests.unit /android.support.test.runner.AndroidJUnitRunner
Change-Id: I7337a141cb21e5a1399aaca05ec1facd8629577b
Merged-In: I7aed110c81ca2fb6b90e2f359b4bb941c02bc1c3

7 years agoMerge "Merge "Fix Bluetooth device details crash on screen rotation" into oc-dr1...
Android Build Merger (Role) [Wed, 5 Jul 2017 22:58:57 +0000 (22:58 +0000)]
Merge "Merge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev am: 6d50576496" into oc-dr1-dev-plus-aosp

7 years agoMerge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev
Antony Sargent [Wed, 5 Jul 2017 22:56:11 +0000 (22:56 +0000)]
Merge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev
am: 6d50576496

Change-Id: I91cedada5ebd6c77378d918b90440aca50f000a5

7 years agoRender enhanced battery projection curves.
Alex Kulesza [Thu, 29 Jun 2017 16:26:59 +0000 (12:26 -0400)]
Render enhanced battery projection curves.

BatteryInfo now supplies standard linear or enhanced projection curves,
depending on the provider.

Note that the semantics of parsing have changed slightly in that the
value of endTime supplied to onParsingStarted is now the end time of the
historical data and does not include the projection. However, as far as
I can see there is no existing code that depends on the parsing
functionality besides BatteryInfo itself.

Also slightly optimizes the updating behavior of the UsageGraph, since
we are now reconfiguring it multiple times.

Bug: 38400320
Test: make RunSettingsRoboTests, manual on device
Change-Id: Ieff26d31356b34bb38e49f54f979fd80549864b2

7 years agoMerge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev
Antony Sargent [Wed, 5 Jul 2017 22:55:51 +0000 (22:55 +0000)]
Merge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev
am: 6d50576496

Change-Id: Ib35f0e2f74055b7c119f9fd9775c7299a6cc9e29

7 years agoMake utility methods static.
Alex Kulesza [Wed, 5 Jul 2017 21:43:11 +0000 (17:43 -0400)]
Make utility methods static.

BatteryUtils.convertUsToMs and .convertMsToUs should be static, and now
they are.

Bug: 63347148
Test: make RunSettingsRoboTests
Change-Id: If652e2d3e1260df9a933805d7da670fbb26b2c25

7 years agoMerge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev
Antony Sargent [Wed, 5 Jul 2017 22:49:04 +0000 (22:49 +0000)]
Merge "Fix Bluetooth device details crash on screen rotation" into oc-dr1-dev

7 years agoMerge "Use EntityHeaderController in WifiDetailPreferenceController." into oc-dr1-dev
Sundeep Ghuman [Wed, 5 Jul 2017 22:30:22 +0000 (22:30 +0000)]
Merge "Use EntityHeaderController in WifiDetailPreferenceController." into oc-dr1-dev
am: 09229abbf2

Change-Id: I7a636c40515b24b7376b8ceadf969a257b2dc8d9

7 years agoMerge "Use EntityHeaderController in WifiDetailPreferenceController." into oc-dr1-dev
TreeHugger Robot [Wed, 5 Jul 2017 22:21:40 +0000 (22:21 +0000)]
Merge "Use EntityHeaderController in WifiDetailPreferenceController." into oc-dr1-dev

7 years agoShrink the music icon.
Daniel Nishi [Thu, 29 Jun 2017 19:30:26 +0000 (12:30 -0700)]
Shrink the music icon.

The icons on the ManageApplications screen are 42dp by default. By
pushing a big inset, we can shrink it to be appropriate.

Change-Id: Iadf9f9f708c7469f42559f88626789127f865543
Fixes: 62548746
Test: Manual

7 years agoAdd util method to get battery stats
Matthew Fritze [Fri, 23 Jun 2017 01:47:38 +0000 (18:47 -0700)]
Add util method to get battery stats

Bug:62271803
Test: make RunSettingsRoboTests
Change-Id: I91089c24c7cd5f7329be052c50859e049e70e9b1

7 years agoUpdate the Storage icons.
Daniel Nishi [Wed, 28 Jun 2017 21:41:18 +0000 (14:41 -0700)]
Update the Storage icons.

Change-Id: I10648df80566629c09d03211ed642516595e4b22
Fixes: 62548249
Test: Manual

7 years agoMerge "Merge "Storage item preferences should be 72dp tall." into oc-dr1-dev am:...
Android Build Merger (Role) [Wed, 5 Jul 2017 20:42:57 +0000 (20:42 +0000)]
Merge "Merge "Storage item preferences should be 72dp tall." into oc-dr1-dev am: 37caf9c7da" into oc-dr1-dev-plus-aosp

7 years agoMerge "Storage item preferences should be 72dp tall." into oc-dr1-dev
Daniel Nishi [Wed, 5 Jul 2017 20:42:44 +0000 (20:42 +0000)]
Merge "Storage item preferences should be 72dp tall." into oc-dr1-dev
am: 37caf9c7da

Change-Id: I97bb447b0b2ce106bc87914bc2b10df6b7632a4c