OSDN Git Service
Bill Yi [Thu, 25 Apr 2019 11:20:29 +0000 (04:20 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Iab6097d44c74727fc4045027dacf4a9398086a96
TreeHugger Robot [Wed, 24 Apr 2019 23:04:29 +0000 (23:04 +0000)]
Merge "Consistently log back gesture origin" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:59:28 +0000 (22:59 +0000)]
Merge "Sharesheet - add label loading placeholder" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:48:14 +0000 (22:48 +0000)]
Merge "Fix SettingsProto corruption" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:28:35 +0000 (22:28 +0000)]
Merge "Removing left over experimental overlays and frame width (1/2)" into qt-dev
William Hester [Wed, 24 Apr 2019 22:27:33 +0000 (22:27 +0000)]
Merge "Disable lock screen and enable location in THM" into qt-dev
Matt Casey [Wed, 24 Apr 2019 22:16:38 +0000 (22:16 +0000)]
Merge "Make StatusBarWindowController aware of assist session in progress." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 22:16:03 +0000 (22:16 +0000)]
Merge "Protecting AppPrediciton API behind usage stats permission" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 21:20:53 +0000 (21:20 +0000)]
Merge "Bluetooth: Check if packageName belongs to callingUid in binder calls" into qt-dev
Christian Wailes [Wed, 24 Apr 2019 21:18:14 +0000 (21:18 +0000)]
Merge "Load the default graphics driver in USAPs." into qt-dev
Yao Chen [Wed, 24 Apr 2019 21:16:56 +0000 (14:16 -0700)]
Fix SettingsProto corruption
Bug:
130235331
Test: adb shell dumpsys settings --proto
Change-Id: Id725c2a968593b923059da69c49c59908780df8a
Kevin Chyn [Wed, 24 Apr 2019 20:50:22 +0000 (20:50 +0000)]
Merge "Do not re-show hint text if user is already authenticated" into qt-dev
Sunny Goyal [Wed, 24 Apr 2019 19:02:20 +0000 (12:02 -0700)]
Protecting AppPrediciton API behind usage stats permission
Bug:
130556904
Test: atest CtsAppPredictionServiceTestCases:AppPredictionServiceTest
Change-Id: I1033e12f5c75ab085d1a0ebff81437ee141528ea
Matt Casey [Wed, 24 Apr 2019 18:31:45 +0000 (14:31 -0400)]
Make StatusBarWindowController aware of assist session in progress.
Separate "assist is rendering something" from "assist session is in
progress". If an assist session is in progress, the status bar should be
focusable and back gestures should cause the session to be canceled.
This also intercepts touches outside of the status bar when a session is
in progress, but those touches will cancel (separate CL), so this
shouldn't be a problem.
Bug:
123413054
Test: Ensure in-progress assist sesion is canceled on back, ensure back
is not affected outside of a session.
Change-Id: Ife24b58a7851c5865ff75e66e00e32ae3293a0e8
TreeHugger Robot [Wed, 24 Apr 2019 20:19:54 +0000 (20:19 +0000)]
Merge "String change" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 20:15:26 +0000 (20:15 +0000)]
Merge "Change CarSystemUI notification button from launching Car Notification Center to opening the panel instead." into qt-dev
Daniel Sandler [Wed, 24 Apr 2019 19:45:17 +0000 (19:45 +0000)]
Merge "Fix crash when launching assist from power button." into qt-dev
Tarandeep Singh [Wed, 24 Apr 2019 19:34:20 +0000 (19:34 +0000)]
Merge "Register Ime consumer only when insets are enabled." into qt-dev
Josh Tsuji [Wed, 24 Apr 2019 19:17:21 +0000 (19:17 +0000)]
Merge "Fix start position issues and related flyout flickering." into qt-dev
Jeff Sharkey [Wed, 24 Apr 2019 18:57:20 +0000 (18:57 +0000)]
Merge "Rename Environment method to follow attribute." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 18:48:23 +0000 (18:48 +0000)]
Merge "Remove config specific size for HeaderTileLayout" into qt-dev
Kevin Chyn [Wed, 24 Apr 2019 18:47:38 +0000 (11:47 -0700)]
Do not re-show hint text if user is already authenticated
Fixes:
131237337
Test: manual
Change-Id: I1b96f9a7933e82fcb540c5aa4feb82d6fc22dd11
Susi Kharraz-Post [Wed, 24 Apr 2019 18:29:01 +0000 (18:29 +0000)]
Merge "Restructure logging for selection of share targets" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 18:26:48 +0000 (18:26 +0000)]
Merge "Fix NPE of UXR as a result of incorrect initialization." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 18:18:47 +0000 (18:18 +0000)]
Merge "WifiSsid: Catch String out of bound exception" into qt-dev
Hyunyoung Song [Wed, 24 Apr 2019 17:47:19 +0000 (10:47 -0700)]
Consistently log back gesture origin
Bug:
127848641
Test: builds, manually verified
TL;DR;; the unhandled back gesture direction was opposite of handled
back gesture.
Change-Id: I828543bc86e6fbb24d1a6ee5d6b5b92118401323
Fabian Kozynski [Wed, 24 Apr 2019 18:05:15 +0000 (18:05 +0000)]
Merge "Add dumpable to QSTile. Dump QSTileHost, QSPanel, QuickQSPanel" into qt-dev
Chris Wailes [Thu, 18 Apr 2019 00:55:48 +0000 (17:55 -0700)]
Load the default graphics driver in USAPs.
This patch causes unspecialized app processes to load the OpenGL driver
after they are forked. The ZygoteProcess code will then take an
application's driver preference into account when selecting how to
launch it.
Test: m & boot & launch & inspect traces for driver loading
Bug:
130029351
Change-Id: If6fa02f9c387596162e75a685b04208b45a5c86b
Merged-In: If6fa02f9c387596162e75a685b04208b45a5c86b
(cherry picked from commit
301a1c46da930bb927bd86227c6e1d44c70c349d)
Joshua Tsuji [Wed, 17 Apr 2019 17:29:10 +0000 (13:29 -0400)]
Fix start position issues and related flyout flickering.
- Cancel animations when explicitly moving the stack to the start position, so that the new translation doesn't get animated away.
- Set the flyout to 0 alpha before posting the animation, so it's invisible from the start.
- Tell the stack if the drag finished with a dismiss intent, so we can reset the drag flags.
Bug:
130441552
Test: atest SystemUITests
Change-Id: I31d753a6fb76468c4e2b68563f9c5f06fbd782a1
Anthony Tripaldi [Wed, 24 Apr 2019 17:30:13 +0000 (17:30 +0000)]
Merge "Fix bug with blinking caption tooltip on rocker click. Also clean up some older code that flashed the dialog on screen initially and triggered dismiss too often." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 17:27:34 +0000 (17:27 +0000)]
Merge "Update caption toggle icon with GM2 icons used elsewhere in the system." into qt-dev
Sudheer Shanka [Wed, 24 Apr 2019 16:59:43 +0000 (16:59 +0000)]
Merge "Update process mountpoints when it's storage permissions changes." into qt-dev
Jean-Michel Trivi [Wed, 24 Apr 2019 16:54:32 +0000 (16:54 +0000)]
Merge "AudioAttributes: fix regression with setLegacyStreamType in Builder" into qt-dev
Josh Tsuji [Wed, 24 Apr 2019 16:34:20 +0000 (16:34 +0000)]
Merge "Update the stack bounds for IME changes even if we're expanded." into qt-dev
Fabian Kozynski [Wed, 24 Apr 2019 16:01:10 +0000 (16:01 +0000)]
Merge "Notify FSC about app ops in main thread" into qt-dev
Fabian Kozynski [Wed, 24 Apr 2019 15:10:21 +0000 (11:10 -0400)]
Remove config specific size for HeaderTileLayout
HeaderTileLayout width should always be MATCH_PARENT. The width is
controlled at the QSContainerImpl level by making it the width of
notification panel and it's MATCH_PARENT all the way down.
Test: visual, using emulator on really high density screen and phone
Fixes:
128776927
Change-Id: I3d5dc679cb77fb50ccadd6c3cb86a022e5f02f70
Philip P. Moltmann [Wed, 24 Apr 2019 15:28:25 +0000 (15:28 +0000)]
Merge "Call PermissionControllerService on workerthread" into qt-dev
Mike Digman [Tue, 23 Apr 2019 21:52:45 +0000 (14:52 -0700)]
Sharesheet - add label loading placeholder
When loading DS targets we show an animated icon, also want to
show a label placeholder.
Fixes:
129979593
Test: manual, visual
Change-Id: I2f8fbbad552dd412fd5aed3dfad9ac2a5abed0b0
Jean-Michel Trivi [Tue, 23 Apr 2019 23:49:50 +0000 (16:49 -0700)]
AudioAttributes: fix regression with setLegacyStreamType in Builder
A regression was introduced by commit @
6d69bde which caused a new
Builder instance to be created when using setLegacyStreamType(),
instead of returning the current one.
Bug:
130274354
Test: atest android.media.cts.AudioAttributesTest#testSetLegacyStreamOnBuilder
Change-Id: Ib66a0beb5f0f4489a6003cb9be6b8313b3318eac
Tiger Huang [Wed, 24 Apr 2019 14:59:09 +0000 (14:59 +0000)]
Merge "Don't apply rounded-corner animation on non-default display" into qt-dev
Lorenzo Colitti [Wed, 24 Apr 2019 14:30:05 +0000 (14:30 +0000)]
Merge "Delete unused timeout constant." into qt-dev
Julia Reynolds [Wed, 24 Apr 2019 14:06:16 +0000 (10:06 -0400)]
String change
Bug:
123899489
Test: make
Change-Id: If9d42711a1442bef57924e5ad01023697edd95ed
Anthony Tripaldi [Tue, 23 Apr 2019 21:56:56 +0000 (17:56 -0400)]
Fix bug with blinking caption tooltip on rocker click. Also clean up
some older code that flashed the dialog on screen initially and
triggered dismiss too often.
Bug:
131178834
Test: VolumeDialogImplTest still passes with atest
Change-Id: Ia8879aabe1d97fd2bb78620b962ad959bbbeaa25
Fabian Kozynski [Wed, 24 Apr 2019 13:25:14 +0000 (09:25 -0400)]
Notify FSC about app ops in main thread
Test: build
Bug:
131188506
Change-Id: I7c73344d65ac0322c32ad13e6f81ad52c7b629d7
TreeHugger Robot [Wed, 24 Apr 2019 13:21:34 +0000 (13:21 +0000)]
Merge "Fix broken test case 'testOverlayInfoStateTransitions'" into qt-dev
Wayne Ma [Wed, 24 Apr 2019 13:05:59 +0000 (13:05 +0000)]
Merge "Backwards-incompatible resolv module API change for making setResolverConfiguration take a parcelable." into qt-dev
Lorenzo Colitti [Wed, 24 Apr 2019 10:10:52 +0000 (03:10 -0700)]
Delete unused timeout constant.
Test: m
Bug:
129312219
Change-Id: I5b4c8b42dea515f674ff10d64d0e1d06d849cca1
Merged-In: I5b4c8b42dea515f674ff10d64d0e1d06d849cca1
(cherry picked from commit
21c692d71783d1c14a82910feaa3965367af85a6)
TreeHugger Robot [Wed, 24 Apr 2019 11:46:25 +0000 (11:46 +0000)]
Merge "Remove Settings constants for NetworkStack" into qt-dev
Tiger Huang [Wed, 24 Apr 2019 10:39:53 +0000 (18:39 +0800)]
Don't apply rounded-corner animation on non-default display
Non-default displays usually don't have rounded-corners. It doesn't
make sense to apply rounded-corner animations on them. Besides, we
don't know if an external display has rounded-corners or not.
Bug:
131040127
Test: Follow the reproduction steps in the bug.
Change-Id: I0b892bfb50875eaa59b2bf5ba07074bb3494042b
Shafik Nassar [Wed, 24 Apr 2019 10:39:39 +0000 (10:39 +0000)]
Merge "Make Watchdog request timeout flag configurable" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 10:24:57 +0000 (10:24 +0000)]
Merge "Add test for rollback of same version apk." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 09:36:07 +0000 (09:36 +0000)]
Merge "Change the test mapping configuration of GTS modules by using "imports."" into qt-dev
MÃ¥rten Kongstad [Wed, 10 Apr 2019 12:33:12 +0000 (14:33 +0200)]
Fix broken test case 'testOverlayInfoStateTransitions'
Commit
e0b984e8054 "Diff overlays between PackageManagerService and
OverlayManagerService" removed the OverlayInfo.STATE_TARGET_UPGRADING
state. Update the OverlayManagerServiceImplTests tests accordingly.
Bug:
130257545
Test: atest 'com.android.server.om.OverlayManagerServiceImplTests#testOverlayInfoStateTransitions'
Change-Id: I06fed8cfe4daf0206843d140ae7ab594cc89ab09
TreeHugger Robot [Wed, 24 Apr 2019 08:33:38 +0000 (08:33 +0000)]
Merge "Fix idmap scan to apply odm and oem policies" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 08:33:38 +0000 (08:33 +0000)]
Merge "Add support for /oem/overlay" into qt-dev
Lorenzo Colitti [Wed, 24 Apr 2019 08:11:26 +0000 (08:11 +0000)]
Merge changes I84461d40,Ib3ab9105 into qt-dev
* changes:
Allow overlaying the DNS probe timeout.
Add a timeout for the DNS probe.
TreeHugger Robot [Wed, 24 Apr 2019 06:58:00 +0000 (06:58 +0000)]
Merge "Disable flaky tests" into qt-dev
Tarandeep Singh [Tue, 23 Apr 2019 23:25:38 +0000 (16:25 -0700)]
Register Ime consumer only when insets are enabled.
As of today we register Ime consumer in IMM onWindowGainedFocus().
However, it does nothing functionally when ViewRootImpl#sNewInsetsMode is disabled.
This CL adds a check to not register consumer at the first place.
This may also be causing a leak. Added a TODO to revisit that before we
enable the flag.
Bug:
131181940
Test: atest ViewRootImpl
Test: atest InsetsController
Change-Id: I6b2b62d10670d63edafeb1b24c25b26c7721f3ad
TreeHugger Robot [Wed, 24 Apr 2019 05:57:24 +0000 (05:57 +0000)]
Merge "Run performInitialGrantsIfNecessaryAsync() on main thread." into qt-dev
Lorenzo Colitti [Wed, 24 Apr 2019 05:43:50 +0000 (14:43 +0900)]
Allow overlaying the DNS probe timeout.
Test: m
Bug:
129312219
Change-Id: I84461d40e4d2e63ce8c111c047cbc085cb49443e
Jackal Guo [Wed, 24 Apr 2019 05:47:11 +0000 (05:47 +0000)]
Merge "Race condition while injecting ACTION_OUTSIDE" into qt-dev
Lorenzo Colitti [Tue, 23 Apr 2019 16:57:47 +0000 (09:57 -0700)]
Add a timeout for the DNS probe.
Bug:
129312219
Test: atest NetworkStackTests
Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Change-Id: Ib3ab9105d7ae39f551b51e8d5a04b9ec5e549655
Merged-In: Ib3ab9105d7ae39f551b51e8d5a04b9ec5e549655
(cherry picked from commit
c7204f689dc58c3ac84818cb1f8fb9add307d90c)
Jack He [Wed, 24 Apr 2019 03:00:18 +0000 (20:00 -0700)]
Bluetooth: Check if packageName belongs to callingUid in binder calls
* Several Bluetooth APIs take packageName parameter from Apps, which is
resolved through ActivityThread.currentPackageName()
* Add checks to make sure that packageName passed through binder calls
actually belongs to the calling uid
Bug:
120574260
Test: make, enable/disable Bluetooth
Change-Id: If6593cf8cbab91eb27b9f22b635f984c04ec2de2
TreeHugger Robot [Wed, 24 Apr 2019 05:07:30 +0000 (05:07 +0000)]
Merge "Add overlay tag for default dns servers." into qt-dev
Brad Stenning [Sat, 20 Apr 2019 18:53:17 +0000 (11:53 -0700)]
Change CarSystemUI notification button from launching Car Notification Center to opening the panel instead.
Bug:
130664005
Test: Manual
Change-Id: Ia32142c588d9afd42964182d2488f9b1133a5eb9
(cherry picked from commit
5b3dbcef9480ee6bedb554b48f433b18b63d6493)
Kevin Chyn [Wed, 24 Apr 2019 04:56:10 +0000 (04:56 +0000)]
Merge "Post a notification when ACQUIRED_RECALIBRATE is received" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 04:50:43 +0000 (04:50 +0000)]
Merge "DngCreator: Assume square pixel centered at (x+0.5, y+0.5)" into qt-dev
Brad Stenning [Wed, 24 Apr 2019 04:19:27 +0000 (21:19 -0700)]
Fix NPE of UXR as a result of incorrect initialization.
Bug:
129851258
Test: manual
Change-Id: I3e814f682ad1a89ea9afec2cc318c1ed21f9b658
(cherry picked from commit
79223b93a7ff2dab5ea158fcbac370b00dd8ac56)
TreeHugger Robot [Wed, 24 Apr 2019 04:29:32 +0000 (04:29 +0000)]
Merge "Address API council feedback" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 03:49:16 +0000 (03:49 +0000)]
Merge "Move HUN car notifications into SystemUI" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 03:35:15 +0000 (03:35 +0000)]
Merge "Fix performance regression by fixing keys used in Typeface.Builder" into qt-dev
Xiao Ma [Wed, 24 Apr 2019 02:28:10 +0000 (11:28 +0900)]
Add overlay tag for default dns servers.
Bug:
130324939
Test: m && flashall && verified dns servers resource has been changed.
Change-Id: Ic897d066567e7c826a18959e1dcc1260f82b4013
TreeHugger Robot [Wed, 24 Apr 2019 02:28:39 +0000 (02:28 +0000)]
Merge "Check and configure pixel format when locking canvas" into qt-dev
Svet Ganov [Tue, 23 Apr 2019 21:06:11 +0000 (14:06 -0700)]
Address API council feedback
Test: manual
bug:
130643623
Change-Id: I489f32858abfa4fe8eeda96cbb103d75e2a87551
TreeHugger Robot [Wed, 24 Apr 2019 01:56:52 +0000 (01:56 +0000)]
Merge "Sharesheet - Scrolling UI adjustments" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:34:32 +0000 (01:34 +0000)]
Merge "Transition to bold when shrinking clock" into qt-dev
Hyundo Moon [Wed, 24 Apr 2019 01:31:39 +0000 (01:31 +0000)]
Merge "Make MediaController#getSessionInfo() as @NonNull" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:19:09 +0000 (01:19 +0000)]
Merge "Camera: Relax BURST_CAPTURE FPS requirements" into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 01:01:25 +0000 (01:01 +0000)]
Merge "Add encryption in incidentd." into qt-dev
TreeHugger Robot [Wed, 24 Apr 2019 00:51:06 +0000 (00:51 +0000)]
Merge "Initialize Global Actions Panel when one is available" into qt-dev
Lucas Dupin [Wed, 24 Apr 2019 00:41:45 +0000 (00:41 +0000)]
Merge "Fix click and long click lock behavior" into qt-dev
Brad Stenning [Mon, 15 Apr 2019 17:17:01 +0000 (10:17 -0700)]
Move HUN car notifications into SystemUI
Bug:
130664005
Test: Manual via KitchenSink
Change-Id: I4da0ce924962f82c8f4ba1168ba956833c07056a
(cherry picked from commit
93d098db9a57c47b41088f75f0eef46348f0d928)
Anil Admal [Wed, 24 Apr 2019 00:12:41 +0000 (00:12 +0000)]
Merge "Fix incorrect error log message in GnssVisibilityControl class" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 23:57:19 +0000 (23:57 +0000)]
Merge "ASurfaceControl: fix surface damage" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 23:48:41 +0000 (23:48 +0000)]
Merge "Sharesheet - update direct share loading animation" into qt-dev
Steven Wu [Tue, 23 Apr 2019 23:46:43 +0000 (23:46 +0000)]
Merge "Add logging for dozing on or off due to sensor wake up." into qt-dev
Dan Sandler [Tue, 23 Apr 2019 23:18:21 +0000 (19:18 -0400)]
Fix crash when launching assist from power button.
Bug:
131183785
Test: adb shell settings put global power_button_long_press 5
then longpress power button
Change-Id: I0d6c25f75efc1e0e7a04f44ba91f7603ab8f311b
Dianne Hackborn [Tue, 23 Apr 2019 22:43:34 +0000 (22:43 +0000)]
Merge "Finish up Intent identifier implementation." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 22:39:55 +0000 (22:39 +0000)]
Merge "Add overlayable_icons_test to framework/SystemUI" into qt-dev
Yao Chen [Sun, 21 Apr 2019 21:34:30 +0000 (14:34 -0700)]
Add encryption in incidentd.
+ Sections which require encryption will be encryted on disk.
+ When the sections are requested by clients (e.g., permission controller, report assignee),
incidentd will decrypte the data.
+ For efficiency, encryption is done ONLY for sections that require encryption.
+ Use Keystore API for key management.
Bug:
131084614
Test: incidentd_test
Change-Id: I84d6b86807ba5bbde1051e847b2df6e79e6b5be5
TreeHugger Robot [Tue, 23 Apr 2019 21:57:09 +0000 (21:57 +0000)]
Merge "Ask netd to swap stats map before reading" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:45:25 +0000 (21:45 +0000)]
Merge "Notification guts redesign" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:11:28 +0000 (21:11 +0000)]
Merge "Removed the experimental code for gestural mode" into qt-dev
Marissa Wall [Tue, 23 Apr 2019 21:10:15 +0000 (14:10 -0700)]
ASurfaceControl: fix surface damage
There are two problems with surface control.
1) By merging the rects, the Region turned into 0,0,0,0 instead of
an or of the Rects.
2) In the case where an app intends to have a region of 0,0,0,0,
we should treat it the same as a region of 0,0,-1,-1.
Bug:
131175047
Test: ASurfaceControl
Change-Id: Ib2e3b90ac215e069d3d3c2eca81ff1013b4287aa
Mady Mellor [Tue, 23 Apr 2019 21:07:05 +0000 (21:07 +0000)]
Merge "Let NoMan know when something is no longer a bubble" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:03:36 +0000 (21:03 +0000)]
Merge "3->1 binder calls to OverlayManager for Navbar settings" into qt-dev
Steve Elliott [Tue, 23 Apr 2019 20:59:06 +0000 (16:59 -0400)]
Initialize Global Actions Panel when one is available
This bug was accidentally introduced when the dialog initialization
logic was modified in ag/
6925312.
Test: manual
Bug:
129964234
Change-Id: I7a1a01c22e556b362bbb850be94464530e5a3a96
Jordan Liu [Tue, 23 Apr 2019 20:40:09 +0000 (20:40 +0000)]
Merge "Do not populate SLOT_KEY with wrong slot info" into qt-dev
Seigo Nonaka [Tue, 23 Apr 2019 20:21:27 +0000 (13:21 -0700)]
Fix performance regression by fixing keys used in Typeface.Builder
The key used in Typeface.Builder is different from the key used in
findFromCache method. The problem is key generation in Typeface.Builder
since the key should be created from requested parameters not the actual
font styles.
Here is the raw performance differences on walleye-userdebug
android.graphics.perftests.TypefaceCreatePerfTest(us):
createFromResources: 248 -> 23: (-225, -90.7%)
Bug:
131167183
Test: manually collected perf test result.
Change-Id: Idea25095979707ac84b7f4bc1ede0c2daefd6127
Lucas Dupin [Tue, 23 Apr 2019 17:19:27 +0000 (10:19 -0700)]
Fix click and long click lock behavior
Accessibility clicks should unlock the phone and long presses should
disable trust agents.
Fixes:
131059420
Fixes:
130326686
Test: long press with trust agent
Test: double tap with TalkBack on lock screen
Test: double tap with TalkBack on bouncer
Change-Id: Ib2df54c540ebed0adf6c3cbcb82376c02e54d540