Commit Graph

530366 Commits

Author SHA1 Message Date
Steven Moreland
298d06f292 Merge "Allow module libs to use VINTF AIDL." 2020-07-24 22:54:24 +00:00
Nate Jiang
290ee34d3b Make broadcast protected
Bug: 161932419
Test: atest android.net.wifi
Change-Id: I0cd36cb60129ad67b90f72bd1927f53d65046c4f
2020-07-24 22:49:28 +00:00
TreeHugger Robot
b378163ae7 Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed am: 73a4ff6dd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: I75de7430c8bd23d4f3382fa884169a46a68bc459
2020-07-24 22:25:59 +00:00
Automerger Merge Worker
5b7e7ba7fd Merge "Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3 am: 0b43b7be47" into rvc-d1-dev-plus-aosp 2020-07-24 22:25:55 +00:00
TreeHugger Robot
c2d1a2923e Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3 am: 0b43b7be47
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: I12103a50ec0779322c7f07167e2775695173ad63
2020-07-24 22:25:49 +00:00
TreeHugger Robot
5c8a0bbc4e Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed am: 4f7fa277ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: I681c8ea85626773c3d5cb74807d846a951b743ae
2020-07-24 22:25:38 +00:00
TreeHugger Robot
ad662c89be Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3 am: 474a48a9cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: I0b13c39ab14f17bd6fe44edc62f305d03ce5c3df
2020-07-24 22:25:17 +00:00
TreeHugger Robot
4f7fa277ab Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: I6f82a1ee38717d801c828d4922b89dea5267215f
2020-07-24 22:08:26 +00:00
TreeHugger Robot
73a4ff6dd6 Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: I5b80cc571555d272c33c0f7560709032efa6532c
2020-07-24 22:08:21 +00:00
TreeHugger Robot
474a48a9cf Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: Id48be644b20513c19d2978b25d81f61521f2da15
2020-07-24 22:08:01 +00:00
TreeHugger Robot
0b43b7be47 Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: I4010f19c21bb6185e18dade509c611d03655a36f
2020-07-24 22:07:55 +00:00
TreeHugger Robot
855eb749ed Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev 2020-07-24 21:42:45 +00:00
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