OSDN Git Service
Amin Shaikh [Mon, 19 Mar 2018 18:59:18 +0000 (14:59 -0400)]
Remove unused string.
Bug:
74486080
Test: make
Change-Id: Ibe21b9b5c8c9a19b6bd3b73faa65f572159347d0
TreeHugger Robot [Mon, 19 Mar 2018 18:48:32 +0000 (18:48 +0000)]
Merge changes Ifc6355e2,Ia8afa338 into pi-dev
* changes:
DisplayCutout: Correctly apply light status bar
Letterboxing: ensure bar contrast
TreeHugger Robot [Mon, 19 Mar 2018 18:44:24 +0000 (18:44 +0000)]
Merge "Cosmetic changes on Field Classification TODOs and docs." into pi-dev
Alice Sheng [Mon, 19 Mar 2018 18:41:40 +0000 (18:41 +0000)]
Merge "Add setting for enabling CPU frequency scaling." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:28:28 +0000 (18:28 +0000)]
Merge "Bluetooth: preserve one advertisement slot for GMS core" into pi-dev
Felipe Leme [Mon, 19 Mar 2018 18:27:20 +0000 (18:27 +0000)]
Merge "Fixed AutofillManager.isAutofillUiShowing()" into pi-dev
Felipe Leme [Mon, 19 Mar 2018 18:15:00 +0000 (11:15 -0700)]
Fixed AutofillManager.isAutofillUiShowing()
It was using & instead of &&
Test: not really
Bug:
75652829
Bug:
74527545
Change-Id: Ib8ca79ba6ec35d2fc97f042db2152b03d334ce30
Alex Kershaw [Mon, 19 Mar 2018 18:17:23 +0000 (18:17 +0000)]
Merge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it's a no-op (and silent fail) when called from a non-system user." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:14:18 +0000 (18:14 +0000)]
Merge "Deletes default allowed_log_sources in statsd." into pi-dev
Jong Wook Kim [Mon, 19 Mar 2018 18:14:08 +0000 (18:14 +0000)]
Merge "Display that MAC is randomized in About Phones" into pi-dev
Adrian Roos [Mon, 19 Mar 2018 18:02:22 +0000 (18:02 +0000)]
Merge "Fix PackageParser tests" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 18:00:40 +0000 (18:00 +0000)]
Merge "Resolve STATSD and batterystats race condition" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:56:14 +0000 (17:56 +0000)]
Merge "Don't use IPC in isolateProcess" into pi-dev
Chavi Weingarten [Mon, 19 Mar 2018 17:40:31 +0000 (17:40 +0000)]
Merge changes I72119772,I124e4cc0,I462d4dfc into pi-dev
* changes:
Clear all options from Task when any ActivityRecord consumes the options.
Revert "Set options on startingActivity instead of topActivity"
Revert "Set options for activity being brought to front."
TreeHugger Robot [Mon, 19 Mar 2018 17:24:17 +0000 (17:24 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:22:52 +0000 (17:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Mike Digman [Mon, 19 Mar 2018 17:22:39 +0000 (17:22 +0000)]
Merge "Fix KeyButtonDrawable dark intensity logic error" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:17:52 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:17:12 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Mike Digman [Mon, 19 Mar 2018 17:13:30 +0000 (17:13 +0000)]
Merge "Add disable2 flag for rotate suggestions" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 17:08:45 +0000 (17:08 +0000)]
Merge "Light greylist additions." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:58:23 +0000 (16:58 +0000)]
Merge "Update mobile data off dialog." into pi-dev
Adrian Roos [Mon, 19 Mar 2018 16:47:12 +0000 (17:47 +0100)]
DisplayCutout: Correctly apply light status bar
Fixes an issue where light navigation bar was not
properly applied in landscape where the letterbox
does not overlap with the status bar.
This removes a hack that is no longer necessary
now that we track exactly if the letterbox overlaps
the system bars and put them into black-background
mode if so.
Bug:
72696928
Test: Open API Demos > Activity > Max Aspect Ratio > Any; rotate to landscape, verify that status bar is light.
Change-Id: Ifc6355e2eeadf0821c9ac82ce78c812916de5034
Lorenzo Colitti [Mon, 19 Mar 2018 16:49:47 +0000 (16:49 +0000)]
Merge "Enable cleartext for captive portal apps" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:47:30 +0000 (16:47 +0000)]
Merge "Frameworks: Make MockUtils more robust" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:46:19 +0000 (16:46 +0000)]
Merge "Removed flaky annotation from testFocusedWindowMultipleDisplays" into pi-dev
Sarah Edris [Mon, 19 Mar 2018 16:42:39 +0000 (16:42 +0000)]
Merge "Whitelist FullBackupDataOutput" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:27:41 +0000 (16:27 +0000)]
Merge "Softens one of the battery strings per UI request" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 16:18:53 +0000 (16:18 +0000)]
Merge "StatsManager log lines should be in logcat" into pi-dev
Jong Wook Kim [Wed, 14 Mar 2018 18:16:06 +0000 (11:16 -0700)]
Display that MAC is randomized in About Phones
When Connected MAC Randomization is enabled and the device is
disconnected, there isn't a valid MAC address to display since we don't
know what the device's next MAC address is going to be.
In such cases, display "MAC address is randomized" instead of an invalid
MAC address in About Phones page.
Bug:
73663275
Test: make RunSettingsLibRoboTests -j40
Change-Id: I0a4df2b1b0823632b26f90e097c26f47dd5a0a67
Jorim Jaggi [Mon, 19 Mar 2018 15:36:05 +0000 (15:36 +0000)]
Merge "Insert correct app transition events for recents anim" into pi-dev
Makoto Onuki [Mon, 19 Mar 2018 15:12:36 +0000 (15:12 +0000)]
Merge "Fix SyncResutl.delayUntil javadoc" into pi-dev
Adrian Roos [Thu, 15 Mar 2018 14:41:13 +0000 (15:41 +0100)]
Letterboxing: ensure bar contrast
Ensures that any bars that draw over a letterbox draw their own
background such that they always have contrast.
This fixes an issue, where if a light status / navigation bar app was
letterboxed, the bar would still draw dark icons over the now black
letterbox, making the icons unreadable.
To do so, splits the letterbox into a layout and an apply surface
changes phase.
Change-Id: Ia8afa3386d75d9a72434d701b867c3ebc35cc36f
Fixes:
72696928
Test: Open a letterboxed app with a white navigation bar, verify it is visible
Test: ApiDemos > App > Activity > Max Aspect Ratio > 1:1, verify navbar is visible
Jorim Jaggi [Thu, 15 Mar 2018 14:51:32 +0000 (15:51 +0100)]
Insert correct app transition events for recents anim
The transition delay will be the latency until all the leashes
were created etc. Thus, the actual latency is going to be in
WINDOWS_DRAWN_DELAY.
Also fix an issue where we inadvertently started a transition,
and then the transition logger was hanging.
Bug:
72967764
Test: Swipe up from home button, observe eventlog
Change-Id: I2b1fb7d9d694a629a33653c1fa3d5ed47f53de6b
Amin Shaikh [Fri, 9 Mar 2018 19:50:59 +0000 (14:50 -0500)]
Update mobile data off dialog.
Show the mobile data turn off dialog until the user taps the turn off
button. All subsequent toggles will immediately toggle data on/off. Also
update the message copy.
Fixes:
74072757
Test: runtest systemui && manual
Change-Id: I489d5c3c19d52a6f531b1b925b3210019412243b
Mathew Inwood [Mon, 19 Mar 2018 14:31:17 +0000 (14:31 +0000)]
Light greylist additions.
Gathered from dogfood bugreports.
Test: m
Bug:
74940461
Change-Id: I08a450f987ae0e87ab6f7306e9d89a7ca3368f70
Adrian Roos [Mon, 19 Mar 2018 13:51:02 +0000 (14:51 +0100)]
Fix PackageParser tests
Also adds the well-known-fields test to presubmit to prevent
similar breakage in the future.
Change-Id: I717396802b5978b2da9de78a6203303082663d38
Fixes:
75450512
Test: atest PackageParserTest
Wale Ogunwale [Mon, 19 Mar 2018 14:35:32 +0000 (07:35 -0700)]
Removed flaky annotation from testFocusedWindowMultipleDisplays
No longer flaky
https://dashboards.corp.google.com/google::_550f6bcf_09dd_4963_b94c_d243e37d002f?f=class_name:in:com.android.server.wm.DisplayContentTests&f=test_name:in:com.android.server.wm.DisplayContentTests.testFocusedWindowMultipleDisplays&f=run_date_usec:eq:(null)&f=presubmit:in:false&f=build_id:eq:(null)
Change-Id: I10504a24144e7636ab7205a079415f6d4eeba043
Fixes:
37908381
Test: self
TreeHugger Robot [Mon, 19 Mar 2018 14:27:16 +0000 (14:27 +0000)]
Merge "ConfirmationDialog: Fail if accessibility services are running." into pi-dev
Sarah Edris [Mon, 19 Mar 2018 12:48:28 +0000 (12:48 +0000)]
Whitelist FullBackupDataOutput
Bug:
74424953
Test: N/A
Change-Id: I3b0386fa004352ef32cb03ba2c53a53bd0f6e1f1
TreeHugger Robot [Mon, 19 Mar 2018 14:02:13 +0000 (14:02 +0000)]
Merge "Fix test failure" into pi-dev
David Brazdil [Mon, 19 Mar 2018 13:31:55 +0000 (13:31 +0000)]
Merge "Add more hidden APIs on the light greylist" into pi-dev
Jorim Jaggi [Mon, 19 Mar 2018 13:23:30 +0000 (13:23 +0000)]
Merge "Fix lockscreen notification launch animation" into pi-dev
Bill Yi [Mon, 19 Mar 2018 13:12:52 +0000 (06:12 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icb81b9c2336d04310365592f1cccb53dad0c0403
TreeHugger Robot [Mon, 19 Mar 2018 13:06:30 +0000 (13:06 +0000)]
Merge "Trace currently resumed app" into pi-dev
Bill Yi [Mon, 19 Mar 2018 12:57:48 +0000 (05:57 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I43866a852ad32c8acdcbd994e24f1604d32ee2af
TreeHugger Robot [Mon, 19 Mar 2018 12:53:21 +0000 (12:53 +0000)]
Merge "Close file descriptors of ProfilerInfo" into pi-dev
Wale Ogunwale [Mon, 19 Mar 2018 12:30:08 +0000 (12:30 +0000)]
Merge "Don't allow focus on activity in minimized split-screen." into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 11:20:27 +0000 (11:20 +0000)]
Merge "DPM: Fix isActivePasswordSufficient for non-FBE devices" into pi-dev
Alex Kershaw [Fri, 16 Mar 2018 14:31:04 +0000 (14:31 +0000)]
Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that
it's a no-op (and silent fail) when called from a non-system user.
DevicePolicyManagerService#setStorageEncryption also has its Javadoc
fixed.
Bug:
74591983
Change-Id: Ie191ad255cbfcade921d172641f134d6c49a17b1
Fixes:
74591983
Test: N/A - just javadoc changed
David Brazdil [Fri, 16 Mar 2018 17:24:51 +0000 (17:24 +0000)]
Add more hidden APIs on the light greylist
Uses reported by the public.
Bug:
64382372
Bug:
74524607
Bug:
74271830
Bug:
74498446
Bug:
74272004
Bug:
74322289
Bug:
74278847
Bug:
74175716
Bug:
74131602
Bug:
74357020
Bug:
74265544
Bug:
74130810
Bug:
74537180
Bug:
74496079
Bug:
74600951
Test: make
Change-Id: I884e76101bdd3d6b08a690810a5b4f5e09306980
TreeHugger Robot [Mon, 19 Mar 2018 10:45:03 +0000 (10:45 +0000)]
Merge "MediaSession2: Implement fastForward() / rewind()" into pi-dev
Bill Yi [Mon, 19 Mar 2018 09:49:10 +0000 (02:49 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ic2f2032f012221333c28ad0793693f2575434e54
Jaewan Kim [Thu, 15 Mar 2018 11:31:06 +0000 (20:31 +0900)]
MediaSession2: Implement fastForward() / rewind()
Bug:
74724709
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: Ibd313dc6eed82a5d7cc9fc156f7851aba13f9e29
Bill Yi [Mon, 19 Mar 2018 08:34:02 +0000 (01:34 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I689307250cc85c025fca7fd0a0ffbfe30f909fb1
TreeHugger Robot [Mon, 19 Mar 2018 05:54:22 +0000 (05:54 +0000)]
Merge "Delete TODO about renumbering statd atoms" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:49:27 +0000 (05:49 +0000)]
Merge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev
* changes:
Statsd: remove DurationAnomalyTracker.resetStorage
Statsd AnomalyDetection stopAlarm also checks old
Statsd AnomalyDetection improvements
TreeHugger Robot [Mon, 19 Mar 2018 05:03:50 +0000 (05:03 +0000)]
Merge "Disable scrim focus on AOD" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 04:02:29 +0000 (04:02 +0000)]
Merge "Remove Context requirement from updatable" into pi-dev
Lucas Dupin [Mon, 19 Mar 2018 03:11:51 +0000 (03:11 +0000)]
Merge changes Ia438f4a2,I356c2d57 into pi-dev
* changes:
Bouncer notification and QS scrim
Fix bouncer not showing on top of QS or notif
TreeHugger Robot [Mon, 19 Mar 2018 01:18:22 +0000 (01:18 +0000)]
Merge "SystemUI: Temporarily disable test" into pi-dev
Andreas Gampe [Sun, 18 Mar 2018 23:46:24 +0000 (16:46 -0700)]
Frameworks: Make MockUtils more robust
Avoid a NullPointerException.
Bug:
75459260
Test: mmma frameworks/base/services/tests/servicestests
Change-Id: I2e273b3bd808226507e5e50b537d70edb25950a6
Cory Smith [Sun, 18 Mar 2018 22:59:27 +0000 (22:59 +0000)]
Merge "Writes the resource table proto out when writing a LoadedApk." into pi-dev
Andreas Gampe [Sun, 18 Mar 2018 22:35:39 +0000 (15:35 -0700)]
SystemUI: Temporarily disable test
Bug:
75329085
Test: none
Exempt-From-Owner-Approval: Let TH pass while investigating
Change-Id: I4c007e5162502f0064b65a89408882e4c348e0db
corysmith@google.com [Tue, 13 Mar 2018 16:04:10 +0000 (12:04 -0400)]
Writes the resource table proto out when writing a LoadedApk.
Small fixes for consistancy to use constants instead of strings.
Change-Id: I33439c376e1634b7957730ce16e241b0f5bb92f8
Fixes:
74594854
Test: Manual, tested against blaze test //javatests/com/google/devtools/build/android:UnitTests
Bookatz [Sat, 17 Mar 2018 00:13:33 +0000 (17:13 -0700)]
StatsManager log lines should be in logcat
Change the Slog.d to Slog.w and enable them, so that we can see them.
They seem to represent important failure events when people call the
public API into StatsManager.
Bug:
74997752
Test: none
Change-Id: I1c577b32358158f73453a8a3066013e0f3733d87
Lucas Dupin [Tue, 13 Mar 2018 21:00:24 +0000 (14:00 -0700)]
Bouncer notification and QS scrim
Show front scrim when the notification panel is expanded,
otherwise pin would be overlayed on top of notifications.
Change-Id: Ia438f4a2794eb9510ec05ad86cc8c19e2e716358
Fixes:
74550013
Test: double tap on notification when locked
Test: tap on QS edit button when locked
Test: unlock by swipping up
Test: fling quickly on keyguard
Michael Kwan [Sat, 17 Mar 2018 22:05:38 +0000 (22:05 +0000)]
Merge "Modify time only mode flag into set of values instead of just one." into pi-dev
TreeHugger Robot [Sat, 17 Mar 2018 15:22:58 +0000 (15:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 14:28:41 +0000 (14:28 +0000)]
Merge "Add placeholder on DND settings screen." into pi-dev
Christofer Ã…kersten [Thu, 15 Mar 2018 11:24:39 +0000 (20:24 +0900)]
Remove Context requirement from updatable
Bug:
74843539
Test: runtest-cts-MediaComponents && atest VideoView2Test
Change-Id: Iba5422f8d092205316ec3fa2c10da6d3f983fde6
Bill Yi [Sat, 17 Mar 2018 06:33:48 +0000 (23:33 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I4f0cac1ca19646cb5e45c5d84814883a3c11c1d6
TreeHugger Robot [Sat, 17 Mar 2018 03:44:46 +0000 (03:44 +0000)]
Merge "Docstring Updates for applyTransportModeTransform" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:36:04 +0000 (01:36 +0000)]
Merge "Don't truncate empty text on low density" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:35:20 +0000 (01:35 +0000)]
Merge "Add new semantic Person fields" into pi-dev
Julia Reynolds [Thu, 15 Mar 2018 13:27:31 +0000 (09:27 -0400)]
Add placeholder on DND settings screen.
Test: make
Bug:
74321426
Change-Id: Ie457b3c994a0d851d835a56a01c28a0acbf102e3
Gopinath Elanchezhian [Sat, 17 Mar 2018 00:55:05 +0000 (00:55 +0000)]
Merge "Add cycle-clean option in AppLaunch" into pi-dev
Nathan Harold [Tue, 6 Mar 2018 21:22:22 +0000 (13:22 -0800)]
Docstring Updates for applyTransportModeTransform
-Add anotations to usages of PolicyDirection for
apply...() methods.
-Update the comments on DIRECTION_IN and DIRECTION_OUT
to better reflect their current usage.
-Add a better explanation to the rekey procedure doc.
-Remove disused createTunnelInterface() stub.
Bug:
73751066
Test: make docs
Merged-In: I9f2ec864466148a18899f1e952c74a525902ccbc
Change-Id: I9f2ec864466148a18899f1e952c74a525902ccbc
(cherry picked from commit
f4cdf25a906d0f52ffd76508d660b843b13b3ff8)
John Reck [Sat, 17 Mar 2018 00:27:17 +0000 (17:27 -0700)]
Don't use IPC in isolateProcess
Fixes:
74395652
Test: hwuiunit passes in 'shell stop' state (pseudo-isolated process),
manually checked non-isolated processes still have working vsync
via systrace of RT animations demo
Change-Id: I630ea011dc7eb2efa265b25673d3304b3b2510d3
Mike Ma [Wed, 14 Mar 2018 01:53:21 +0000 (18:53 -0700)]
Resolve STATSD and batterystats race condition
Both STATSD and batterystats need to read uid cpu info. However, uid cpu
stats needs to be cleared from time to time to conserve memory. To
resolve this race condition, only batterystats will remove uid stats,
both from readers and from the kernel, also with a delay, so that STATSD
can access such info before it is removed.
Refactored readers to reuse some common code. Also removed string reader
from KernelUidCpuFreqTimeReader completely since binary reader has been
working fine for a while.
Change-Id: I209bdcec642e1a29a44b566ce98ebbfaaacb4e6a
Fixes:
72172569
Test: BatteryStatsCpuTimesTest
Test: KernelUidCpuActiveTimeReaderTest
Test: KernelUidCpuClusterTimeReaderTest
Test: KernelUidCpuFreqTimeReaderTest
Chad Brubaker [Sat, 17 Mar 2018 00:16:34 +0000 (00:16 +0000)]
Merge "Hide notifications when in Lockdown mode" into pi-dev
Wale Ogunwale [Fri, 16 Mar 2018 23:53:29 +0000 (23:53 +0000)]
Merge "Add null check to RecentTasks.java" into pi-dev
chaviw [Thu, 15 Mar 2018 21:26:29 +0000 (14:26 -0700)]
Clear all options from Task when any ActivityRecord consumes the options.
Multiple ActivityRecords can get the same options if they are in some state of
being launched. If the Task starts and already has ActivityRecords in the Task,
they will also get the new options. It's pretty difficult to prevent that since
they are being moved to the front, even though another activity will launch on
top. Instead, just clear all ActivityRecord's options in the same Task so only
one is ever consumed.
Fixes:
74611027
Test: Launch activity then background. Open second activity from
notification. When pressing back, window animation should start.
Test: Launch activity, press home, launch same activity. Starting
animation occurs on the second launch.
Test: testsApplyOptionsLocked
Change-Id: I72119772851102cbb71d59527c5f0256b575752b
chaviw [Thu, 15 Mar 2018 21:24:14 +0000 (14:24 -0700)]
Revert "Set options on startingActivity instead of topActivity"
This reverts commit
ee6f81b20286e5942ce738763e3b8713dfc7c9ac.
Bug:
74611027
chaviw [Thu, 15 Mar 2018 21:23:55 +0000 (14:23 -0700)]
Revert "Set options for activity being brought to front."
This reverts commit
df750a3f190ce7ad704971d7f684019780e2741a.
Bug:
74611027
Jeff Davidson [Fri, 16 Mar 2018 23:48:51 +0000 (23:48 +0000)]
Merge "Allow carrier-privileged apps to register telephony listeners." into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 23:30:49 +0000 (23:30 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Robert Berry [Fri, 16 Mar 2018 23:13:53 +0000 (23:13 +0000)]
Merge "Create snapshot even if no PendingIntent is registered" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 22:59:32 +0000 (22:59 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bookatz [Fri, 16 Mar 2018 22:47:57 +0000 (15:47 -0700)]
Delete TODO about renumbering statd atoms
Test: none
Bug:
72553942
Change-Id: If59ee407dffaed713a3a2f7543314aef3e70ef2c
TreeHugger Robot [Fri, 16 Mar 2018 22:40:46 +0000 (22:40 +0000)]
Merge "App Time Limits API in UsageStats" into pi-dev
Aseem Kumar [Fri, 16 Mar 2018 22:27:37 +0000 (22:27 +0000)]
Merge "Unhide getKey() and importKey() and the whole class of RecoveryController. Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all public APIs of RecoveryController." into pi-dev
Bookatz [Fri, 16 Mar 2018 22:25:49 +0000 (15:25 -0700)]
Statsd: remove DurationAnomalyTracker.resetStorage
The explicit resetStorage function in the subclass isn't needed.
It does exactly what its superclass does.
The previous check for !mAlarms.empty() was actually not needed, since
there can be legit cases where !mAlarms.empty() (namely, when the
mMostRecentBucket is moved forward initially - we may call reset, but we
still want the old alarms to remain).
Test: still pass
Change-Id: I3ffb6e97c02b75170c246f57d55ccf59cd368b9c
Fixes:
74607818
Salvador Martinez [Fri, 16 Mar 2018 22:15:30 +0000 (15:15 -0700)]
Softens one of the battery strings per UI request
Bug:
74448640
Test: robotests updated
Change-Id: I25a18dcad343fd0eeeeac504570eea7a1a325a1a
Makoto Onuki [Fri, 16 Mar 2018 21:48:20 +0000 (21:48 +0000)]
Merge "Also show "last BS off time" in dumpsys power" into pi-dev
Julia Reynolds [Thu, 15 Mar 2018 19:20:16 +0000 (15:20 -0400)]
Don't truncate empty text on low density
Test: manual inspection
Change-Id: I0c94d23cf0a2b14bc855f5ef39687ece783739c1
Fixes:
74980883
Mike Digman [Fri, 16 Mar 2018 20:47:38 +0000 (13:47 -0700)]
Fix KeyButtonDrawable dark intensity logic error
The implication of this logic error was that tinting always
appeared unset, so rotate logic never applied the current tint
to recreated TintedKeyButtonDrawables.
Change-Id: Id499b82163b28d341794e2cdee50c2be184d2be7
Fixes:
75297451
Test: manual
Jason Monk [Fri, 16 Mar 2018 21:07:02 +0000 (17:07 -0400)]
Fix test failure
Test: uiservicestests
Change-Id: I2b4b117489aedb72fa9aecfdbb6b658026df91da
Fixes:
75301012
Robert Berry [Thu, 15 Mar 2018 15:28:05 +0000 (15:28 +0000)]
Create snapshot even if no PendingIntent is registered
When the user first unlocks the phone after booting, the system
app has not yet started. As such, it will not have had a chance to
register a PendingIntent. But if it has ever previously initialized,
the framework can still create a snapshot, and should. Otherwise, it
may be up to 72 hours before the user unlocks their phone again using
the primary method, which adds delay to the key sync.
Bug:
73921897
Test: runtest frameworks-services -p \
com.android.server.locksettings.recoverablekeystore
Change-Id: Idfaf53194e6a2f5d5ce0123d72f46197392d2c99
Julia Reynolds [Fri, 16 Mar 2018 13:09:45 +0000 (09:09 -0400)]
metrics constant for volume gesture.
Test: make
Bug:
75252670
Change-Id: Ifa4412d8e440d2259c534f5ad7a9914ef4239a6c