Commit Graph

519022 Commits

Author SHA1 Message Date
TreeHugger Robot
af2f54f4e3 Merge "Ignore GONE views in shade when processing sections" into rvc-dev 2020-07-24 21:41:57 +00:00
Steven Moreland
88cab6ba53 Merge "Allow module libs to use VINTF AIDL." into rvc-dev-plus-aosp am: b9440149be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12219679

Change-Id: I7fb3478a30275a3aa420fb633cdfd48f07e61c8e
2020-07-24 21:09:07 +00:00
Patrick Baumann
5d1c271b1c Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc am: b09e002838
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: If7eb1c36e85f0c3b3cec63c7456ee3d488e48ec3
2020-07-24 21:08:44 +00:00
Automerger Merge Worker
7d6a158b8e Merge "Skip bg PSS collection for apps using a camera am: fc76b97d1b am: 9e4c36f7e1" into rvc-d1-dev-plus-aosp 2020-07-24 21:08:12 +00:00
Christopher Tate
507a458694 Skip bg PSS collection for apps using a camera am: fc76b97d1b am: 9e4c36f7e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: If0e36f9346ff2646453f11440fd40881b7ab0b23
2020-07-24 21:07:20 +00:00
Patrick Baumann
ca45c2bf49 Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc am: a08113255b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: I0b54e82aaf3d7ead0c2b00952801ebf29a95f69b
2020-07-24 21:07:19 +00:00
Christopher Tate
e81a883fea Skip bg PSS collection for apps using a camera am: fc76b97d1b am: 1144fb6987
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: Idb64b3bdf08d3ffceaef9c99dfd4a4af2d97e70e
2020-07-24 21:07:00 +00:00
Steven Moreland
b9440149be Merge "Allow module libs to use VINTF AIDL." into rvc-dev-plus-aosp 2020-07-24 20:58:31 +00:00
Patrick Baumann
b09e002838 Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: I257d0b7e254040dfbce6b6387c4848f6421a6cd6
2020-07-24 20:54:26 +00:00
Patrick Baumann
a08113255b Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: I0b8fd63d853c196166e30b5886c2e6133bc94c55
2020-07-24 20:54:11 +00:00
Patrick Baumann
69b18e57fc Merge "Fix unintended preferred activity reset" into rvc-dev 2020-07-24 20:50:27 +00:00
Christopher Tate
9e4c36f7e1 Skip bg PSS collection for apps using a camera am: fc76b97d1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: I71009004f6daace7620a267b0eccbe966c43de53
2020-07-24 20:47:26 +00:00
Christopher Tate
1144fb6987 Skip bg PSS collection for apps using a camera am: fc76b97d1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: I79816007acce041fc657017b1d0827a9d09d1ad2
2020-07-24 20:47:19 +00:00
Jack Yu
56cfdd1e87 Allow network stack UID caller to retrieve cell identity
For backwards compatibility, we allow phone, system UID to
access cell identity through getServiceState. Cell broadcast
service, which is used to be part of telephony, now is running
under network stack UID. We should consider network stack UID as
trustable components like system/telephony.

Fix: 157618105
Test: Manual
Change-Id: I9b2dfc778752e130f5c7e44c4b2e45b63ac6f918
2020-07-24 19:54:25 +00:00
Steve Elliott
dfd9f17703 Ignore GONE views in shade when processing sections
Fixes: 161606040
Test: atest
Change-Id: I8ab108aea23ea6a139f758abdaf222f5f3641104
2020-07-24 18:56:31 +00:00
Patrick Baumann
312755820a Fix unintended preferred activity reset
When the preferred handler of an action is saved with "always", the set
of components displayed as options to the user are saved with it. On
subsequent queries, if that set of components change, the preference is
cleared to allow the user to consider the new set. With the introduction
of app visibility filtering in R (and to a lesser extent, Instant Apps
in O), the set of apps that an app can see may be less than the set that
the system can. As a result, if the caller calls resolveIntent and
cannot see all of the apps the system can, it may reset the user
preference unexpectedly.

This change ensures that before we clear the user preference that we're
comparing against the full set of apps. As such, if we encounter a call
to the method from an app that cannot see all apps, we avoid any
mutations and instead just return the set of apps that the user can see
or the preferred app if it's part of the set they can see. If the system
calls or if the call is part of an activity start, we'll allow reset of
the preference.

Test: Manual - Install 3 cameras, verify preference only reset on start
Fixes: 157548344
Change-Id: Icb50a66500edba26c4c6c3e80a6a9c544d4d63d6
2020-07-24 11:42:37 -07:00
Steven Moreland
95dd53bb5f Allow module libs to use VINTF AIDL.
Currently a native APEX can get and use a VINTF AIDL. However, this
can't be passed over JNI to be used by Java code.

This does not open VINTF AIDLs to any type of apps, where AIDL as an API
is completely disallowed. Also, no Java ServiceManager APIs are
available, and they couldn't be until b/139325468 is fixed.

Bug: 161501127
Test: atest binderVendorDoubleLoadTest

Change-Id: I1ab977248b1c39a7d08e0ca34389a7ba168c05b0
2020-07-24 18:35:55 +00:00
Steven Moreland
a7fb8cb669 Allow module libs to use VINTF AIDL.
Currently a native APEX can get and use a VINTF AIDL. However, this
can't be passed over JNI to be used by Java code.

This does not open VINTF AIDLs to any type of apps, where AIDL as an API
is completely disallowed. Also, no Java ServiceManager APIs are
available, and they couldn't be until b/139325468 is fixed.

Bug: 161501127
Test: atest binderVendorDoubleLoadTest

Change-Id: I1ab977248b1c39a7d08e0ca34389a7ba168c05b0
Merged-In: I1ab977248b1c39a7d08e0ca34389a7ba168c05b0
2020-07-24 18:12:19 +00:00
Steven Moreland
f2aee92d75 Merge "android.os.Parcelable: isStable->getStability" am: d1568567ec am: da7e355785 am: c9a09ffd92
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371499

Change-Id: I2fcdfc48e2516d498a04c17dcf99c0c95d8bd153
2020-07-24 18:04:37 +00:00
Treehugger Robot
52413a8053 [automerger skipped] Merge "Disable DUN APN while roaming for certain carriers" am: 4becee9740 am: 5b22a598c6 am: 47df766f48 -s ours
am skip reason: Change-Id I2e633fd764f86b196a6ee0c29af2b97733e82c66 with SHA-1 db897af77d is in history

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

Change-Id: I0e10795d5af2e8f3ccbf06de0c77d169968eb419
2020-07-24 18:03:54 +00:00
Steven Moreland
c9a09ffd92 Merge "android.os.Parcelable: isStable->getStability" am: d1568567ec am: da7e355785
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371499

Change-Id: I0f62379a8de4d7b1622ed0667b785d8a74a11ccb
2020-07-24 17:48:23 +00:00
Treehugger Robot
47df766f48 Merge "Disable DUN APN while roaming for certain carriers" am: 4becee9740 am: 5b22a598c6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371059

Change-Id: I784712ead1cb4c47e5a436d8fe33655b51847879
2020-07-24 17:47:59 +00:00
Steven Moreland
da7e355785 Merge "android.os.Parcelable: isStable->getStability" am: d1568567ec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371499

Change-Id: I9197dcb888ccdea8461f8efa7b2e58fd1e6dced1
2020-07-24 17:35:56 +00:00
Steven Moreland
d1568567ec Merge "android.os.Parcelable: isStable->getStability" 2020-07-24 17:30:36 +00:00
Treehugger Robot
5b22a598c6 Merge "Disable DUN APN while roaming for certain carriers" am: 4becee9740
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371059

Change-Id: I6806392cd130d5bdbef0637bc2caf453c79e92a0
2020-07-24 17:28:24 +00:00
TreeHugger Robot
72662960e9 Merge "Just print warning log instead of triggering WTF" into rvc-dev-plus-aosp am: 9dfb6d3b2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12214964

Change-Id: Ieb2a7ff44e594b8e50861fe0f499e1626ec5c734
2020-07-24 17:28:14 +00:00
Treehugger Robot
4becee9740 Merge "Disable DUN APN while roaming for certain carriers" 2020-07-24 17:12:50 +00:00
Christopher Tate
fc76b97d1b Skip bg PSS collection for apps using a camera
Bug: 144138979
Test: grant camera appOp and observe logging
Test: use camera app and observe logging
Change-Id: I6422b432f0d6fcf411073c0528a4ee485d46f005
(cherry picked from commit 5a7e662751)
2020-07-24 17:11:01 +00:00
TreeHugger Robot
9dfb6d3b2e Merge "Just print warning log instead of triggering WTF" into rvc-dev-plus-aosp 2020-07-24 17:10:38 +00:00
Chris Wren
12a74f0bc4 Merge "Update language to comply with Android’s inclusive language guidance" am: 45171e65be am: 4391d318d1 am: 636b875130
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371801

Change-Id: I3a9951a102c739e50ed172282b44ddae520a5bb1
2020-07-24 15:02:42 +00:00
Chris Wren
636b875130 Merge "Update language to comply with Android’s inclusive language guidance" am: 45171e65be am: 4391d318d1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371801

Change-Id: I882f54bf250c4911dd28fced1fa694572ebfabcf
2020-07-24 14:46:12 +00:00
Chris Wren
4391d318d1 Merge "Update language to comply with Android’s inclusive language guidance" am: 45171e65be
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371801

Change-Id: Ia562da558cf76593fc6da772f862c5bec71ae43a
2020-07-24 14:33:59 +00:00
Chris Wren
45171e65be Merge "Update language to comply with Android’s inclusive language guidance" 2020-07-24 14:12:16 +00:00
Zim
1d6554f0e1 Reduce demo user FUSE volume mount timeout
A long timeout seems to break demo users when calling
DevicePolicyManagerService#enableSystemApp.

We soft-revert Ia8f6f121448f6b5e484fd3e8cca845fdd89afc23 just for demo
users while investigating the root cause.

Test: Manual
Bug: 161702661
Change-Id: I8ff153f2649e3a1d05f2e3e6e382bbba8c79630c
2020-07-24 12:08:33 +01:00
Treehugger Robot
590462e110 Merge "Introduce uses-native-library tag" am: e6c21e2ea8 am: 64f6fa6fb9 am: 41521641c1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372059

Change-Id: I682141444d5ce9f6c1a9a4a85d760d361d53e752
2020-07-24 10:46:32 +00:00
Treehugger Robot
41521641c1 Merge "Introduce uses-native-library tag" am: e6c21e2ea8 am: 64f6fa6fb9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372059

Change-Id: I9b4ee8e42ff69cf616c75588e943fa54d0aaf87c
2020-07-24 10:40:38 +00:00
Treehugger Robot
64f6fa6fb9 Merge "Introduce uses-native-library tag" am: e6c21e2ea8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372059

Change-Id: I838a1fa0c29c3996859ba5d6683277c5ee17f262
2020-07-24 10:30:14 +00:00
Treehugger Robot
e6c21e2ea8 Merge "Introduce uses-native-library tag" 2020-07-24 10:28:24 +00:00
Treehugger Robot
6a1976bc0e Merge "Add to OWNERS" am: 79411dc6b5 am: f4862f433f am: cdb4a25187
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372061

Change-Id: Iff89498d5d502dd9db936059749c10363abb28cb
2020-07-24 09:04:42 +00:00
Treehugger Robot
cdb4a25187 Merge "Add to OWNERS" am: 79411dc6b5 am: f4862f433f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372061

Change-Id: I1c483b7e0464c05c37a624ae51731629c9336769
2020-07-24 08:51:07 +00:00
Xin Li
4c67764ab8 Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d am: 0a0327668a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Ia49458be2ffcedafd1bda9d1f5c5d1512a11943f
2020-07-24 08:46:06 +00:00
Xin Li
8f75424d27 Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d am: cd85e10058
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Icedef80125545e1b9c54133718763e559b00629d
2020-07-24 08:45:41 +00:00
Treehugger Robot
f4862f433f Merge "Add to OWNERS" am: 79411dc6b5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372061

Change-Id: I046dbfbe21b2f3ef5075f982842eb76d49e9b7ea
2020-07-24 08:39:13 +00:00
Xin Li
0a0327668a Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: I175dd261b683c99056858db52163718d5b4b7e4e
2020-07-24 08:26:19 +00:00
Xin Li
cd85e10058 Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev am: e303dd658d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12203661

Change-Id: Ic9b609b6504a8a6921d39f0955a6eaa93cfd8429
2020-07-24 08:26:18 +00:00
Treehugger Robot
79411dc6b5 Merge "Add to OWNERS" 2020-07-24 08:23:05 +00:00
Xin Li
e303dd658d Merge "Merge stage-aosp-rvc-ts-dev into rvc-dev" into rvc-dev 2020-07-24 08:11:42 +00:00
Jin Seok Park
f4230b96a8 Add to OWNERS
Test: N/A
Change-Id: I13c9d5abf4bd7a0296dae0105cce8463fec11357
2020-07-24 15:59:04 +09:00
Michael Groover
5981a992bb Merge "Keep USB disconnected receiver active when ADB activity in bg" into rvc-d1-dev am: 9e5913cf74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12215433

Change-Id: Ifc4aab18a3be620ebed6badb66f3180013741564
2020-07-24 00:34:24 +00:00
Michael Groover
9e5913cf74 Merge "Keep USB disconnected receiver active when ADB activity in bg" into rvc-d1-dev 2020-07-24 00:18:15 +00:00