Miranda Kephart
c5e145c3bf
Update sharesheet for large devices
...
Switches to a wrapped sharesheet (instead of filling the screen)
and 6 columns instead of 8 for large screens. Also fixes some
small details with the appearance (see
https://docs.google.com/presentation/d/1WDbmWx6uXaFi8jos7Sp6ZUmBh24Y5Bj5G7dW78LxE40/edit#slide=id.gb836e06a0c_0_0 )
Bug: 195102471
Test: manual (visual changes)
Merged-In: I5d84dce0aea7657a50dc3376be9d8b5e41b907db
Change-Id: I5d84dce0aea7657a50dc3376be9d8b5e41b907db
2021-12-10 09:47:58 +00:00
Jiakai Zhang
bbe20f1546
Merge "Prefetch standalone system server jars before switching domain." am: 04b45b74a1 am: 16895824d0 am: 5a86271193
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909973
Change-Id: I76ef30d0aa75d697d9472df8b4d777663a86eeda
2021-12-08 23:34:32 +00:00
Jiakai Zhang
5a86271193
Merge "Prefetch standalone system server jars before switching domain." am: 04b45b74a1 am: 16895824d0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909973
Change-Id: I3e3a0853ab1d14a4759d2954d318d8213f1ea8a9
2021-12-08 23:21:58 +00:00
Jiakai Zhang
16895824d0
Merge "Prefetch standalone system server jars before switching domain." am: 04b45b74a1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909973
Change-Id: I1c66a904c3688717853ce34a2952d976960b21a7
2021-12-08 22:56:25 +00:00
Jiakai Zhang
405fb6dee9
Prefetch standalone system server jars before switching domain.
...
In b/203198541, we start to compile standalone system server jars, but
the SELinux policy doesn't allow system_server to load the compiled code
at runtime. As a solution, this change creates class loaders for
standalone system server jars and caches them before switching to the
"system_server" SELinux domain, which essentially loads the jars and
compiled code into the memory.
Bug: 203198541
Test: manual -
1. Patch aosp/1874113, aosp/1876173, aosp/1906158 (in order to have
odrefresh compile a standalone system server jar).
2. Build a system image and flash it to a device.
3. Run "adb shell cat /proc/`adb shell pidof system_server`/maps" and
see "apex@com.android.wifi @javalib@service-wifi.jar @classes.odex"
being mmap'ed.
4. Run "adb logcat | grep avc" and see no denial.
5. atest odsign_e2e_tests
Change-Id: I27fbdaadae2b6f50989b4c534f7fbc80044a6685
Merged-In: I365be766cfb77c6e240d5871f1b3d8ed7abae6f5
(cherry picked from commit 281a2dfaa1 )
2021-12-08 09:47:38 +00:00
Andrei-Valentin Onea
ad82eb4ea3
Merge "Allow privapp permission allowlist in apex" am: e978ec5b07 am: 1c565d5b4b am: 9f370ba438
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1766011
Change-Id: Icfea66a1f48d1e3fde14afa89e1c6313da01dacc
2021-12-07 16:26:54 +00:00
Andrei-Valentin Onea
9f370ba438
Merge "Allow privapp permission allowlist in apex" am: e978ec5b07 am: 1c565d5b4b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1766011
Change-Id: If9cc15759bead022245f08b02ffd3475160bee78
2021-12-07 16:07:07 +00:00
Andrei-Valentin Onea
1c565d5b4b
Merge "Allow privapp permission allowlist in apex" am: e978ec5b07
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1766011
Change-Id: I3bb67e833b6c167ba24b974abcce9cde75317a89
2021-12-07 15:46:06 +00:00
Chris Li
af34c807e4
Merge "Use the current dimensions instead of relying on onConfigurationChanged" into sc-v2-dev am: fb1aca8138
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16361589
Change-Id: I14b5a046c0c784f8e8b34267487fca0810faa5d0
2021-12-07 06:08:53 +00:00
Andrei Onea
95ecac506d
Allow privapp permission allowlist in apex
...
Read priv-app permission allowlists from APEX file and warn if
they're in the /system partition instead.
Test: boots
Bug: 190375768
Change-Id: I37d6deb60f0dffb75dd634075cd95bcf7ddf9684
Merged-In: I37d6deb60f0dffb75dd634075cd95bcf7ddf9684
2021-12-03 18:19:00 +00:00
Chris Li
e40ee51d37
Use the current dimensions instead of relying on onConfigurationChanged
...
There are some cases when the View will not receive
onConfigurationChanged event (such as DialogFragment). Always use the
current dimensions instead.
Fix: 205251075
Test: test with Settings app
Change-Id: If626fe597c02efcb480c05ca88cffbfae1b21a89
2021-11-30 17:39:00 +08:00
Treehugger Robot
81dd7537eb
Merge "Fix an issue when empty the usap pool." am: faf1b1cf0b am: 9078248b75 am: 80f41edf05
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1893002
Change-Id: Idbaa45d4871c7e6c1e15d7af4fb432a2b24a49cf
2021-11-29 08:28:34 +00:00
Treehugger Robot
80f41edf05
Merge "Fix an issue when empty the usap pool." am: faf1b1cf0b am: 9078248b75
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1893002
Change-Id: Id444bd4f7b15a985fa026bde136a15c0efab7d38
2021-11-29 08:14:54 +00:00
Treehugger Robot
9078248b75
Merge "Fix an issue when empty the usap pool." am: faf1b1cf0b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1893002
Change-Id: I6d5e04471f756ee5544bb1f77cf1927f44d7715a
2021-11-29 08:00:57 +00:00
Treehugger Robot
faf1b1cf0b
Merge "Fix an issue when empty the usap pool."
2021-11-29 07:46:36 +00:00
zhangjianqiu
1bc2b9c612
Fix an issue when empty the usap pool.
...
When empty the usap pool, the usap processes may be blocked by
usapPoolSocket.accept(), which cause the usap process fail to kill
immediately. So we can move the position of blockSigTerm after
usapPoolsSocket.accept() and delele the old blockSigTerm in the while
loop.
Test: manual test.
1.setprop persist.device_config.runtime_native.usap_pool_enabled true.
After 1 min, trigger fill usap pools.
2.setprop persist.device_config.runtime_native.usap_pool_enabled false.
After 1 min, trigger empty usap pools.
3.repeat step 1.
Signed-off-by: zhangjianqiu <zhangjianqiu@oppo.com >
Change-Id: I657940b30f71cdc717c673be6d70738e61e2bb68
2021-11-24 09:48:01 +08:00
Treehugger Robot
aad398ed08
Merge "Framework and system_server classes can access public vendor libraries" am: 8cb6d28329 am: 1f479b99ce am: 6d0d1ff1e6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885792
Change-Id: I46c8afc6889b9e01e0d48e011092b49f5cee5a12
2021-11-19 01:05:19 +00:00
Treehugger Robot
6d0d1ff1e6
Merge "Framework and system_server classes can access public vendor libraries" am: 8cb6d28329 am: 1f479b99ce
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885792
Change-Id: I924242f514458f53cfb71ef83b5084646c8b1b73
2021-11-19 00:47:09 +00:00
Treehugger Robot
1f479b99ce
Merge "Framework and system_server classes can access public vendor libraries" am: 8cb6d28329
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885792
Change-Id: Ia8fe285e3668fac4c2d6ca8ffff2976df88f90c3
2021-11-19 00:29:06 +00:00
Treehugger Robot
8cb6d28329
Merge "Framework and system_server classes can access public vendor libraries"
2021-11-19 00:08:57 +00:00
Issei Suzuki
b6bb0424f0
Merge "Stop output WM_DEBUG_WALLPAPER logs to logcat" into sc-v2-dev am: 8dfb06f117
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16283220
Change-Id: I2e622e390e341f1ef11088eff9265bb53ed39ed1
2021-11-18 19:51:05 +00:00
Xin Li
10d9972786
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
...
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Jiyong Park
24c57c33ea
Framework and system_server classes can access public vendor libraries
...
This CL fixes a regression caused by [1] which introduced
<uses-native-library> tag [2]. With the change, public vendor libraries
[3] became accessible only when they are listed in the caller's
AndroidManifest.xml using the new tag. However, this caused a problem to
the places where AndroidManifest.xml doesn't exist: framework and
system_server classes. For those cases, [1] incorrectly used a null list
as the requested native libraries, and as a result, no public vendor
libraries were accessible.
This CL fixes the issue by not doing the filtering for the class loaders
created for non-app contexts like zygote or system_server. Specifically,
it uses the magic keyword "ALL" which let libnativeloader.so
accept all public vendor libraries.
[1] 6a5b8b1f6d
[2] https://developer.android.com/guide/topics/manifest/uses-native-library-element
[3] https://source.android.com/devices/tech/config/namespaces_libraries#adding-additional-native-libraries
Bug: 205164833
Test: libcuttlefish_fs.so is loaded when built with the other CLs in the
same topic
Change-Id: Id92c59642773851d70d05a05f43eb5873e9de86b
2021-11-18 23:09:27 +09:00
Maciej Żenczykowski
9dab125ae7
Merge "switch to using OWNERS from master branch of Connectivity module" am: b86ab4ae44 am: 0700ad89f8 am: 95b11d997d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894917
Change-Id: Ib56d12889921c9238e68942d6fff004e5b7de18e
2021-11-17 19:36:42 +00:00
Maciej Żenczykowski
95b11d997d
Merge "switch to using OWNERS from master branch of Connectivity module" am: b86ab4ae44 am: 0700ad89f8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894917
Change-Id: I649bf90ff9d7c20eaeb32963c3f5c5bfc9be3ea1
2021-11-17 19:13:50 +00:00
Issei Suzuki
d2f718cbf3
Stop output WM_DEBUG_WALLPAPER logs to logcat
...
Bug: 202392340
Test: manual
Change-Id: I0e1c06182f57a195896142f6bcdaafeb7001fb74
2021-11-17 14:22:05 +01:00
Maciej Żenczykowski
7069443319
switch to using OWNERS from master branch of Connectivity module
...
Test: N/A
Signed-off-by: Maciej Żenczykowski <maze@google.com >
Change-Id: Ifa4a38522ac3aa830e2a7f8b23ad190a334458bc
2021-11-17 00:37:40 -08:00
Treehugger Robot
2d3bb1c042
Merge "Fix typo in BaseIWindow.java owners file" am: b2f814064e am: 6d5a079682 am: 063df04968
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1893295
Change-Id: I1531bdbe8f5201b6265709005924aaef09e16b39
2021-11-16 18:34:24 +00:00
Treehugger Robot
063df04968
Merge "Fix typo in BaseIWindow.java owners file" am: b2f814064e am: 6d5a079682
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1893295
Change-Id: Ie4a7b7432d7da4b7b5f2efc1e1eb8ee01d3ba582
2021-11-16 18:10:39 +00:00
Treehugger Robot
b2f814064e
Merge "Fix typo in BaseIWindow.java owners file"
2021-11-16 17:57:38 +00:00
Treehugger Robot
fa6d0cfdb1
Merge "remove PROP_QTAGUID_ENABLED" am: 999147b4ab am: 8d888d92ed am: b3135ed72d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1888335
Change-Id: Ic0b15f0fa54ceb4f62114fd29248e7427fa5f86b
2021-11-16 04:47:59 +00:00
Treehugger Robot
b3135ed72d
Merge "remove PROP_QTAGUID_ENABLED" am: 999147b4ab am: 8d888d92ed
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1888335
Change-Id: Ib9e2b3e5c248b3acbfea21e6eeda1ec879acd31c
2021-11-16 04:30:08 +00:00
Vishnu Nair
8cd9256c50
Fix typo in BaseIWindow.java owners file
...
Change-Id: I7ea7fb4a9fc16aa007e4a6970d550f906da202f7
2021-11-15 23:38:05 +00:00
Wu Ahan
12b1a2ef2e
Merge "Add null check before notifying CUJ events" into sc-v2-dev am: 60316d327f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16221675
Change-Id: I406eee540d6fa8e36f5975ef39ee8228e47e2322
2021-11-13 04:50:51 +00:00
Wu Ahan
eec2d1237d
Add null check before notifying CUJ events
...
There is a potential NPE since we didn't have null check before sending
broadcast, so add null cehck.
Bug: 205211901
Test: Manually
Change-Id: Icc60d2c87941373943ec627f669598dca684c09d
2021-11-12 09:06:44 +00:00
Maciej Żenczykowski
cb6164c141
remove PROP_QTAGUID_ENABLED
...
Remaining hits:
$ repo grep 'net.qtaguid_enabled|PROP_QTAGUID_ENABLED' | egrep -v '^external/cpuinfo/test/mock/'
art/Binary file tools/ahat/etc/L.hprof matches
cts/Binary file tools/release-parser/tests/resources/boot-framework.art matches
external/cpuinfo/test/dmesg/oppo-r9.log:2212:<14>[ 12.785966] (6)[1:init]init: [PropSet]: pid:887 uid:1000 gid:1000 set net.qtaguid_enabled=1
prebuilts/runtime/appcompat/hiddenapi-flags.csv:412141:Lcom/android/server/NetworkManagementSocketTagger;->PROP_QTAGUID_ENABLED:Ljava/lang/String;,blocked
Bug: 161325508
Test: atest, TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com >
Change-Id: Ifa30a7549396312a970fc07c37e8fa8ed85abec0
2021-11-10 15:52:30 -08:00
satayev
f56d99f70c
Merge "Update compat owners." am: 39bf2ed7e5 am: a7e21f7e63 am: 8d8bec0ebe am: 6a34d3ad15
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1886324
Change-Id: I5bcd1d14b415e3b110ef6fece19b005aec231972
2021-11-10 16:40:57 +00:00
satayev
6a34d3ad15
Merge "Update compat owners." am: 39bf2ed7e5 am: a7e21f7e63 am: 8d8bec0ebe
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1886324
Change-Id: I7c48d880bff946f8994807775e73d7e1b9b045bc
2021-11-10 16:23:08 +00:00
satayev
8d8bec0ebe
Merge "Update compat owners." am: 39bf2ed7e5 am: a7e21f7e63
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1886324
Change-Id: I083f5358de92542a0658d348871a969ba69c9078
2021-11-10 16:12:44 +00:00
satayev
73c5df816c
Update compat owners.
...
Bug: N/A
Test: N/A
Change-Id: I548b7310c7b77fbcdf3c6f7d85bde8d0129cf460
2021-11-10 15:35:30 +00:00
Wu Ahan
d9dd71a4d7
Merge "Instrument jank of splash screen AVD and exit animation" into sc-v2-dev am: 43f59bb11b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16084829
Change-Id: If8539d0bbfe18404d5a3bd4013109bfc6ba23898
2021-11-03 02:57:02 +00:00
Wu Ahan
43f59bb11b
Merge "Instrument jank of splash screen AVD and exit animation" into sc-v2-dev
2021-11-03 02:44:08 +00:00
TreeHugger Robot
d9358f6fec
Merge "Remove deadlock path between InteractionJankMonitor and FrameTracker" into sc-v2-dev am: 9de009c3a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15828030
Change-Id: I516149ab133ca36bcc915bb9cbc65191342a8a01
2021-11-02 15:30:19 +00:00
Ahan Wu
aac160b107
Remove deadlock path between InteractionJankMonitor and FrameTracker
...
A deadlock path is found:
- FrameTracker$1.lambda$surfaceDestroyed (held A)
- InteractionJankMonitor.end (held B) -> FrameTracker.end (wait for A)
- FrameTracker.end -> InteractionJankMonitor.handleCujEvents (wait for B)
This cl resolves this by using a single lock among monitor and tracker.
Bug: 197804653
Test: atest InteractionJankMonitorTest --rerun-until-failure 100
Test: atest FrameTrackerTest --rerun-until-failure 100
Change-Id: Ia6aa196370bdb51b8a5c84c74a3d174a3d4b689f
2021-11-02 12:23:06 +00:00
Treehugger Robot
8ec2e93056
Merge "Create dedicated long variables." am: 78106c0ea4 am: dbca2d9a1f am: 742e35e203 am: 2afff12071
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1874248
Change-Id: I1a56e7e0c2052ccd6ab6fb9316aabfc4b97f4e2b
2021-10-29 16:04:25 +00:00
Treehugger Robot
2afff12071
Merge "Create dedicated long variables." am: 78106c0ea4 am: dbca2d9a1f am: 742e35e203
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1874248
Change-Id: I872014db65c9f1d1b1cfc0c9c6fb338fb0b3917f
2021-10-29 15:48:38 +00:00
Treehugger Robot
742e35e203
Merge "Create dedicated long variables." am: 78106c0ea4 am: dbca2d9a1f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1874248
Change-Id: I3c334fc91ff1e747a7eb6476cdc669b547ff23c1
2021-10-29 15:30:53 +00:00
kwekua
5aacac2a71
Create dedicated long variables.
...
Bug: 194532703
Bug: 204459169
Change-Id: Ic4c57d3797b19869e5c9151ccb183543ba5f6df0
2021-10-28 19:33:25 +00:00
Brad Stenning
ba7d862103
Merge "Allow a shared library to be positioned after the application on the classpath" am: 3120b13f56 am: 6e2646eacd am: dfb49ce58c am: 779d574b3d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1852914
Change-Id: I2e3425881355d2c5185038e2868b55b02867d973
2021-10-27 22:22:20 +00:00
Brad Stenning
779d574b3d
Merge "Allow a shared library to be positioned after the application on the classpath" am: 3120b13f56 am: 6e2646eacd am: dfb49ce58c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1852914
Change-Id: Id6cf9e1e78db5f8aea040bcf51b24435a7529e0f
2021-10-27 22:02:48 +00:00