Commit Graph

519022 Commits

Author SHA1 Message Date
Treehugger Robot
349c5720cf Merge "Skip testPhysicalEthernet if the test run adb over network" 2020-07-08 04:41:34 +00:00
Yo Chiang
85a4d96f25 ApexManager: Allow duplicating VNDK APEX package names
Don't throw when the duplicating APEX names are VNDK.

Explicitly allow duplicating builtin packages if they are VNDK APEX.
For example, aosp_bonito has its VNDK APEX installed in the vendor
partition and GSI installed its VNDK APEX in system partition.
When booting with GSI as the system image, there would be two APEXes
with the same name "com.android.vndk.v30", and only one is activated
by apexd:

- (inactive) /vendor/apex/com.android.vndk.current.on_vendor.apex
-   (active) /system/apex/com.android.vndk.current.apex

Bug: 160611268
Test: Flash aosp_bonito / vendor.img + aosp_arm64 / system.img and boot
  to home screen
Test: atest CtsStagedInstallHostTestCases
Test: atest FrameworksServicesTests:PackageParserTest
Test: atest FrameworksServicesTests:ApexManagerTest
Test: adb shell dumpsys package
Test: | com.android.vndk.current.apex is active
Test: | com.android.vndk.current.on_vendor.apex is inactive
Change-Id: I9f01ba075f26d22aa5101dc3da69d53c5a8b6202
2020-07-08 04:24:34 +00:00
weichinweng
f6ec2d07e2 Add debug log for set/remove active device.
Bug: 160746277
Test: atest BluetoothInstrumentationTests
Tag: #feature
Change-Id: I3decaa102345d9e9485882cfeee2fae203264e25
2020-07-08 03:41:32 +00:00
Automerger Merge Worker
6a6e1594bb Merge "Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975 am: 038d147eab" into rvc-d1-dev-plus-aosp 2020-07-08 03:28:48 +00:00
TreeHugger Robot
1336aca191 Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975 am: 038d147eab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12087983

Change-Id: I1ad2f41474ea40e53d28b5e36b3b0fea805e0cdf
2020-07-08 03:28:41 +00:00
TreeHugger Robot
ae0129e47c Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975 am: 54e6bc1dbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12087983

Change-Id: I4c31e6069b8d23baea3d0ce94c858cb8e0ca8540
2020-07-08 03:28:39 +00:00
TreeHugger Robot
54e6bc1dbb Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12087983

Change-Id: Ia34f9d12333c5e693d87485a74d7e3b28dff861b
2020-07-08 03:16:38 +00:00
TreeHugger Robot
038d147eab Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev am: d99b74a975
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12087983

Change-Id: Ibf148f64366a3f6c935b8950ed0b2e87b16e1547
2020-07-08 03:16:29 +00:00
Automerger Merge Worker
53ee9b88f3 Merge "Merge "Tweaking workaround to use fallback with null buffer" into rvc-dev am: 5be32a1c11 am: 367b00d197" into rvc-d1-dev-plus-aosp 2020-07-08 03:13:17 +00:00
Winson Chung
48d45f77e0 Merge "Tweaking workaround to use fallback with null buffer" into rvc-dev am: 5be32a1c11 am: 367b00d197
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100099

Change-Id: I8484c3cdbe2e4a74f67f9cda72dd7f2070474499
2020-07-08 03:13:11 +00:00
Winson Chung
868e435f02 Merge "Tweaking workaround to use fallback with null buffer" into rvc-dev am: 5be32a1c11 am: b7e27a6598
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100099

Change-Id: I34a1cba2de2facd3c527dd92606a976aaf3617eb
2020-07-08 03:13:07 +00:00
TreeHugger Robot
d99b74a975 Merge "Remove references to undocumented WHITELIST_AUTO_REVOKE_PERMISSIONS from javadoc" into rvc-dev 2020-07-08 03:09:16 +00:00
Winson Chung
367b00d197 Merge "Tweaking workaround to use fallback with null buffer" into rvc-dev am: 5be32a1c11
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100099

Change-Id: I9ed32f9cb454660dca864250e0f7202c53e586eb
2020-07-08 03:03:43 +00:00
Winson Chung
b7e27a6598 Merge "Tweaking workaround to use fallback with null buffer" into rvc-dev am: 5be32a1c11
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100099

Change-Id: Ice79c30eeb522ff47191feb8d4f1f20c57a6d995
2020-07-08 03:03:19 +00:00
Winson Chung
5be32a1c11 Merge "Tweaking workaround to use fallback with null buffer" into rvc-dev 2020-07-08 02:43:57 +00:00
Treehugger Robot
63c26b2080 Merge "Fix typos related to sortSelectionIndices" am: 5247f04147 am: 7a42f1c980 am: 1376456548
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355842

Change-Id: I2304629e0191ce76d3fa31ad98341fea40c585eb
2020-07-08 02:33:37 +00:00
Treehugger Robot
7a24828a71 [automerger skipped] Merge changes from topics "pc-enum", "pointer_controller" am: 42875c3a99 am: 3d90c6dbe3 -s ours am: 60b103b632 -s ours
am skip reason: Change-Id I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea with SHA-1 12956dc51d is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355812

Change-Id: Ie3d23eec0bb6d3df652584a896fef955355a7027
2020-07-08 02:32:54 +00:00
Michael Wright
46ec339e29 [automerger skipped] Move PointerController from sp to shared_ptr am: a0bc6b1d09 am: adc5134863 -s ours am: 177cf9fd0e -s ours
am skip reason: Change-Id I4e665d00c56b44c9c1a4ea8cb27ffd10ade3315b with SHA-1 3a09650f68 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1356605

Change-Id: Id13c3e990c5bcca3b203cfe8c222f5baa8502f12
2020-07-08 02:32:45 +00:00
Treehugger Robot
1376456548 Merge "Fix typos related to sortSelectionIndices" am: 5247f04147 am: 7a42f1c980
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355842

Change-Id: Iec31622cc351a635b8d590b2509523167141d32c
2020-07-08 02:16:23 +00:00
Treehugger Robot
60b103b632 [automerger skipped] Merge changes from topics "pc-enum", "pointer_controller" am: 42875c3a99 am: 3d90c6dbe3 -s ours
am skip reason: Change-Id I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea with SHA-1 12956dc51d is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355812

Change-Id: I3791229c1c62a7aab7f14d9fc5c41b4c3f7893dd
2020-07-08 02:15:43 +00:00
Michael Wright
177cf9fd0e [automerger skipped] Move PointerController from sp to shared_ptr am: a0bc6b1d09 am: adc5134863 -s ours
am skip reason: Change-Id I4e665d00c56b44c9c1a4ea8cb27ffd10ade3315b with SHA-1 3a09650f68 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1356605

Change-Id: I9336377bb66b55f08f8a99ca86cc20e6e87df051
2020-07-08 02:15:39 +00:00
Treehugger Robot
7a42f1c980 Merge "Fix typos related to sortSelectionIndices" am: 5247f04147
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355842

Change-Id: If31d3a5640a1fef76c9b387ef5b8f61909835833
2020-07-08 01:56:06 +00:00
Treehugger Robot
3d90c6dbe3 Merge changes from topics "pc-enum", "pointer_controller" am: 42875c3a99
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1355812

Change-Id: I359f1393852de5df2c6d93115a4d971d9b6c3d0c
2020-07-08 01:55:43 +00:00
Michael Wright
adc5134863 Move PointerController from sp to shared_ptr am: a0bc6b1d09
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1356605

Change-Id: I64f4dca3aabfa82351b540fa709f1c1d123d9d34
2020-07-08 01:55:38 +00:00
ryanlwlin
1145db5d8e [DO NOT MERGE] Clear properties after interaction is ended
The properties populated when double-tap and hold is detected is not
cleared after interaction end. It cuases an offset on hoverevent.

Bug: 160463594
Test: atest TouchExplorerTest
Change-Id: Id5115fe64e4bda9c7657f67bef62290858442de9
2020-07-08 09:39:51 +08:00
Treehugger Robot
5247f04147 Merge "Fix typos related to sortSelectionIndices" 2020-07-08 01:25:35 +00:00
Treehugger Robot
42875c3a99 Merge changes from topics "pc-enum", "pointer_controller"
* changes:
  Move PointerController enums to enum classes.
  Move PointerController from sp to shared_ptr
2020-07-08 01:19:13 +00:00
Selim Cinek
2575f16619 Merge "Deduplicate resumption controls when notif removed" into rvc-dev am: 997a3c73a7 am: af41f0ac48
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089063

Change-Id: I119f8af57813887a766e7ab194a0bbde18a3ec59
2020-07-08 01:18:16 +00:00
android-build-team Robot
47db357ec9 Snap for 6660508 from a711165637 to rvc-release
Change-Id: I1954b3ecc42999e88e812fa207d8b1b02a45dc7b
2020-07-08 01:08:43 +00:00
Selim Cinek
d0e2cd7a7f Merge "Deduplicate resumption controls when notif removed" into rvc-dev am: 997a3c73a7 am: 0f9987bed9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089063

Change-Id: I26362a5affde56ccd65b381f04be076b5d7baeca
2020-07-08 01:00:26 +00:00
Selim Cinek
af41f0ac48 Merge "Deduplicate resumption controls when notif removed" into rvc-dev am: 997a3c73a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089063

Change-Id: I5cdf3c8784db9f5a84a40dc67ba41a4b2d734191
2020-07-08 00:51:15 +00:00
Selim Cinek
0f9987bed9 Merge "Deduplicate resumption controls when notif removed" into rvc-dev am: 997a3c73a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089063

Change-Id: I6738db370f423d28e982b99e2ac2d3639ca39eed
2020-07-08 00:51:07 +00:00
Selim Cinek
997a3c73a7 Merge "Deduplicate resumption controls when notif removed" into rvc-dev 2020-07-08 00:36:58 +00:00
Jack Yu
715073fc69 Fixed that data connections not tearing down when APN set id changes
When APN set id changes (by changing the preferred APN in settings),
the existing data connections from previous APN set id should be
torn down. Fixed by checking the APN set id when building the
waiting APN list and tethering APN list.

Fix: 159761970
Test: DcTrackerTest
Change-Id: I626f871b64d50127feece80f018272e51ad1c66c
2020-07-07 17:21:17 -07:00
TreeHugger Robot
167569b262 Merge "Don't delay frame scheduling" into rvc-d1-dev am: 4185609ba9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099101

Change-Id: Id20930de15c534ff477e0785e611510c790f4c99
2020-07-08 00:01:29 +00:00
Winson Chung
69aebfc9ec Tweaking workaround to use fallback with null buffer
- This case still shouldn't ever happen, but we're still
  getting crashes. It looks like the call to wrapHardwareBuffer
  will always create a hw buffer even if the graphic buffer
  is null, and the internal call to wrap the hw buffer may
  not have the flags if a null buffer is provided.

Bug: 157562905
Test: Haven't been able to reproduce
Change-Id: Ia61809a4dc53317139446d099cfa262c095d2aea
Merged-In: Ia61809a4dc53317139446d099cfa262c095d2aea
2020-07-07 23:55:23 +00:00
TreeHugger Robot
4185609ba9 Merge "Don't delay frame scheduling" into rvc-d1-dev 2020-07-07 23:51:37 +00:00
Michael Wright
c08ad5df47 Move PointerController enums to enum classes. am: 12956dc51d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12100386

Change-Id: I2d2cc508261933ce8a5fce2a9d1ab637e5ac30fb
2020-07-07 23:15:56 +00:00
Michael Wright
12956dc51d Move PointerController enums to enum classes.
Bug: 160010896
Test: atest PointerController_test, compile
Change-Id: I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea
Merged-In: I6c7bfc91023ce6cd2dc8f82b0d72731f871ad3ea
(cherry picked from commit 676897dc11)
2020-07-07 21:57:30 +00:00
TreeHugger Robot
616d2e3842 Merge "Move PointerController from sp to shared_ptr" into rvc-dev-plus-aosp am: 78ec762f0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099132

Change-Id: Ib8df5f6bd7dac45a76290db43da316c57190bc40
2020-07-07 21:55:24 +00:00
TreeHugger Robot
78ec762f0c Merge "Move PointerController from sp to shared_ptr" into rvc-dev-plus-aosp 2020-07-07 21:38:32 +00:00
Issei Suzuki
f76ce36997 Fix bubble shows empty contents after rotating the device.
When a virtual display turns on or off, DisplayManagerService notifies
it to WindowManagerService via messaging. Since the messaging is handled
asynchronously, the virtual display status might be changed again
before WindowManagerService gets notified, so WindowManagerService
might miss that the virtual display stauts is changed.

In order to trigger ITaskStackListner#onSingleTaskDisplayDrawn even when
WindowManagerService misses virtual display status change, we prepare
an app transition TRANSIT_SHOW_SINGLE_TASK_DISPLAY when moving a task
to front.

Bug: 158675422
Test: manual. Expand bubble, rotate device and check app transitions.
Change-Id: Ib48d4faab8fa0cef88074593b0ae1a3b7615d9c0
2020-07-07 23:23:03 +02:00
Wale Ogunwale
db0269f16b Merge "Revert "Fix "Allow/Deny" popup window no respond when enable pointer location"" into rvc-dev am: a711165637 am: 7a835dd406
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089945

Change-Id: I5167f58959e12e590aae8b1d672bd7fff002c9dd
2020-07-07 20:32:09 +00:00
Wale Ogunwale
fd78a512e5 Merge "Revert "Fix "Allow/Deny" popup window no respond when enable pointer location"" into rvc-dev am: a711165637 am: 716757b47c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089945

Change-Id: I9c84986cddeaaa769d7acead6791794ee9253393
2020-07-07 20:31:31 +00:00
Wale Ogunwale
7a835dd406 Merge "Revert "Fix "Allow/Deny" popup window no respond when enable pointer location"" into rvc-dev am: a711165637
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089945

Change-Id: Iac9e920ae2bdfaf21a8c3e44109e448da4b83077
2020-07-07 20:16:44 +00:00
Wale Ogunwale
716757b47c Merge "Revert "Fix "Allow/Deny" popup window no respond when enable pointer location"" into rvc-dev am: a711165637
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089945

Change-Id: I26d4de89cf561541017e02ac281119dace56aa4c
2020-07-07 20:16:20 +00:00
Patrick Baumann
76aa2deba7 Fixes component-based visibility recompute
This change fixes a bug that was resulting in any forceQueryable
package's queries->intent tags to be ignored. The logic in the
recomputeComponentVisibility was skipping if the source was force
queryable instead of the target. This change fixes that and adds the
correct check for the source (has QUERY_ALL_PACKAGES)

Test: atest AppEnumerationTests AppsFilterTest
Fixes: 159626154
Change-Id: Iaba1c52e6d645db43715642e7db9eaacdfeefb7d
2020-07-07 13:04:47 -07:00
Wale Ogunwale
a711165637 Merge "Revert "Fix "Allow/Deny" popup window no respond when enable pointer location"" into rvc-dev 2020-07-07 20:04:28 +00:00
Ben Lin
ffcb0249c9 Merge "Revert "PiP: Potentially hide menu immediately after it appears."" into rvc-dev am: d4445e0c86 am: 52abac27f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065341

Change-Id: I9d3ab23aa39109c5c031d6e34b022cc2c20718db
2020-07-07 19:37:58 +00:00
Ben Lin
59a0d89536 Merge "Revert "PiP: Potentially hide menu immediately after it appears."" into rvc-dev am: d4445e0c86 am: ca10fdaa31
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065341

Change-Id: I94caeac397230eb55ace030fbd44cbe8c1080d0d
2020-07-07 19:37:11 +00:00