Hunter Knepshield
537f835e2b
Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297 am: a7dad0b5cc am: 8a01758622 am: bc8fec3027
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802
Change-Id: Ie2dc8d2094be3f42eb13e561bda9aa4ef24332cc
2020-06-18 18:07:44 +00:00
Hunter Knepshield
8a01758622
Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297 am: a7dad0b5cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802
Change-Id: I38f827361f1f234e49c086953d0c0d7426e0d70f
2020-06-18 17:18:19 +00:00
Hunter Knepshield
9568960297
Merge changes from topic "bugreport-stub" into rvc-dev
...
* changes:
Reevaluate some carrier-associated apps' status on SDK changes.
Add new "addedInSdk" attribute to carrier-associated apps.
2020-06-18 17:01:01 +00:00
Luke Huang
7c117370e3
Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282 am: dae5d3f223 am: d996337c91 am: 4e4f6a89c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939
Change-Id: I945b061484a7a2da22043103b7102e16fceff930
2020-06-18 04:24:37 +00:00
Luke Huang
dae5d3f223
Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939
Change-Id: I7c285a848ac947e0acf1acc8bc32f3ece3456412
2020-06-18 03:23:46 +00:00
Luke Huang
7144459282
Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev
2020-06-18 03:03:06 +00:00
Luke Huang
6f214e8ebe
Disable sockets and DNS if process lacks INTERNET permission.
...
This is a Client-only solution.
- Add to NetdClient a per-process std::atomic_boolean
similar to netIdForProcess and netIdForResolv.
- The boolean says whether the process should be
allowed Internet connectivity.
- Add an @hide method to NetUtils.java to set the boolean;
call it from the initialization code of the new
process just after forking from zygote.
- Make netdClientSocket and dnsOpenProxy check the
boolean. If the boolean is false, return EPERM from
socket calls.
Bug: 150028556
Test: atest NetworkUtilsTest
Test: atest CtsAppSecurityHostTestCases:UseProcessTest
Change-Id: If002280fbad493dfc2db3d9d505c0257d49a9056
Exempt-From-Owner-Approval: OWNERS already approved identical patchset 5
2020-06-18 03:02:06 +00:00
TreeHugger Robot
feeb4ab192
Merge "Clarify doc for users, clarifying profiles" into rvc-dev am: d41aca1009
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11889023
Change-Id: I748a8b1af01b8e96c8a3e522655e77aa81683e4f
2020-06-18 02:28:08 +00:00
TreeHugger Robot
764ee5c5a2
Merge "Clarify doc for users, clarifying profiles"
2020-06-18 01:39:34 +00:00
Adam Bookatz
36bacceee5
Clarify doc for users, clarifying profiles
...
Test: N/A
Bug: 159173436
Change-Id: I3c105559801a72ef1d91d9db2d42a816e27e24f6
Merged-In: I3c105559801a72ef1d91d9db2d42a816e27e24f6
2020-06-18 00:08:51 +00:00
Adam Bookatz
ffffe91132
Clarify doc for users, clarifying profiles
...
Test: N/A
Bug: 159173436
Change-Id: I3c105559801a72ef1d91d9db2d42a816e27e24f6
2020-06-17 17:07:11 -07:00
Hunter Knepshield
1172ffa7c2
Add new "addedInSdk" attribute to carrier-associated apps.
...
Previously, the sysconfig wasn't capable of understanding
carrier-associated apps that were added after a device's initial launch
(i.e. via OTA) because the logic in CarrierAppUtils explicitly avoids
disabling such apps a second time.
Most of this change is just plumbing everything through. For now, it's
all @hide due to R API deadlines. It will be made public in S.
Bug: 154872019
Test: manual, QA, atest FrameworksTelephonyTests:CarrierAppUtilsTest
Change-Id: I530a4f73146b09879547ca2e0c26428957fef37a
2020-06-16 16:48:38 -07:00
Nikita Ioffe
3a5a83e4b8
Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev am: 27d6605c52 am: 06a12085ab am: bf11408260 am: f522b98926
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797136
Change-Id: I1fd893db7c475a7e03c03618bd23f55f20df8fa1
2020-06-16 11:08:58 +00:00
Nikita Ioffe
bf11408260
Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev am: 27d6605c52 am: 06a12085ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797136
Change-Id: I58536f75ebb7fa4ed177303837803a48df5d41b0
2020-06-16 10:38:27 +00:00
Nikita Ioffe
4a911583b3
Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev am: 27d6605c52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797136
Change-Id: I1446f282205ed5da4256ca9995e3d97020525f50
2020-06-16 10:20:37 +00:00
Nikita Ioffe
27d6605c52
Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev
2020-06-16 10:02:49 +00:00
TreeHugger Robot
9b55f5ffd1
Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff am: 95a411a87d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056
Change-Id: Ib82b69429655ab0245b08aeab615766e41296e7c
2020-06-15 16:59:31 +00:00
TreeHugger Robot
84f65247cb
Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056
Change-Id: I866bc89927ae11a0da7069d33e3e06d5c1f1b51f
2020-06-15 16:42:24 +00:00
Nikita Ioffe
fc3a740282
Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE
...
Test: test app mentioned in the bug
Bug: 158316513
Change-Id: I254479d6616d2e09349fcd9c569c5092dbdefaca
2020-06-15 13:01:06 +01:00
Alex Buynytskyy
3697d9e45d
Don't provide read logs for shell-initiated installations.
...
Only if the application is profileable.
Bug: 158238023
Fixes: 158238023
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageParserTest
Change-Id: I8575830ec3f29850297fdbfbaa157072d6350a28
2020-06-12 14:39:18 -07:00
Alex Buynytskyy
0403545508
Don't provide read logs for shell-initiated installations.
...
Only if the application is profileable.
Bug: 158238023
Fixes: 158238023
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageParserTest
Change-Id: I8575830ec3f29850297fdbfbaa157072d6350a28
Merged-In: I8575830ec3f29850297fdbfbaa157072d6350a28
2020-06-12 13:30:45 -07:00
Adam Bookatz
d44dd441dc
Merge "Default isUserSwitcherEnabled showEvenIfNotActionable" into rvc-dev am: a677e1c6f9 am: 58352e4e66 am: 0efeed6c12 am: 64d9cdf715
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829304
Change-Id: I0a6333cb3869128cf099e7f38785b5db77e8344c
2020-06-12 01:39:39 +00:00
Adam Bookatz
0efeed6c12
Merge "Default isUserSwitcherEnabled showEvenIfNotActionable" into rvc-dev am: a677e1c6f9 am: 58352e4e66
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829304
Change-Id: Ie641939bcdafe6d829b9a64bc0064d8b4058cb9d
2020-06-12 01:11:44 +00:00
Adam Bookatz
dae6bc2c9f
Merge "Default isUserSwitcherEnabled showEvenIfNotActionable" into rvc-dev am: a677e1c6f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11829304
Change-Id: Ib25f90dbda73f5eeb05823d7672c33637a5e1e35
2020-06-12 01:00:47 +00:00
Adam Bookatz
a677e1c6f9
Merge "Default isUserSwitcherEnabled showEvenIfNotActionable" into rvc-dev
2020-06-12 00:47:47 +00:00
TreeHugger Robot
d0a4d6d8ad
Merge "Add details to VibrationEffect waveform documentation" into rvc-dev am: 19dd14d76a am: 76b6eb1e9f am: 131cf3f49c am: 300c251919
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11837599
Change-Id: I46aecd3c9fcd66a9fdd68ec03326233183875ac5
2020-06-11 18:43:48 +00:00
TreeHugger Robot
300c251919
Merge "Add details to VibrationEffect waveform documentation" into rvc-dev am: 19dd14d76a am: 76b6eb1e9f am: 131cf3f49c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11837599
Change-Id: I3fbd70ec889885226ea9d294769ab2295ce238f5
2020-06-11 18:11:41 +00:00
TreeHugger Robot
bdac8459fb
Merge "Add details to VibrationEffect waveform documentation" into rvc-dev am: 19dd14d76a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11837599
Change-Id: Ic47e871ca849268ffaf8e8b759f2ceb9b93d6e48
2020-06-11 17:55:27 +00:00
Lais Andrade
ef5d8751e6
Add details to VibrationEffect waveform documentation
...
Explain the time unit of timings argument and copy explanation of
amplitude values to the summary segments of the javadocs.
Fix: 140846849
Test: N/A
Change-Id: Ia6fd6cb5d0e16076a54f24f7c3d2f3d4ca78d5bd
2020-06-11 16:39:36 +00:00
Adam Bookatz
600210d7cb
Default isUserSwitcherEnabled showEvenIfNotActionable
...
In ag/11573771, the default value for isUserSwitcherEnabled() was
put as false, but it was supposed to be true (as it had been
in patch 1 of that cl).
Bug: 157881376
Test: manual
Change-Id: I456e7eb9527dad8da5d5f99ecbfc8bcf40b7bdcc
2020-06-11 00:22:37 +00:00
TreeHugger Robot
ce2bc09b53
Merge "Apply app data isolation on isolated or app zygote processes" into rvc-dev am: 8434b9fc88 am: 5b1227fc8a am: 42e6e5b254 am: 0bb3147261
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689593
Change-Id: Idc6907bcc168ab7e3682d23b1e628a823fd6f026
2020-06-08 11:48:58 +00:00
TreeHugger Robot
0bb3147261
Merge "Apply app data isolation on isolated or app zygote processes" into rvc-dev am: 8434b9fc88 am: 5b1227fc8a am: 42e6e5b254
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689593
Change-Id: I5cc3e20251af3ede79f11dc6d5fa8fce60b9fed9
2020-06-08 11:32:30 +00:00
TreeHugger Robot
dc73a09889
Merge "Apply app data isolation on isolated or app zygote processes" into rvc-dev am: 8434b9fc88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689593
Change-Id: Iee4baeba4580c74275ef54a93260050804a8c9cd
2020-06-08 11:07:57 +00:00
TreeHugger Robot
8434b9fc88
Merge "Apply app data isolation on isolated or app zygote processes" into rvc-dev
2020-06-08 11:03:56 +00:00
Ricky Wai
e986bc4cad
Apply app data isolation on isolated or app zygote processes
...
Fix: 158088415
Test: atest AppDataIsolationTests
Change-Id: Ic55464397039645938822ac20eb12e375bbe4a72
2020-06-05 11:50:50 +01:00
Automerger Merge Worker
7818e0ac62
Merge changes from topic "am-b75f7374546b417da72660e8f4bd16ae" into rvc-dev-plus-aosp am: 1772e0bee4 am: 4c074c50c1 am: 5c92070a3e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11685206
Change-Id: Ibee73e7aa25858b82981f2444f17fee3f73fe495
2020-06-05 03:49:37 +00:00
TreeHugger Robot
224ce04e42
Merge "Get the instance count as the initial value" into rvc-dev am: d5fb11a761
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11473225
Change-Id: I5277cd97e46659df8c0398371f86c9880efca9ef
2020-06-05 03:36:49 +00:00
TreeHugger Robot
d5fb11a761
Merge "Get the instance count as the initial value" into rvc-dev
2020-06-05 03:34:32 +00:00
Jeff Sharkey
b82b4ff709
Merge "Logging to aid bug investigation." into rvc-dev am: bb9ea4e1fa am: 26f1e23340 am: af24caa313 am: 21641715c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745078
Change-Id: I73429276ce11a57ca7a94ddea9c56f54c6523ff1
2020-06-05 00:23:24 +00:00
Jeff Sharkey
21641715c4
Merge "Logging to aid bug investigation." into rvc-dev am: bb9ea4e1fa am: 26f1e23340 am: af24caa313
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745078
Change-Id: Ieece489d63064e6646eb02dd7cc8598e4ed50002
2020-06-05 00:00:30 +00:00
Jeff Sharkey
5bb776d88b
Merge "Logging to aid bug investigation." into rvc-dev am: bb9ea4e1fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745078
Change-Id: I72ef1b7bf14215c76ff67aea1941ab43a27f0e02
2020-06-04 23:51:12 +00:00
Jeff Sharkey
0a8e32c124
Logging to aid bug investigation.
...
We're trying to figure out where volumes are disappearing.
Bug: 158059178
Test: none
Change-Id: I68959f0a163e2fece13fcb08a6c9f55ec1beb0f6
2020-06-04 17:35:38 -06:00
Peiyong Lin
946de48a41
Merge "Allow to load implicit layer from /vendor/app." into rvc-dev am: 1371b76afd am: f7acfa876c am: 1f6aca105b am: 80d4c4a2c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11688191
Change-Id: I4aaa6fc51ee6c5d79a2d50c4723cbde4e05de9cb
2020-06-04 01:29:47 +00:00
Peiyong Lin
1f6aca105b
Merge "Allow to load implicit layer from /vendor/app." into rvc-dev am: 1371b76afd am: f7acfa876c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11688191
Change-Id: I43f519b69c54ba203f2904a8b28f228bfce15467
2020-06-04 01:03:30 +00:00
Peiyong Lin
760338ed90
Merge "Allow to load implicit layer from /vendor/app." into rvc-dev am: 1371b76afd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11688191
Change-Id: I34257bdfd340334bcdfc19a3f6a9c5d9aeebe842
2020-06-04 00:53:47 +00:00
Peiyong Lin
1371b76afd
Merge "Allow to load implicit layer from /vendor/app." into rvc-dev
2020-06-04 00:40:15 +00:00
Peiyong Lin
eb1c5a4c28
Allow to load implicit layer from /vendor/app.
...
Currently when loading implicit layers from apks, NativeLoaderNamespace
doesn't allow to dlopen the binaries if they come from apks from
/vendor/app. Implicit layers ship within /vendor/app should work like
other implicit layers. This patch extracts the construction of library
paths of the implicit layers and includes those paths when
NativeLoaderNamespace is created as the part of the permitted library
paths.
Bug: b/157832445
Test: atest android.gputools.cts.CtsRootlessGpuDebugHostTest
Test: setup debug layer and use adb logcat to check vulkan loader output
Change-Id: Ie2ca989bcab890578b5aa540d07f2aee2a0182bd
2020-06-03 21:30:08 +00:00
Zhen Zhang
421c01d9f6
Merge "Allow low ram device to have multiple users and managed profies" into rvc-dev am: 2260f7102f am: 934f9fafe3 am: 4be31673c7 am: a8c25b8297
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11667418
Change-Id: I77ac3913916fe59b5fa2b649b722270a13622d4e
2020-06-03 18:18:01 +00:00
Zhen Zhang
a8c25b8297
Merge "Allow low ram device to have multiple users and managed profies" into rvc-dev am: 2260f7102f am: 934f9fafe3 am: 4be31673c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11667418
Change-Id: I0c5abb6c32413b8b876374ce171ce10fe8adf32e
2020-06-03 18:08:58 +00:00
Zhen Zhang
21ee480527
Merge "Allow low ram device to have multiple users and managed profies" into rvc-dev am: 2260f7102f am: 934f9fafe3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11667418
Change-Id: Ief2a6bb82ba321caff8bf6bb0b971bf68e5fb15d
2020-06-03 17:57:36 +00:00