OSDN Git Service

android-x86/packages-apps-Settings.git
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 agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Tue, 27 Jun 2017 19:52:22 +0000 (19:52 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Add Night Light to Settings widget" into oc-dr1-dev
Sean Stout [Tue, 27 Jun 2017 18:10:15 +0000 (18:10 +0000)]
Merge "Add Night Light to Settings widget" into oc-dr1-dev
am: 2b0ea1c710

Change-Id: I1431c67495c1c49dd727241a9a0993b78b053960

7 years agoMerge "Add Night Light to Settings widget" into oc-dr1-dev
Sean Stout [Tue, 27 Jun 2017 18:04:28 +0000 (18:04 +0000)]
Merge "Add Night Light to Settings widget" into oc-dr1-dev

7 years agoMerge "Search results page polish" into oc-dr1-dev
Andrew Sapperstein [Tue, 27 Jun 2017 17:02:58 +0000 (17:02 +0000)]
Merge "Search results page polish" into oc-dr1-dev
am: 692a4b5514

Change-Id: I9953971cfaa2c78b2be9fbd027f7cdb029bbb9c1

7 years agoMerge "Search results page polish" into oc-dr1-dev
TreeHugger Robot [Tue, 27 Jun 2017 16:53:52 +0000 (16:53 +0000)]
Merge "Search results page polish" into oc-dr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Jun 2017 07:26:26 +0000 (00:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: I19a85ce3981e7aac6708b6aa2d78fd51c9d03141
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Jun 2017 07:20:56 +0000 (00:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: I032ef2ee9e18202c2b114497577e8fd770ec6775
Auto-generated-cl: translation import

7 years agoMerge "Fix assist gesture settings summary" into oc-dr1-dev
Kevin Chyn [Tue, 27 Jun 2017 03:34:30 +0000 (03:34 +0000)]
Merge "Fix assist gesture settings summary" into oc-dr1-dev
am: 63e36128e6

Change-Id: I05d1d9129892ebf1049f771ebc2404bafee4d60a

7 years agoMerge "Fix assist gesture settings summary" into oc-dr1-dev
TreeHugger Robot [Tue, 27 Jun 2017 03:28:41 +0000 (03:28 +0000)]
Merge "Fix assist gesture settings summary" into oc-dr1-dev

7 years agoMerge "Dashboard search bar polish" into oc-dr1-dev
Andrew Sapperstein [Tue, 27 Jun 2017 02:35:15 +0000 (02:35 +0000)]
Merge "Dashboard search bar polish" into oc-dr1-dev
am: 3b7ed7ae65

Change-Id: I85a67a54a79123db510cebdbc04e06cb6dfb420e

7 years agoMerge "Dashboard search bar polish" into oc-dr1-dev
TreeHugger Robot [Tue, 27 Jun 2017 02:28:24 +0000 (02:28 +0000)]
Merge "Dashboard search bar polish" into oc-dr1-dev

7 years agoMerge "Rename buttons in lock screen setup" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:17:25 +0000 (01:17 +0000)]
Merge "Rename buttons in lock screen setup" into oc-dr1-dev
am: fbfca43e6e

Change-Id: Ia7de9aba909a00bb2bf9acd01d897fcedcdfb4c2

7 years agoMerge "Update skip button label to "Do it later"" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:17:05 +0000 (01:17 +0000)]
Merge "Update skip button label to "Do it later"" into oc-dr1-dev
am: b97f91c971

Change-Id: Iea6dc3f9e7777b750203c36997b75c524f3699ea

7 years agoMerge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:16:46 +0000 (01:16 +0000)]
Merge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev
am: 624212f43c

Change-Id: I90b4d7d57a7dc3bca86f46b34b0f9af2b78ea574

7 years agoMerge "Update buttons in FP find sensor" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:16:16 +0000 (01:16 +0000)]
Merge "Update buttons in FP find sensor" into oc-dr1-dev
am: a102714c19

Change-Id: I7ac04a8bf769be782c79bd0e672c38db1bd6187b

7 years agoMerge "Rename buttons in lock screen setup" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:10:48 +0000 (01:10 +0000)]
Merge "Rename buttons in lock screen setup" into oc-dr1-dev

7 years agoMerge "Update skip button label to "Do it later"" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:10:36 +0000 (01:10 +0000)]
Merge "Update skip button label to "Do it later"" into oc-dr1-dev

7 years agoMerge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:10:22 +0000 (01:10 +0000)]
Merge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev

7 years agoMerge "Update buttons in FP find sensor" into oc-dr1-dev
Maurice Lam [Tue, 27 Jun 2017 01:10:09 +0000 (01:10 +0000)]
Merge "Update buttons in FP find sensor" into oc-dr1-dev

7 years agoSearch results page polish
Andrew Sapperstein [Mon, 26 Jun 2017 01:55:57 +0000 (18:55 -0700)]
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

7 years agoMerge "Update icon for language settings" into oc-dr1-dev
Fan Zhang [Mon, 26 Jun 2017 22:22:30 +0000 (22:22 +0000)]
Merge "Update icon for language settings" into oc-dr1-dev
am: 124232d6fa

Change-Id: I0d5f9f945437312a82a9ced59988d8b653088d6c

7 years agoMerge "Fix PremiumSmsAccess memory leak" am: 31a2f413f8 -s ours am: 34fe9136c6
daqi [Mon, 26 Jun 2017 22:20:53 +0000 (22:20 +0000)]
Merge "Fix PremiumSmsAccess memory leak" am: 31a2f413f8  -s ours am: 34fe9136c6
am: 96e566a68c

Change-Id: I9bff0585afa8cf2675479356edaf40b4bc81794a

7 years agoMerge "Fix PremiumSmsAccess memory leak" am: 31a2f413f8 -s ours
daqi [Mon, 26 Jun 2017 22:18:38 +0000 (22:18 +0000)]
Merge "Fix PremiumSmsAccess memory leak" am: 31a2f413f8  -s ours
am: 34fe9136c6

Change-Id: I01c8d25555d6a71e552137d74a0b500d79df7e87

7 years agoMerge "Update icon for language settings" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 22:08:32 +0000 (22:08 +0000)]
Merge "Update icon for language settings" into oc-dr1-dev

7 years agoMerge "Fix PremiumSmsAccess memory leak"
daqi [Mon, 26 Jun 2017 22:05:13 +0000 (22:05 +0000)]
Merge "Fix PremiumSmsAccess memory leak"
am: 31a2f413f8  -s ours

Change-Id: Ibaba7d54ce393f2212df3f05b8929b445ccba912

7 years agoMerge "Fix PremiumSmsAccess memory leak"
Treehugger Robot [Mon, 26 Jun 2017 21:13:47 +0000 (21:13 +0000)]
Merge "Fix PremiumSmsAccess memory leak"

7 years agoMerge "Remove unnecessary functions from AssistGestureFeatureProvider" into oc-dr1-dev
Kevin Chyn [Mon, 26 Jun 2017 20:30:56 +0000 (20:30 +0000)]
Merge "Remove unnecessary functions from AssistGestureFeatureProvider" into oc-dr1-dev
am: 0e393d4163

Change-Id: I3bc791c4d31d78de761eda608c26450d9940f11d

7 years agoMerge "Update the chargeLabel when battery level is full" into oc-dr1-dev
jackqdyulei [Mon, 26 Jun 2017 20:30:26 +0000 (20:30 +0000)]
Merge "Update the chargeLabel when battery level is full" into oc-dr1-dev
am: 1eb2f15339

Change-Id: I9a1e1f78b34e989a1e56a0e43bf2f40df10a35eb

7 years agoMerge "Remove unnecessary functions from AssistGestureFeatureProvider" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 20:23:09 +0000 (20:23 +0000)]
Merge "Remove unnecessary functions from AssistGestureFeatureProvider" into oc-dr1-dev

7 years agoMerge "Update the chargeLabel when battery level is full" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 20:22:25 +0000 (20:22 +0000)]
Merge "Update the chargeLabel when battery level is full" into oc-dr1-dev

7 years agoMerge "Hide misc in battery settings" into oc-dr1-dev
jackqdyulei [Mon, 26 Jun 2017 20:01:22 +0000 (20:01 +0000)]
Merge "Hide misc in battery settings" into oc-dr1-dev
am: da45ba8c9e

Change-Id: Idb9d205dec2db148c4832266716da565eaf3cf73

7 years agoMerge "Hide misc in battery settings" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 19:52:53 +0000 (19:52 +0000)]
Merge "Hide misc in battery settings" into oc-dr1-dev

7 years agoMerge "Add a rename dialog for paired Bluetooth devices" into oc-dr1-dev
Antony Sargent [Mon, 26 Jun 2017 19:49:16 +0000 (19:49 +0000)]
Merge "Add a rename dialog for paired Bluetooth devices" into oc-dr1-dev
am: ee55927bd4

Change-Id: Ibc1dbef4dac9d5830aee7cc1a70ccb70333d32cf

7 years agoMerge "Add a rename dialog for paired Bluetooth devices" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 19:35:04 +0000 (19:35 +0000)]
Merge "Add a rename dialog for paired Bluetooth devices" into oc-dr1-dev

7 years agoUpdate icon for language settings
Fan Zhang [Mon, 26 Jun 2017 18:37:12 +0000 (11:37 -0700)]
Update icon for language settings

Change-Id: I74691be4d2e8377640b931a3b05021129ce246d5
Fix: 37929875
Test: visual

7 years agoHide misc in battery settings
jackqdyulei [Mon, 26 Jun 2017 17:36:05 +0000 (10:36 -0700)]
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

7 years agoDashboard search bar polish
Andrew Sapperstein [Sun, 25 Jun 2017 22:18:46 +0000 (15:18 -0700)]
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

7 years agoAdd a rename dialog for paired Bluetooth devices
Antony Sargent [Fri, 16 Jun 2017 20:17:39 +0000 (13:17 -0700)]
Add a rename dialog for paired Bluetooth devices

This adds an icon to the paired device details page which users can
click on to bring up a dialog for changing the display name for that
device.

We already had a dialog for changing the advertised name of the local
Bluetooth adapter that's used on the main Bluetooth settings page, so
I've made that abstract and created two new subclasses to encapsulate
the slight differences for this use case.

Bug: 62535241
Test: make RunSettingsRoboTests
Change-Id: I1c407f276e12aedf066a336e24b4ccd16d67c4df

7 years agoRemove logic for adding a search icon to action bar.
Andrew Sapperstein [Sun, 25 Jun 2017 23:12:44 +0000 (23:12 +0000)]
Remove logic for adding a search icon to action bar.
am: a2dd9978d4

Change-Id: Ifbc919113e129e997d20a89069e159fc5963ee1c

7 years agoRemove logic for adding a search icon to action bar.
Andrew Sapperstein [Sun, 25 Jun 2017 20:51:08 +0000 (13:51 -0700)]
Remove logic for adding a search icon to action bar.

No longer used given that we don't show the search icon on any page.
The main settings page now has the search bar.

Change-Id: I9535028298739467e7fa9c75d1a2fb2b2fa3251b
Fixes: 62230804
Bug: 37477506
Test: robotests

7 years agoRemove unnecessary functions from AssistGestureFeatureProvider
Kevin Chyn [Sat, 24 Jun 2017 21:16:47 +0000 (14:16 -0700)]
Remove unnecessary functions from AssistGestureFeatureProvider

Fixes: 62945918

Test: make -j RunSettingsRoboTests && manual
Change-Id: I13438e6741a3398d06917b45f098c13df7dff97e

7 years agoMerge "Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled" into oc-dr1-dev
Andrew Sapperstein [Sat, 24 Jun 2017 04:54:51 +0000 (04:54 +0000)]
Merge "Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled" into oc-dr1-dev
am: 74a350f9c9

Change-Id: I5f90f5dc56765ab16e9bc6879fe84d3fe31ce0df

7 years agoMerge "Refactored area update info support" into oc-dr1-dev
Jack Yu [Sat, 24 Jun 2017 04:47:53 +0000 (04:47 +0000)]
Merge "Refactored area update info support" into oc-dr1-dev
am: 698dc94151

Change-Id: I8df78f80b3bcadcb9c3a409cea5f75f64f76ed38

7 years agoFix assist gesture settings summary
Kevin Chyn [Wed, 21 Jun 2017 01:33:40 +0000 (18:33 -0700)]
Fix assist gesture settings summary

Fixes: 62841640

Test: make -j RunSettingsRoboTests && manual testing of settings

Merged-In: I75ffce4ff1054dad6b2733a7d4f6bc7e526a8034
Change-Id: I75ffce4ff1054dad6b2733a7d4f6bc7e526a8034

7 years agoRename buttons in lock screen setup
Maurice Lam [Sat, 24 Jun 2017 02:15:06 +0000 (19:15 -0700)]
Rename buttons in lock screen setup

- "Continue" in choose lock flows are renamed to "Next"
- "Done" in fingerprint enroll finish screen is renamed to "Next"
  during setup flow.

Test: Manual
Bug: 62839648
Change-Id: I3ea77b759b654d7c1da1f7b545781c9dfd74caa3

7 years agoUpdate skip button label to "Do it later"
Maurice Lam [Sat, 24 Jun 2017 01:55:50 +0000 (18:55 -0700)]
Update skip button label to "Do it later"

Test: Manual
Bug: 62839648
Change-Id: I3616fb8095eb1ca77798d45730a1ffcda8f542a4

7 years agoAdd skip button to fingerprint enrolling screen
Maurice Lam [Sat, 24 Jun 2017 01:48:13 +0000 (18:48 -0700)]
Add skip button to fingerprint enrolling screen

Test: Manual
Bug: 62839648
Change-Id: I3f05c64eb5b88cd91c8c98b02845a99df2d27203

7 years agoUpdate buttons in FP find sensor
Maurice Lam [Sat, 24 Jun 2017 00:47:23 +0000 (17:47 -0700)]
Update buttons in FP find sensor

Remove the next button (so the user has to touch the sensor to
proceed), and add a skip button.

Test: cd tests/robotests && mma
Bug: 62839648
Change-Id: I555948ac2f3235e08b91f0957aa8e0ce24535c08

7 years agoMerge "Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled" into oc-dr1-dev
TreeHugger Robot [Fri, 23 Jun 2017 23:44:47 +0000 (23:44 +0000)]
Merge "Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled" into oc-dr1-dev

7 years agoMerge "Refactored area update info support" into oc-dr1-dev
Jack Yu [Fri, 23 Jun 2017 23:13:50 +0000 (23:13 +0000)]
Merge "Refactored area update info support" into oc-dr1-dev

7 years agoMerge "Change the method to get foreground time." into oc-dr1-dev
jackqdyulei [Fri, 23 Jun 2017 21:33:02 +0000 (21:33 +0000)]
Merge "Change the method to get foreground time." into oc-dr1-dev
am: 9463219048

Change-Id: Iab042eb8275c05f4a9cb6c222c3bfe3279582669

7 years agoRemove PowerUsageFeatureProvider.isAnomalyDetectionEnabled
Andrew Sapperstein [Fri, 23 Jun 2017 21:32:22 +0000 (14:32 -0700)]
Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled

Instead, this decision is being handled via AnomalyDetectionPolicy.

Change-Id: I5b1831c78e31e3be984dda07bcea9f0b0a25d52f
Fixes: 62871629
Test: robotests

7 years agoMerge "Change the method to get foreground time." into oc-dr1-dev
TreeHugger Robot [Fri, 23 Jun 2017 21:28:32 +0000 (21:28 +0000)]
Merge "Change the method to get foreground time." into oc-dr1-dev

7 years agoUpdate the chargeLabel when battery level is full
jackqdyulei [Fri, 23 Jun 2017 20:52:36 +0000 (13:52 -0700)]
Update the chargeLabel when battery level is full

Before this cl, it will show "100% - charging", which doesn't make
sense. This cl removes "- charging", and only show "100%" in this
case

Bug: 62559153
Test: RunSettingsRoboTests
Change-Id: Id124fe4098e21b4a69c4a7d3d522fa227faab65d

7 years agoAdd fingerprint backup message
Maurice Lam [Fri, 23 Jun 2017 20:48:45 +0000 (20:48 +0000)]
Add fingerprint backup message
am: d793590678

Change-Id: I431ad2491085b9bccc1b90a117a30497f4156c9e

7 years agoAdd fingerprint backup message
Maurice Lam [Thu, 22 Jun 2017 00:09:33 +0000 (17:09 -0700)]
Add fingerprint backup message

Test: Manual
Bug: 62844631
Change-Id: I7ce5fd4033c9f37f7aa170750edc7ffe0b583fcf

7 years agoChange the method to get foreground time.
jackqdyulei [Thu, 22 Jun 2017 17:24:27 +0000 (10:24 -0700)]
Change the method to get foreground time.

This cl changes it to:
foregroundTime = MIN(topTime, foregroundActivityTime);

Bug: 62884954
Test: RunSettingsRoboTests
Change-Id: I236c18b19c4f06c5a6d018bc06ffb9862af51de2

7 years agoMerge "Add a flag to enable/disable new device suggestion" into oc-dr1-dev
Fan Zhang [Fri, 23 Jun 2017 17:34:00 +0000 (17:34 +0000)]
Merge "Add a flag to enable/disable new device suggestion" into oc-dr1-dev
am: e28599049e

Change-Id: I4ee4f15c73d8ef633704553b8147c3c3c3a02a6c

7 years agoMerge "Add a flag to enable/disable new device suggestion" into oc-dr1-dev
TreeHugger Robot [Fri, 23 Jun 2017 17:27:57 +0000 (17:27 +0000)]
Merge "Add a flag to enable/disable new device suggestion" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 6b1ff7073a -s ours
Bill Yi [Fri, 23 Jun 2017 13:00:52 +0000 (13:00 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 6b1ff7073a  -s ours
am: bbeaae705d  -s ours

Change-Id: I2125118b568ea7d81b37a7c944d6c16d75742824

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Fri, 23 Jun 2017 13:00:07 +0000 (13:00 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 6300674d27  -s ours

Change-Id: I242fc96c03e5e4754cbc3fee027ce483301f0b1c

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 6b1ff7073a -s ours
Bill Yi [Fri, 23 Jun 2017 12:48:51 +0000 (12:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 6b1ff7073a  -s ours
am: 5386943cf2  -s ours

Change-Id: Ib26efa4af930a2e9aa369e3afc1ec7cc57c065ab

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Fri, 23 Jun 2017 12:39:42 +0000 (12:39 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 6b1ff7073a  -s ours

Change-Id: Ic62eae25c60977a427a5414e73d7c6f08cf204a9

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Fri, 23 Jun 2017 12:32:31 +0000 (12:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Fri, 23 Jun 2017 12:29:05 +0000 (12:29 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 6b1ff7073a  -s ours

Change-Id: Ic3856a964218fae0861218de0ca46f3d50820e5f

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 12:23:14 +0000 (12:23 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Jun 2017 08:39:20 +0000 (01:39 -0700)]
Import translations. DO NOT MERGE

Change-Id: I86e7dbea32adfb191ec6bb40cb2a4714bd583c24
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Jun 2017 08:33:27 +0000 (01:33 -0700)]
Import translations. DO NOT MERGE

Change-Id: I277e41f97963c4f676aef802c9f0ce2c47838515
Auto-generated-cl: translation import

7 years agoFix PremiumSmsAccess memory leak
daqi [Sat, 17 Jun 2017 07:24:44 +0000 (15:24 +0800)]
Fix PremiumSmsAccess memory leak

[Cause of Defect]
PremiumSmsAccess forget to invoke Session and AppStateSmsPremBridge
release method in the onDestroy callback.
And that would lead to the leak of activity context.

Test: 1. Settings - Apps - Advanced - Special access - Premium SMS access
      2. adb shell dumpsys meminfo com.android.settings
      3. observe activity object number
      4. back to the last page
      5. use AS trigger Settings gc several times
      6. adb shell dumpsys meminfo com.android.settings
      7. observe activity object number to check if the activity number decrease

Change-Id: I359900c16fa866fba94d187a61cf6bebbdd1ed0b
Signed-off-by: daqi <daqi@xiaomi.com>
7 years agoMerge "Count cache in storage categories. am: b22b85b593 am: b57a71fe08" into oc...
Android Build Merger (Role) [Fri, 23 Jun 2017 04:30:14 +0000 (04:30 +0000)]
Merge "Count cache in storage categories. am: b22b85b593 am: b57a71fe08" into oc-dr1-dev-plus-aosp

7 years agoCount cache in storage categories. am: b22b85b593
Daniel Nishi [Fri, 23 Jun 2017 04:28:49 +0000 (04:28 +0000)]
Count cache in storage categories. am: b22b85b593
am: 5837a9b98b

Change-Id: If5107df5ea57dc782e76cd6444f38c9feaff037f

7 years agoCount cache in storage categories. am: b22b85b593
Daniel Nishi [Fri, 23 Jun 2017 04:28:43 +0000 (04:28 +0000)]
Count cache in storage categories. am: b22b85b593
am: b57a71fe08

Change-Id: Id280446eddddafbd7445a11ad42d1f66320b9128

7 years agoCount cache in storage categories.
Daniel Nishi [Fri, 23 Jun 2017 04:19:19 +0000 (04:19 +0000)]
Count cache in storage categories.
am: b22b85b593

Change-Id: I85b6ce492c34f67215dcb8539e7b88b02a9ef2fa

7 years agoCount cache in storage categories.
Daniel Nishi [Fri, 23 Jun 2017 04:19:16 +0000 (04:19 +0000)]
Count cache in storage categories.
am: b22b85b593

Change-Id: Idf44c0cd337cbd9aefc12dce8adecf97b4dc2d99

7 years agoCount cache in storage categories.
Daniel Nishi [Fri, 23 Jun 2017 00:09:59 +0000 (17:09 -0700)]
Count cache in storage categories.

This makes the System size more consistent because cache is not
attributed to the system (when the cache is under quota).

Change-Id: I680e70daf5e98b9a205023a218dfd1dcc8ee8334
Fixes: 62623731
Test: Settings Unit Test

7 years agoMerge "Load regulatory info from /data/misc" into oc-dr1-dev
Fan Zhang [Fri, 23 Jun 2017 01:43:15 +0000 (01:43 +0000)]
Merge "Load regulatory info from /data/misc" into oc-dr1-dev
am: f964e8c3b2

Change-Id: I39d82c1332362c2e4f90c793a9c5ef44d297353a

7 years agoMerge "Load regulatory info from /data/misc" into oc-dr1-dev
TreeHugger Robot [Fri, 23 Jun 2017 01:37:45 +0000 (01:37 +0000)]
Merge "Load regulatory info from /data/misc" into oc-dr1-dev

7 years agoMerge "Bluetooth: Make notifications local-only am: 1138397336 am: 493a76e087" into...
Android Build Merger (Role) [Fri, 23 Jun 2017 00:27:26 +0000 (00:27 +0000)]
Merge "Bluetooth: Make notifications local-only am: 1138397336 am: 493a76e087" into oc-dr1-dev-plus-aosp

7 years agoBluetooth: Make notifications local-only am: 1138397336
Marie Janssen [Fri, 23 Jun 2017 00:26:59 +0000 (00:26 +0000)]
Bluetooth: Make notifications local-only am: 1138397336
am: 493a76e087

Change-Id: Ife7f54253c73bdff35a8ee988d51be8bd4c7ebe1

7 years agoBluetooth: Make notifications local-only am: 1138397336
Marie Janssen [Fri, 23 Jun 2017 00:26:53 +0000 (00:26 +0000)]
Bluetooth: Make notifications local-only am: 1138397336
am: 0efa2b3427

Change-Id: I2b308d2646693280cb6e0f69106e94b481c526e3

7 years agoBluetooth: Make notifications local-only
Marie Janssen [Fri, 23 Jun 2017 00:22:24 +0000 (00:22 +0000)]
Bluetooth: Make notifications local-only
am: 1138397336

Change-Id: I26d09208b0425e5cdfb8317c7aa782ad0ef1fe5d

7 years agoBluetooth: Make notifications local-only
Marie Janssen [Fri, 23 Jun 2017 00:22:23 +0000 (00:22 +0000)]
Bluetooth: Make notifications local-only
am: 1138397336

Change-Id: Id287a1ba31898da57385a8e72cacbe03d7b78946

7 years agoMerge "Tint suggestion icons" into oc-dr1-dev
Maurice Lam [Thu, 22 Jun 2017 21:44:22 +0000 (21:44 +0000)]
Merge "Tint suggestion icons" into oc-dr1-dev
am: c1ab582fae

Change-Id: I8ad6d1c3ccd3c759981472cb7119dbb50dc90e99

7 years agoMerge "Tint suggestion icons" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 21:33:39 +0000 (21:33 +0000)]
Merge "Tint suggestion icons" into oc-dr1-dev

7 years agoLoad regulatory info from /data/misc
Fan Zhang [Tue, 20 Jun 2017 21:53:49 +0000 (14:53 -0700)]
Load regulatory info from /data/misc

Bug: 62837579
Test: settings test
Change-Id: I84ef037174a1839993d02e8cd46d159398be1ddc

7 years agoAdd a flag to enable/disable new device suggestion
Fan Zhang [Thu, 22 Jun 2017 19:44:31 +0000 (12:44 -0700)]
Add a flag to enable/disable new device suggestion

Change-Id: Iebf982731a01b3d6c1d3ad60e9d1f858f4e9151e
Fix: 62907886
Test: make RunSettingsRoboTests

7 years agoMerge "Create add more fingerprint suggestion for setup" into oc-dr1-dev
Maurice Lam [Thu, 22 Jun 2017 20:02:48 +0000 (20:02 +0000)]
Merge "Create add more fingerprint suggestion for setup" into oc-dr1-dev
am: cf3130338c

Change-Id: I5ee371963f73c8f645618a12949f545c2f88ca82

7 years agoMerge "Create add more fingerprint suggestion for setup" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 19:58:49 +0000 (19:58 +0000)]
Merge "Create add more fingerprint suggestion for setup" into oc-dr1-dev

7 years agoMerge "Update CHAR LIMIT for fingerprint dialog" into oc-dr1-dev
Maurice Lam [Thu, 22 Jun 2017 19:58:02 +0000 (19:58 +0000)]
Merge "Update CHAR LIMIT for fingerprint dialog" into oc-dr1-dev
am: e1eae4f05f

Change-Id: I4ef2d7373d80c95c1df60ee8af9dcae2e3ac61b6

7 years agoMerge "Update summary for Recent Apps." into oc-dr1-dev
Doris Ling [Thu, 22 Jun 2017 19:57:20 +0000 (19:57 +0000)]
Merge "Update summary for Recent Apps." into oc-dr1-dev
am: d7fc071f48

Change-Id: I076f239380ffd7883e1907d1f409d47127483cdc

7 years agoMerge "Update CHAR LIMIT for fingerprint dialog" into oc-dr1-dev
Maurice Lam [Thu, 22 Jun 2017 19:48:10 +0000 (19:48 +0000)]
Merge "Update CHAR LIMIT for fingerprint dialog" into oc-dr1-dev

7 years agoMerge "Update summary for Recent Apps." into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 19:39:08 +0000 (19:39 +0000)]
Merge "Update summary for Recent Apps." into oc-dr1-dev

7 years agoMerge "Fix BatteryInfo using enhanced estimate for charge time" into oc-dr1-dev
Salvador Martinez [Thu, 22 Jun 2017 18:47:11 +0000 (18:47 +0000)]
Merge "Fix BatteryInfo using enhanced estimate for charge time" into oc-dr1-dev
am: ed66c5fcdf

Change-Id: I54f1e94106a2ac984a7f736706e4c70b5db9b584

7 years agoMerge "Fix BatteryInfo using enhanced estimate for charge time" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 18:42:14 +0000 (18:42 +0000)]
Merge "Fix BatteryInfo using enhanced estimate for charge time" into oc-dr1-dev

7 years agoTint suggestion icons
Maurice Lam [Fri, 9 Jun 2017 23:14:36 +0000 (16:14 -0700)]
Tint suggestion icons

If the suggestion is marked as isIconTintable, tint the icon with
colorControlNormal.

Test: cd tests/robotests && mma
Bug: 62258845
Change-Id: I2a76181d9b8b4d9fbf496a8fc605cb762bba87c0

7 years agoFix BatteryInfo using enhanced estimate for charge time
Salvador Martinez [Mon, 19 Jun 2017 23:04:17 +0000 (16:04 -0700)]
Fix BatteryInfo using enhanced estimate for charge time

Due to a typo in BatteryEstimates the enhanced estimate we use
for discharging would also be used for charging. This CL corrects
the typo and adds a simple test to catch a similar mistake in the
future. We were also always loading the enhanced estimate even when
we were not using it. As a ~*bonus*~ it should also help improve
the speed of the charging use case for this screen and fixes an
issue with the battery not switching to the charging icon in the
main battery page.

Test: robotest
Bug: 62738028
Bug: 62873396
Bug: 62784575
Bug: 62736144
Change-Id: Ib2cbdeea22afb7da590b701b84f526bdac243410

7 years agoBluetooth: Make notifications local-only
Marie Janssen [Fri, 16 Jun 2017 00:19:36 +0000 (17:19 -0700)]
Bluetooth: Make notifications local-only

This will prevent them from showing up on external devices where they
would be less than useful.

Test: connect to watch and pair a device
Bug: 34612389
Change-Id: I8b02c20200ce78a73967b8121cf7d5653b68f356
(cherry picked from commit 426903d155a0e9089666736e784d498e6a016845)