Mike Reed
6525763ff3
Use new canvas virtuals for m44
...
Test: make
Change-Id: I83b71fc69515458946b90e96db612c11ba963e98
2020-11-27 09:55:23 -05:00
Treehugger Robot
31952c368f
Merge "Keystore 2.0 SPI: Fix installation of legacy Keystore provider" am: 5408268606 am: 3a1c6e6b9e am: 2d6247e322
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503891
Change-Id: I144782a0ccbdfb7b78ce63db9eec8a71e058de9f
2020-11-27 01:41:49 +00:00
Treehugger Robot
2d6247e322
Merge "Keystore 2.0 SPI: Fix installation of legacy Keystore provider" am: 5408268606 am: 3a1c6e6b9e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503891
Change-Id: Ie8a914aacb821d409c1b009897d80a8055c04a74
2020-11-27 01:28:24 +00:00
Treehugger Robot
3a1c6e6b9e
Merge "Keystore 2.0 SPI: Fix installation of legacy Keystore provider" am: 5408268606
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503891
Change-Id: I88b5bd5bed972a057ceff0afd972d9c26426ee10
2020-11-27 01:09:26 +00:00
Treehugger Robot
5408268606
Merge "Keystore 2.0 SPI: Fix installation of legacy Keystore provider"
2020-11-27 00:44:59 +00:00
Yuncheol Heo
5ba5c09b24
Merge "Migrate some CTS tests about PIP presentation to WMShellFlickerTests"
2020-11-27 00:26:45 +00:00
TreeHugger Robot
bf598cdfbc
Merge "SharedLibraryInfo.isNative() returns true for native libs"
2020-11-26 23:14:13 +00:00
Robert Horvath
915c815579
Merge "Update comment for TV version of inattentive_sleep_warning_message"
2020-11-26 19:43:11 +00:00
Yuncheol Heo
72800c9029
Migrate some CTS tests about PIP presentation to WMShellFlickerTests
...
Test mappings are as follows:
- testPinnedStackInBoundsAfterRotation => PipRotationTest
- testEnterPipToOtherOrientation => PipOrientationTest
- testSetRequestedOrientationWhilePinned => PipOrientationTest
- testPinnedStackWithDockedStack => PipSplitScreenTest
- testDisplayMetricsPinUnpin => EnterExitPipTest
Some other accompanying changes are as follows:
- add FixedAppHelper for FixedActivity.
- add testapp.Components to provide the constants for each test app.
- extend PipActivity to accept some extras from Intent/BroadcastIntent.
Bug: 161980624
Test: atest WMShellFlickerTests
Change-Id: I64d97a51387370cc086c9dcdded846e4a8c1c0ea
2020-11-26 10:23:49 -08:00
Corina Grigoras
ee5408b38d
Log at debug level when things are OK
...
StorageManagerService: android.os.ServiceSpecificException is expected if the user has not unlocked the device.
Bug: 151077642
Change-Id: I027250bcae132d9be9c16690478adb41467bfec4
Test: No
2020-11-26 17:34:50 +00:00
Vasiliy Telezhnikov
902fa1c0b9
Merge "Add API to WebView functor to support overlays"
2020-11-26 17:01:05 +00:00
Jorim Jaggi
4b59cf44df
Merge "Revert "Add presubmit tag in close test""
2020-11-26 15:57:53 +00:00
Robert Horvath
635f46643b
Update comment for TV version of inattentive_sleep_warning_message
...
Clarify that this is for a TV device, and that the expected
interaction is a TV remote button press.
Helps guide translators to find an appropriate translation.
Bug: 173363429
Test: `m SystemUI` still compiles, phew
Change-Id: I0c1ebad503a3c68ce78f64de1286d089aeebf324
2020-11-26 16:53:34 +01:00
TreeHugger Robot
b511492911
Merge "Extract Vibration class to vibrator package."
2020-11-26 14:46:35 +00:00
Ioana Stefan
eb778956a4
Merge "Expose public interface to starting and stopping IME tracing"
2020-11-26 14:32:26 +00:00
Treehugger Robot
eeef7c8271
Merge "Make ChangeReporter.{Status,Source} proper enums" am: a421f8ff53 am: cdd4f0bdaf am: 4d61ec6e60
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511333
Change-Id: Ib1c2122bb8fdc876529faf37954e1745b5e73805
2020-11-26 14:16:16 +00:00
Ming-Shin Lu
814d5a866c
Merge "Add Null check for mView.findFocus() in ViewRootImpl" into rvc-qpr-dev am: 29c2b7e6e3 am: 344f4d7107
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13127785
Change-Id: Idaa2b9d07f59cbe0c7a3416a3ebddec0316c301d
2020-11-26 14:15:44 +00:00
TreeHugger Robot
1d9ab5311c
Merge "Extract single vibrator control into a separate class"
2020-11-26 14:11:37 +00:00
Treehugger Robot
4d61ec6e60
Merge "Make ChangeReporter.{Status,Source} proper enums" am: a421f8ff53 am: cdd4f0bdaf
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511333
Change-Id: Ie7b5bd929dba5bdaee67e5381bcac7099c1e0596
2020-11-26 14:11:15 +00:00
Ming-Shin Lu
344f4d7107
Merge "Add Null check for mView.findFocus() in ViewRootImpl" into rvc-qpr-dev am: 29c2b7e6e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13127785
Change-Id: Ibe6d6e31eeabd857affa6f4dcdb19d875df4309c
2020-11-26 14:01:15 +00:00
Treehugger Robot
cdd4f0bdaf
Merge "Make ChangeReporter.{Status,Source} proper enums" am: a421f8ff53
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511333
Change-Id: I39ec4d9b605a58e0295bed63c515c6d961d14701
2020-11-26 13:56:21 +00:00
Ming-Shin Lu
29c2b7e6e3
Merge "Add Null check for mView.findFocus() in ViewRootImpl" into rvc-qpr-dev
2020-11-26 13:50:13 +00:00
Martijn Coenen
a538fd2446
[automerger skipped] Merge "Make sure we preserve preserveLegacyExternalStorage." into rvc-qpr-dev am: 50402a42f8 am: 0d2517e697 -s ours
...
am skip reason: Change-Id Ic24372348118ad9ed818a28f377e0decc78b9ecc with SHA-1 c57e3455ff is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13128166
Change-Id: I40c49123349e20f5054164db0551e8db95e2c556
2020-11-26 13:48:57 +00:00
Treehugger Robot
a421f8ff53
Merge "Make ChangeReporter.{Status,Source} proper enums"
2020-11-26 13:37:45 +00:00
Martijn Coenen
0d2517e697
Merge "Make sure we preserve preserveLegacyExternalStorage." into rvc-qpr-dev am: 50402a42f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13128166
Change-Id: I7158ea9d8a012617fba4d64a96d0e1dfeca413c1
2020-11-26 13:34:39 +00:00
Martijn Coenen
50402a42f8
Merge "Make sure we preserve preserveLegacyExternalStorage." into rvc-qpr-dev
2020-11-26 12:34:43 +00:00
Corina Grigoras
2384558421
[automerger skipped] Merge "DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider." into rvc-qpr-dev am: 97fdd2ab04 am: 7b6ce05052 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12977056
Change-Id: I3fa95d28318246057d0185453afcc45163434c32
2020-11-26 12:19:46 +00:00
Corina
8fe7b891be
[automerger skipped] DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider. am: 08b56aa19b am: 3c6360453f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12977056
Change-Id: I8763b7451d6d81c397fc37528954b4fd6b504d8a
2020-11-26 12:19:34 +00:00
Corina Grigoras
7b6ce05052
Merge "DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider." into rvc-qpr-dev am: 97fdd2ab04
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12977056
Change-Id: Ie75de2b0c970426b7d99517ee33136ee955b9f1e
2020-11-26 12:04:34 +00:00
Corina
3c6360453f
DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider. am: 08b56aa19b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12977056
Change-Id: Id22b818cf34a02bb75f1d2dba624c98fe9930ac3
2020-11-26 12:04:26 +00:00
Corina Grigoras
97fdd2ab04
Merge "DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider." into rvc-qpr-dev
2020-11-26 11:49:23 +00:00
TreeHugger Robot
54db67bd6c
Merge "Extract input device vibrators code from VibratorService"
2020-11-26 11:48:18 +00:00
TreeHugger Robot
d329889eea
Merge "Let IME#onFinishInput called without dup onStartInput when screen-off"
2020-11-26 11:25:22 +00:00
Martijn Coenen
b2842cac58
Make sure we preserve preserveLegacyExternalStorage.
...
This could be lost after a reboot, due to the following sequence of
events:
1) App targets SDK 29 and has LEGACY_STORAGE
2) App updates to a version with targetSdk30 and preserveLegacyExternalStorage
3) App maintains LEGACY_STORAGE, because we currently have it and preserve
was requested
4) We reboot
5) When evaluating the READ_EXTERNAL_STORAGE permission, we check
whether we should grant the LEGACY_STORAGE extra app-op by calling
mayAllowExtraAppOp(); this call returns false, because there's a
check whether the app *currently* has LEGACY_STORAGE, which isn't true.
6) We then check whether we should deny LEGACY_STORAGE if it was
previously granted; this returns true, because it was implemented as the
inverse of 5)
7) LEGACY_STORAGE is denied
Fix this by more explicitly coding what allows us to get the appop, and
how it can be removed once we already have it.
Bug: 169943139
Test: atest RestrictedStoragePermissionTest
Test: atest PreserveLegacyStorageHostTest
Change-Id: Ic24372348118ad9ed818a28f377e0decc78b9ecc
Merged-In: Ic24372348118ad9ed818a28f377e0decc78b9ecc
(cherry picked from commit c57e3455ff )
2020-11-26 11:17:41 +00:00
JW Wang
8cba96af6d
Merge changes I0ca6d083,I96d81313,I6010de4d,I608316d2
...
* changes:
Record reason why the rollback is deleted (5/n)
Delete committed rollbacks when they expire (4/n)
Dump historical rollbacks for debugging purpose (3/n)
Save deleted rollbacks for debugging purpose (2/n)
2020-11-26 11:03:43 +00:00
Almaz Mingaleev
4a57cbaa56
Merge "Add lower bound checks for non-manual time suggestions." am: 7d0a2d7970 am: 6c39385645 am: aef3539d2f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507505
Change-Id: Ic87678656f1a03d5e9fccc7f166f6d48e606e687
2020-11-26 10:46:34 +00:00
Martijn Coenen
8bde60bbef
Merge "Make sure we preserve preserveLegacyExternalStorage."
2020-11-26 10:38:06 +00:00
Almaz Mingaleev
aef3539d2f
Merge "Add lower bound checks for non-manual time suggestions." am: 7d0a2d7970 am: 6c39385645
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507505
Change-Id: Ifd9c6fa47365cd493cfb2629da22a67e14844a74
2020-11-26 10:32:23 +00:00
Almaz Mingaleev
6c39385645
Merge "Add lower bound checks for non-manual time suggestions." am: 7d0a2d7970
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507505
Change-Id: I8d217e8a586deb0e07b4ea1767caf3f92a6801e9
2020-11-26 10:17:58 +00:00
Almaz Mingaleev
7d0a2d7970
Merge "Add lower bound checks for non-manual time suggestions."
2020-11-26 09:54:50 +00:00
TreeHugger Robot
1653a96fca
Merge "Use the secondary display for InputMethodMenuControllerTest"
2020-11-26 09:40:44 +00:00
Ming-Shin Lu
d1cd540bbe
Add Null check for mView.findFocus() in ViewRootImpl
...
Some apps like Netflix crashed while handleWindowFocusChanged but mView
somehow has became null.
It's fair to check null for mView.findFocus() since other places
in ViewRootImpl that calling this method also add null check.
Fix: 153862451
Test: atest CtsInputMethodTestCases
Change-Id: I86bd5f3193deabe28bb425a8564017f7b32b90f3
(cherry picked from commit bdaa14bf18 )
2020-11-26 09:24:46 +00:00
TreeHugger Robot
45315bc37c
Merge "Attempt to reduce flakiness of ActivityThreadTest"
2020-11-26 09:22:40 +00:00
TreeHugger Robot
1edcf17241
Merge "Makes the multi-touch prevention only works for editable TextView." into rvc-qpr-dev am: b72c8a096b am: 94b24197c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12906239
Change-Id: I90a28f96be56df9a342bd0fdb06b86ad25c88bce
2020-11-26 07:02:40 +00:00
TreeHugger Robot
94b24197c3
Merge "Makes the multi-touch prevention only works for editable TextView." into rvc-qpr-dev am: b72c8a096b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12906239
Change-Id: Ie3f9e6e8e00f4a647dc6f9d317763601cdc26adb
2020-11-26 06:45:47 +00:00
Jeffrey Huang
265e76de3d
[automerger skipped] Move enums file to new directory am: 71ae4fc7d3 -s ours
...
am skip reason: Change-Id I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 with SHA-1 d16df80f62 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13126686
Change-Id: I9878cf2ca72e7f31d4fc13d3e681b9c3146f8907
2020-11-26 06:45:19 +00:00
Sean Stout
2fc4888689
Merge "Revert^2 "Use same display for activities in same process.""
2020-11-26 06:38:41 +00:00
TreeHugger Robot
9e393c0ff1
Merge "Start home on empty display when user unlock the device"
2020-11-26 06:29:10 +00:00
Treehugger Robot
6dd66b82ab
[automerger skipped] Merge "Move enums file to new directory" am: 53cfe5eb38 am: 0fd36c485a -s ours am: 3e8d93eef8 -s ours
...
am skip reason: Change-Id I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 with SHA-1 d16df80f62 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1508753
Change-Id: I77e4bcd11cc74fb7cbe3a85f23f785210697e679
2020-11-26 05:57:51 +00:00
Treehugger Robot
3e8d93eef8
[automerger skipped] Merge "Move enums file to new directory" am: 53cfe5eb38 am: 0fd36c485a -s ours
...
am skip reason: Change-Id I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 with SHA-1 d16df80f62 is in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1508753
Change-Id: Id8436c98d1697a2e9a84bae05bf52c42c30e4342
2020-11-26 05:35:07 +00:00