OSDN Git Service
Winson Chung [Mon, 22 Apr 2019 17:21:34 +0000 (17:21 +0000)]
Merge "Disconnect from overview service if process dies prior to connecting" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 17:02:56 +0000 (17:02 +0000)]
Merge "WmTests: Declare dependency on android.test.runner" into qt-dev
Chris Craik [Mon, 22 Apr 2019 16:37:53 +0000 (16:37 +0000)]
Merge "Enable am profiling for apps profileable by shell" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 16:24:35 +0000 (16:24 +0000)]
Merge "deprecate sharedUserId attribute" into qt-dev
Anil Admal [Mon, 22 Apr 2019 15:57:47 +0000 (15:57 +0000)]
Merge "Align GnssVisibilityControl location on/off with GnssLocationProvider" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 15:52:34 +0000 (15:52 +0000)]
Merge "Update clearData flow for notification settings" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 15:21:38 +0000 (15:21 +0000)]
Merge "Improve Location dump Timestamps" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 15:09:28 +0000 (15:09 +0000)]
Merge "Verify Bundle is not null before using it" into qt-dev
Winson Chiu [Mon, 22 Apr 2019 14:35:50 +0000 (14:35 +0000)]
Merge changes I689ec523,Id249a185 into qt-dev
* changes:
Delayed install completion
Defer post-install resource clean up for 5 seconds
Jean-Michel Trivi [Mon, 22 Apr 2019 14:24:01 +0000 (14:24 +0000)]
Merge "AudioService: async volume updates from DeviceInventory" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 14:18:58 +0000 (14:18 +0000)]
Merge "Clear calling identity before calling into UserManagerService" into qt-dev
Julia Reynolds [Fri, 19 Apr 2019 15:08:27 +0000 (11:08 -0400)]
Update clearData flow for notification settings
Some settings need to be maintained (like whether the app
is the default dialer), so don't just wipe away all of the settings.
Test: atest; clear data on default dialer and ensure missed call
notification is still in priority bucket
Fixes:
127855529
Change-Id: I9e0c2fa1ceb371fe98a4f25f3573f043e9e2c1c9
TreeHugger Robot [Mon, 22 Apr 2019 13:15:20 +0000 (13:15 +0000)]
Merge "Fix alignment of date in QS" into qt-dev
Todd Kennedy [Thu, 18 Apr 2019 20:13:17 +0000 (13:13 -0700)]
deprecate sharedUserId attribute
Shared user ids have caused numerous issues, inconsistencies,
and other random behaviours. They are generally not needed as
proper methodologies -- such as providers and services -- exist
and should be used for cross-package interaction.
We are deprecating the sharedUserId and sharedUserLabel
attributes in Q with the eventual goal of entirely removing them
in a future Android release.
Fixes:
129297713
Test: none. doc only change
Change-Id: Id84e8e22918010b2a42531c0b94aff75689d419b
Govinda Wasserman [Mon, 22 Apr 2019 12:24:26 +0000 (12:24 +0000)]
Merge "Adds Assistant invocation type to home long press." into qt-dev
Chalard Jean [Mon, 22 Apr 2019 12:08:59 +0000 (12:08 +0000)]
Merge "Make LegacyTypeTracker testable" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 11:11:59 +0000 (11:11 +0000)]
Merge "Define config for wifi fatal firmware alert error code list" into qt-dev
Chiachang Wang [Mon, 22 Apr 2019 10:37:10 +0000 (10:37 +0000)]
Merge "Move Setting constants for NetworkStack" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 07:40:20 +0000 (07:40 +0000)]
Merge "Notification shade glass pane should fade in as its being opened." into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 07:14:10 +0000 (07:14 +0000)]
Merge "Restrict access to dangerous methods to <= P" into qt-dev
Chalard Jean [Wed, 10 Apr 2019 14:07:55 +0000 (23:07 +0900)]
Make LegacyTypeTracker testable
...and add basic trivial tests for it.
Test: this, and ConnectivityServiceTest
Bug:
62650382
Change-Id: Ie7ca938e6f66f1b15feb6ed93afa0aebb20884ae
TreeHugger Robot [Mon, 22 Apr 2019 06:01:21 +0000 (06:01 +0000)]
Merge "Rename folder dynandroid to dynsystem" into qt-dev
Priyank Singh [Sun, 21 Apr 2019 22:42:44 +0000 (15:42 -0700)]
Notification shade glass pane should fade in as its being opened.
Bug:
130168660
Test: Manual
Change-Id: I12d09d5fd1a9d23f5219bbb217deccaabd39fdfc
TreeHugger Robot [Mon, 22 Apr 2019 04:32:25 +0000 (04:32 +0000)]
Merge "Clean-up PersisterQueue tests" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 03:33:14 +0000 (03:33 +0000)]
Merge "Adding the touch gestures for the pull down notification shade." into qt-dev
Po-Chien Hsueh [Mon, 22 Apr 2019 02:47:50 +0000 (10:47 +0800)]
Rename folder dynandroid to dynsystem
We previously renamed DynamicAndroid to DynamicSystem. Package name
was also changed to com.android.dynsystem. But the folder name was
unchanged. This CL fixes the inconsistency.
Bug:
126613281
Test: make and run the service with 'adb shell am'
Change-Id: Ib462aec1603a16179c8392b6d51a00d0855d9421
TreeHugger Robot [Sun, 21 Apr 2019 23:23:15 +0000 (23:23 +0000)]
Merge "WifiMetrics: add histogram of installed Passpoint profiles for R2" into qt-dev
Derek Sollenberger [Sun, 21 Apr 2019 23:13:12 +0000 (23:13 +0000)]
Merge "Update the CPU text cache sizes to be the same as their GPU equivalents" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 09:02:26 +0000 (09:02 +0000)]
Merge "Move locale from LanguageDetectionEvent to base class" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 03:08:23 +0000 (03:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 02:01:32 +0000 (02:01 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 01:26:41 +0000 (01:26 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 00:27:23 +0000 (00:27 +0000)]
Merge "Sharesheet - Fix wrong metric value being recorded" into qt-dev
Priyank Singh [Sat, 20 Apr 2019 01:46:26 +0000 (18:46 -0700)]
Adding the touch gestures for the pull down notification shade.
Bug:
130168660
Test: Manual
Change-Id: Ida234a0bff0485ff1277594f9bff9c15a252d0de
TreeHugger Robot [Sat, 20 Apr 2019 22:15:21 +0000 (22:15 +0000)]
Merge "Block clicks on smart actions and replies just after creation/update." into qt-dev
Bill Yi [Sat, 20 Apr 2019 22:08:12 +0000 (15:08 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icd4e215eb16f56988e0e7494f6038ad837bfe56b
TreeHugger Robot [Sat, 20 Apr 2019 22:06:32 +0000 (22:06 +0000)]
Merge "Dimmer secondary color on dark mode" into qt-dev
Lucas Dupin [Sat, 20 Apr 2019 18:57:06 +0000 (18:57 +0000)]
Merge "Fix SIM PIN listener registration" into qt-dev
Bill Yi [Sat, 20 Apr 2019 11:49:14 +0000 (04:49 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I819bfef9bdd3d1a2bcc5474b48ab326b255aee08
Hai Zhang [Sat, 20 Apr 2019 04:56:25 +0000 (04:56 +0000)]
Merge "Add more documentation for isEmergencyAssistanceEnabled()." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 04:50:16 +0000 (04:50 +0000)]
Merge "Replace synchronous calls to shared prefs with async calls." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 03:41:52 +0000 (03:41 +0000)]
Merge "Update theme after registering config listener" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 03:39:32 +0000 (03:39 +0000)]
Merge "Dismiss keyguard if pulsing unlocked" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 03:01:02 +0000 (03:01 +0000)]
Merge "Fix back button not disappearing" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 02:41:42 +0000 (02:41 +0000)]
Merge "Fix NPE for devices that don't use a lock icon in sysui." into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 02:36:02 +0000 (02:36 +0000)]
Merge "Add tests for user changes." into qt-dev
Kevin Chyn [Sat, 20 Apr 2019 02:26:16 +0000 (02:26 +0000)]
Merge "Check PackageManager for feature before getting system service" into qt-dev
Mark Chien [Sat, 20 Apr 2019 02:04:40 +0000 (02:04 +0000)]
Merge "Tethering: fix using wrong subId problem" into qt-dev
Bill Yi [Sat, 20 Apr 2019 01:45:35 +0000 (18:45 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If428b7190a3facb2043149291b70b8aa8ba0557b
TreeHugger Robot [Sat, 20 Apr 2019 01:26:27 +0000 (01:26 +0000)]
Merge "Revert "Update clearData flow for notification settings"" into qt-dev
Lucas Dupin [Sat, 20 Apr 2019 01:22:18 +0000 (01:22 +0000)]
Merge "Let there be color" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 01:01:25 +0000 (01:01 +0000)]
Merge "Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid" into qt-dev
TreeHugger Robot [Sat, 20 Apr 2019 00:57:06 +0000 (00:57 +0000)]
Merge "DO NOT MERGE - Updated some javadocs." into qt-dev
Lucas Dupin [Sat, 20 Apr 2019 00:33:37 +0000 (00:33 +0000)]
Merge "Do not unnecessarily re-inflate camera preview" into qt-dev
Jean-Michel Trivi [Thu, 18 Apr 2019 19:07:34 +0000 (12:07 -0700)]
AudioService: async volume updates from DeviceInventory
Make VolumeStreamState private to AudioService, and don't let
AudioDeviceBroker, AudioDeviceInventory manipulate it. Only
let them post messages on AudioService message handler to
access them.
Refactor methods to set a volume index and observe devices
from AudioDeviceInventory to AudioService to be asynchronous.
Bug:
130686447
Bug:
129163231
Test: verify volume is last used when connecting A2DP or hearing aid
Change-Id: I356af79213f4c21ed4ebaf86922fbbd9bf48a892
TreeHugger Robot [Fri, 19 Apr 2019 23:41:32 +0000 (23:41 +0000)]
Merge "Maintain legacy signatures" into qt-dev
Chavi Weingarten [Fri, 19 Apr 2019 23:16:24 +0000 (23:16 +0000)]
Revert "Update clearData flow for notification settings"
This reverts commit
224ef13774019a91bac24c60ba89fc21a5978e16.
Reason for revert: b/
130908336 - breaks tests
Change-Id: I124330a970bfca6a9e2db10415c498a1f45580ff
Bug:
130908336
Felipe Leme [Wed, 17 Apr 2019 18:16:17 +0000 (11:16 -0700)]
DO NOT MERGE - Updated some javadocs.
Test: make ds-docs
Bug:
130726495
Fixes:
130737893
Change-Id: Idaf50cb17b0668f3052d86f256d5428ba4e06a3c
Steve Elliott [Fri, 19 Apr 2019 23:02:08 +0000 (23:02 +0000)]
Merge "Power key behavior tweaks." into qt-dev
Winson [Fri, 5 Apr 2019 00:41:28 +0000 (17:41 -0700)]
Delayed install completion
This change is an attempt at delaying the install complete callback
to the installer on a DONT_KILL install until the package indicates
that it as completed updating its classpath with the new APKs.
Bug:
80269951
Bug:
109751013
Test: manual test of dynamic delivery/instant apps
Merged-In: I689ec523522da37987cff9b1a67eaae9e5633ffb
Change-Id: I689ec523522da37987cff9b1a67eaae9e5633ffb
(cherry picked from commit
abfc054c9065f96ae34023119623bdd310cb6e48)
Lucas Dupin [Fri, 19 Apr 2019 22:38:42 +0000 (15:38 -0700)]
Let there be color
Use notification colors even on night mode (enforcing contrast of
course)
Test: pull down shade on LS and launcher
Fixes:
130756560
Change-Id: I3f3f6e426163e316906692ef8b9c416ca94242ee
Zach Johnson [Fri, 19 Apr 2019 21:13:03 +0000 (14:13 -0700)]
Add nullability annotations to android.bluetooth.le.ScanFilter.Builder setServiceSolicitationUuid
Test: compilation
Fixes:
126698824
Change-Id: I4873b46a37df3e103ddc62001cc9f0bc01aea4dc
Lucas Dupin [Fri, 19 Apr 2019 22:21:59 +0000 (15:21 -0700)]
Dimmer secondary color on dark mode
To help focus on what matters
Test: visual
Fixes:
130755980
Change-Id: I070a7d36d110918d00e78b97b79bb6466c7e4f84
Winson Chung [Fri, 19 Apr 2019 20:56:44 +0000 (13:56 -0700)]
Disconnect from overview service if process dies prior to connecting
Bug:
130812774
Test: None, not reproducible
Change-Id: I656af59ba116b78cd341747f002ca789238e5747
Lucas Dupin [Fri, 19 Apr 2019 22:03:51 +0000 (15:03 -0700)]
Fix SIM PIN listener registration
User correct lifecycle methods for listener regristion,
otherwise error messages would show up on the shared text field
Test: add/remove locked sim card
Test: solve sim challenge, go to bouncer
Fixes:
130906933
Change-Id: I5327c447b770da1148c3e3ef19c6a75e69832a90
Lucas Dupin [Fri, 19 Apr 2019 18:10:48 +0000 (11:10 -0700)]
Update theme after registering config listener
Theme might not be set yet during inflation and we might miss the
event if wait for the view to be added to the window, leading to
theme being out of sync.
Test: adb shell am crash com.android.systemui
Fixes:
130879865
Change-Id: Icd533457732b46b96aeacf9be0c32c02e6b33360
Salvador Martinez [Fri, 19 Apr 2019 22:00:27 +0000 (22:00 +0000)]
Merge "Make Settings and SysUI estimates use same data class" into qt-dev
Mady Mellor [Fri, 19 Apr 2019 21:51:57 +0000 (21:51 +0000)]
Merge "Remove the bubble if the notification is no longer FLAG_BUBBLE" into qt-dev
Dave Mankoff [Fri, 19 Apr 2019 19:48:29 +0000 (15:48 -0400)]
Replace synchronous calls to shared prefs with async calls.
Also, make a copy of protected data to prevent accidental changes
from outside callers.
Bug:
130525551
Test: Manual.
Change-Id: I7b6efa32bc6db88b79579effaa7ffe1466a80380
Fabian Kozynski [Fri, 19 Apr 2019 20:52:49 +0000 (16:52 -0400)]
Fix alignment of date in QS
Test: visual
Fixes:
127616107
Change-Id: Ib0fb35daf94b95f158d9fceadf1930f826151311
Lucas Dupin [Fri, 19 Apr 2019 03:57:40 +0000 (20:57 -0700)]
Dismiss keyguard if pulsing unlocked
BouncerExpansionCallback#onFullyShown will never be called when unlocked
because we collapse the shade without showing the PIN pad.
We need some special logic to make sure that the device will wake-up.
Test: swipe up from pulse when locked
Test: swipe up from pulse when unlocked
Fixes:
129315800
Change-Id: I740e598b180ad7aeb5b023a5984942b89ae1df5f
Amith Yamasani [Fri, 19 Apr 2019 20:39:51 +0000 (13:39 -0700)]
Clear calling identity before calling into UserManagerService
For cases where the settings are being written synchronously from
an API call, make sure to clear the calling identity before
querying users to avoid a SecurityException.
Bug:
113105346
Test: atest CtsContentTestCases:PackageManagerTest
Change-Id: I28b78dce99d36caa58ab448476ec01a51689246b
TreeHugger Robot [Fri, 19 Apr 2019 20:38:02 +0000 (20:38 +0000)]
Merge "Disable blocking helper" into qt-dev
Tim Van Patten [Mon, 8 Apr 2019 23:30:17 +0000 (17:30 -0600)]
Verify Bundle is not null before using it
It's possible the Bundle has not been initialized when determining if
the ANGLE dialog box should be shown, due to how early that check is
performed. This change will verify the Bundle is not null before using
it and fall back to using the Context if it is.
Bug:
130185493
Test: atest CtsAngleIntegrationHostTestCases
Test: Enable Toast Message and then atest CtsAngleIntegrationHostTestCases
Change-Id: I39f48bdf20616298c66b2bb36082149cb24e908c
(cherry picked from commit
5da6a95eab7e80c510cd211e0117d5327ebae55a)
TreeHugger Robot [Fri, 19 Apr 2019 20:22:40 +0000 (20:22 +0000)]
Merge "Fix thermal throttling atoms" into qt-dev
Todd Kennedy [Fri, 19 Apr 2019 20:05:40 +0000 (13:05 -0700)]
Maintain legacy signatures
The signature field is deprecated, but must still be populated. The
thought was that for APEX files [which is a new concept and thus
could use the new way to handle signatures] we could remove this
capability, but, it turns out Play relies on it.
Change-Id: I7096567082d4f798be1d3e6007122750453665ae
Fixes:
130827182
Test: Manual.
Test: Create sample app that dumped the signatures of an APEX
Test: Note that the signatures before this change were 'null' and set to something after this change
TreeHugger Robot [Fri, 19 Apr 2019 20:12:27 +0000 (20:12 +0000)]
Merge "Sharesheet - Move work profile text into list" into qt-dev
Lei Yu [Fri, 19 Apr 2019 19:44:53 +0000 (19:44 +0000)]
Merge "Add DeviceConfig namespace for settings ui" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 19:42:27 +0000 (19:42 +0000)]
Merge "AudioService: support "full volume devices"" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 19:31:37 +0000 (19:31 +0000)]
Merge "Allow caller holding BIND_CONTENT_SUGGESTIONS_SERVICE to make suggestion calls" into qt-dev
Derek Sollenberger [Thu, 18 Apr 2019 20:21:42 +0000 (16:21 -0400)]
Update the CPU text cache sizes to be the same as their GPU equivalents
Bug:
130684261
Test: uibench jank tests
Change-Id: Ieb837afd76d1990c796baa9794ba54a83b8cd46f
Matthew Ng [Wed, 17 Apr 2019 21:14:18 +0000 (14:14 -0700)]
Fix back button not disappearing
Regression from: ag/
7031929
Fixes:
130695273
Test: manual
Change-Id: Ic228ff37e0460424703fd33bbc4e301cc66c9e4c
Christopher Ferris [Fri, 19 Apr 2019 19:19:19 +0000 (19:19 +0000)]
Merge "Move to android_mallopt for malloc debug calls." into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 19:10:46 +0000 (19:10 +0000)]
Merge "Suppress singletap wakeup gesture while pulsing on dock" into qt-dev
Matt Pietal [Fri, 19 Apr 2019 18:47:14 +0000 (14:47 -0400)]
Sharesheet - Fix wrong metric value being recorded
When apps are sending EXTRA_CHOOSER_TARGETS, the wrong value is
getting recorded for metrics tracking. Use the correct offset.
Bug:
130613626
Test: Retest share through Imgur app
Change-Id: I0bccbfb064796f547b2e7b474f5aa06993ac3920
Fabian Kozynski [Fri, 19 Apr 2019 18:59:37 +0000 (18:59 +0000)]
Merge "Fixed concatenation to properly discard empty strings" into qt-dev
Brad Stenning [Fri, 19 Apr 2019 18:48:00 +0000 (11:48 -0700)]
Fix NPE for devices that don't use a lock icon in sysui.
Bug:
130880522
Test: Manual
Change-Id: I9daa0eedd73df963069077976fbb3af008c4070d
TreeHugger Robot [Fri, 19 Apr 2019 18:31:56 +0000 (18:31 +0000)]
Merge "Fix app transition delayed cases" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 18:31:46 +0000 (18:31 +0000)]
Merge "Propogate per-display IME status to SysUI" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 18:29:26 +0000 (18:29 +0000)]
Merge "Work on issue #
130684057: oom_adj scores for 1P apps are abnormally low" into qt-dev
Christopher Ferris [Tue, 16 Apr 2019 18:34:58 +0000 (11:34 -0700)]
Move to android_mallopt for malloc debug calls.
Remove the guardrail/MemoryLeakTrackUtil.* files. They aren't used
and they are a copy of frameworks/av/media/utils/MemoryLeakTrackUtil.*.
Bug:
130028357
Test: Enable backtrace for calendar, run am dumpheap -n <PID> <FILE>
Change-Id: I6ce69465b0c04fae97b3622df2763a2996063d85
Merged-In: I6ce69465b0c04fae97b3622df2763a2996063d85
(cherry picked from commit
98180a344cfd08748dcf5a6aa5aebfdeb7e78b62)
Susi Kharraz-Post [Fri, 19 Apr 2019 17:47:55 +0000 (17:47 +0000)]
Merge "Add logging field for direct share selection" into qt-dev
Govinda Wasserman [Fri, 19 Apr 2019 17:37:58 +0000 (17:37 +0000)]
Merge "Adds onInvocationProgress method to AssistManager." into qt-dev
Mady Mellor [Thu, 11 Apr 2019 20:36:40 +0000 (13:36 -0700)]
Remove the bubble if the notification is no longer FLAG_BUBBLE
Previously if a notification that was a bubble got updated such that it
would fail our bubble criteria, we wouldn't actually remove the bubble we
would just stop updating that bubble. This CL fixes it so that we'll remove
the bubble in that case.
This CL also factors all of the 'shouldBubble' logic into Notification
InterruptionStateProvider.
Fixes:
128459529
Test: CTSVerifier tests in other CL; atest BubbleControllerTest
Change-Id: Ia2b53a25a28d53bd2bbaebe4fe89f50d8d46a9fb
Salvador Martinez [Thu, 11 Apr 2019 17:42:15 +0000 (10:42 -0700)]
Make Settings and SysUI estimates use same data class
This moves everything over to using a shared data class
for Estimates in SettingsLib which will facilitate a cl
that will help ensure greater consistency across
surfaces where battery estimates are shown.
Test: Tests pass
Bug:
124030091
Change-Id: I0b7f1f3a806255ff4804a00e6d90a7846c484484
Julia Reynolds [Fri, 19 Apr 2019 17:29:05 +0000 (17:29 +0000)]
Merge "Update clearData flow for notification settings" into qt-dev
Andrii Kulian [Fri, 19 Apr 2019 16:52:02 +0000 (16:52 +0000)]
Merge "Add event logs for top resumed state change" into qt-dev
Dan Sandler [Sun, 31 Mar 2019 20:00:33 +0000 (16:00 -0400)]
Power key behavior tweaks.
- Added a new value for config_longPressOnPowerBehavior:
"5" means "launch assist intent"
- Added global settings for power key longpress and "very
long press" (3.5 sec), allowing these functions to be
tweaked at runtime by privileged code
Bug:
130415373
Test: adb shell settings put global power_long_press 5
# ^ set longpress to assist
adb shell settings put global power_very_long_press 1
# ^ set vlongpress to globalactions (so you can still
# power off the device)
Test: atest frameworks/base/core/tests/coretests
Change-Id: Ic611b2850dc98fddd7662d32b0a60ca1e8231efb
Lucas Dupin [Fri, 19 Apr 2019 02:23:06 +0000 (19:23 -0700)]
Do not unnecessarily re-inflate camera preview
Camera preview inflation was happening every time the keyguard
visibility changed, causing jank and making sysui drop frames.
Ultimately, the symptom was AOD flashing after pressing power.
Fixes:
130878131
Test: press power to go from and to AOD
Test: double tap power to launch camera (preview is still available)
Test: press power to lock device from launcher
Change-Id: Id3df83d59dcd123a71b37297e9ab70a1e8a52c90
Julia Reynolds [Fri, 19 Apr 2019 15:23:55 +0000 (11:23 -0400)]
Disable blocking helper
By default, at least
Test: manual
Fixes:
130739518
Change-Id: Ic83c80740b2d844cad8eb97a08172b57204be8f8