David Su
60cf3eebd5
Merge "Backport sendBroadcastAsUserMultiplePermissions to oc-dev" into oc-dev am: d1bcf628bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12724292
Change-Id: Ic35e179d67e2804f71d53489101d1c6efc05f156
2020-10-07 01:03:33 +00:00
David Su
d1bcf628bd
Merge "Backport sendBroadcastAsUserMultiplePermissions to oc-dev" into oc-dev
2020-10-07 00:04:30 +00:00
wilsonshih
f75396d3c6
Make WallpaperMS bind wallpaper component PendingIntent immutable. am: b392903052
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12718696
Change-Id: I657d45a8a9358ae644cb074804242184f306292a
2020-10-06 16:55:56 +00:00
Tyler Gunn
e57c25a451
Backport sendBroadcastAsUserMultiplePermissions to oc-dev
...
Bug: 159373687
Test: Verify Settings still works correctly.
Change-Id: I857ea00cc58a0abbb77960643f361dd6dd9c8b56
Merged-In: I857ea00cc58a0abbb77960643f361dd6dd9c8b56
2020-09-29 03:18:18 +00:00
wilsonshih
b392903052
Make WallpaperMS bind wallpaper component PendingIntent immutable.
...
Require that the PendingIntent be immutable so that a malicious app is
not able to hijack and mutate any of the details.
Fixes: 154915372
Test: build & flash, change wallpaper manually.
Change-Id: I59b48811b26736bf0575769107dd940ca33ccf8d
(cherry picked from commit d4bd69cef0 )
2020-09-28 16:56:57 +00:00
TreeHugger Robot
9d81730088
Merge "Accept repeated locale as an input of LocaleList construction." into oc-dev am: 00ec7767a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12522926
Change-Id: I8e3f0fde0a0a2bbe9027ea00541c41cccbb512ed
2020-09-10 00:20:18 +00:00
TreeHugger Robot
00ec7767a9
Merge "Accept repeated locale as an input of LocaleList construction." into oc-dev
2020-09-10 00:02:01 +00:00
Julia Reynolds
2d7d8c2604
DO NOT MERGE Sanitize more of the notification text fields am: db023fcd73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12512962
Change-Id: I4c847573b6ce8032084eeeee4835bd38be9c6c79
2020-09-09 22:32:12 +00:00
Julia Reynolds
db023fcd73
DO NOT MERGE Sanitize more of the notification text fields
...
Test: manual; monitor SystemUI performance when an app tries to
post a messaging style notification with messages with long text
Bug: 158304295
Bug: 147358092
Merged-In: c953fdf6bc
Change-Id: I0e2ea12fc3351b1a56645b556720ea2306f5422a
(cherry picked from commit c953fdf6bc )
2020-09-08 15:50:36 +00:00
Seigo Nonaka
2cb650f9d0
Accept repeated locale as an input of LocaleList construction.
...
Repeated locale has not been accepted and IllegalArgumentException
is thrown. Instead of throwing exception, dropping repeated locale
instead.
Bug: 152410253
Test: atest LocaleListTest
Change-Id: I80f243678ac3024eaeb0349f770cff897df7f332
2020-09-04 02:14:08 +00:00
Hai Zhang
ea36a0c236
DO NOT MERGE Don't allow non-instant permissions for instant apps. am: a710a30457
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12366889
Change-Id: Iab47aca559ae8c13a26507827aadfc0c8b239d74
2020-08-29 01:09:22 +00:00
Hai Zhang
a710a30457
DO NOT MERGE Don't allow non-instant permissions for instant apps.
...
Bug: 140256621
Test: atest EphemeralTest
Change-Id: Id07342c0347c0b4d2ccb3f58a4af9fda7a20d6ef
2020-08-17 07:40:45 +00:00
Steve Elliott
46387fb17b
Mark implicit PendingIntents as immutable am: 504e7d848d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12296465
Change-Id: Ia61f61355f4c6db4474d25ac50fdd535df67b764
2020-08-05 20:25:52 +00:00
Steve Elliott
504e7d848d
Mark implicit PendingIntents as immutable
...
Bug: 156020795
Test: manual, atest
Change-Id: I72206c7a52b067b77d6542d170a6483713dfeee7
(cherry picked from commit 84e08280d3 )
2020-08-04 20:25:45 +00:00
TreeHugger Robot
ef301aba3e
Merge "Add missing isShellUser check" into oc-dev am: adc8f21ad1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12099340
Change-Id: Ie74d2561c45785dddc65efc46902a368c8a35736
2020-07-31 05:32:49 +00:00
TreeHugger Robot
adc8f21ad1
Merge "Add missing isShellUser check" into oc-dev
2020-07-31 05:24:19 +00:00
Yu-Han Yang
f6a8668ade
Remove unused intent in NiNotification am: ef5279d9f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12173663
Change-Id: I22a6ed181b8fbfc334a41da01d0f68edfbae1706
2020-07-30 21:24:47 +00:00
John Reck
5e2931c656
Add missing isShellUser check
...
Bug: 160390416
Test: verified command still works from shell
Change-Id: I23bb06e00f1623e4f27c02d7eb2c0d273b40771b
(cherry picked from commit 0354261197 )
Merged-In: I23bb06e00f1623e4f27c02d7eb2c0d273b40771b
2020-07-18 00:32:45 +00:00
Yu-Han Yang
ef5279d9f5
Remove unused intent in NiNotification
...
Bug: 154319182
Test: manual
Change-Id: I5958a8fb442cf4506e1824243493f91aea34a7cc
Merged-In: I5958a8fb442cf4506e1824243493f91aea34a7cc
2020-07-17 20:13:31 +00:00
Chris Tate
ee631a72c3
Merge "DO NOT MERGE - Only autoVerify at install for new hosts" into oc-dev am: 1747090bf8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689886
Change-Id: If3b2da4d31d061c3fbf927fce597e12c040f7cfc
2020-06-26 16:36:39 +00:00
Christopher Tate
c41fdb42a4
DO NOT MERGE - Only autoVerify at install for new hosts am: 90b716a442
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689886
Change-Id: I8ff3f48cfd11d3e1a5510a5a93e3f820a84a33b8
2020-06-26 16:36:25 +00:00
Chris Tate
1747090bf8
Merge "DO NOT MERGE - Only autoVerify at install for new hosts" into oc-dev
2020-06-26 16:24:08 +00:00
Winson Chiu
65d650efa4
Merge "DO NOT MERGE: Verify INSTALL_PACKAGES permissions when adding installer package" into oc-dev am: c842acc15a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11384837
Change-Id: I9aa4e553e5b1b1605f4452fe5a4d5801efaec124
2020-06-03 18:49:19 +00:00
Winson
0ce3ba0c26
DO NOT MERGE: Verify INSTALL_PACKAGES permissions when adding installer package am: fc8bfed553
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11384837
Change-Id: I42a87fe06a2634d5fd40119ef46d71a99e147f50
2020-06-03 18:49:15 +00:00
Winson Chiu
c842acc15a
Merge "DO NOT MERGE: Verify INSTALL_PACKAGES permissions when adding installer package" into oc-dev
2020-06-03 18:34:30 +00:00
Wu Ahan
804d42f1ef
Merge "DO NOT MERGE Prevent ImageWallpaper from keeping crashing" into oc-dev am: c34919e166
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700786
Change-Id: I2aa74fd4e158b2f76aed3559c9bb28458fabc7ef
2020-06-03 18:22:22 +00:00
Ahan Wu
7c459fe322
DO NOT MERGE Prevent ImageWallpaper from keeping crashing am: a3bff94e18
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700786
Change-Id: I112e4cbab9cc6c8da12a65c3691aa1dc92bb60d4
2020-06-03 18:22:17 +00:00
Wu Ahan
c34919e166
Merge "DO NOT MERGE Prevent ImageWallpaper from keeping crashing" into oc-dev
2020-06-03 18:08:35 +00:00
Christopher Tate
90b716a442
DO NOT MERGE - Only autoVerify at install for new hosts
...
Re-run app link verification at update time only when the set of hosts
has expanded. Intentionally revoke verify history when an app stops
using autoVerify, as a one-time measure to place it back into the
non-autoverify model for tracking the user's launch preferences. If the
app starts using autoVerify again later, it behaves identically to an
app that has never done so before.
Bug: 151475497
Bug: 146204120
Test: described on master CL
Merged-In: I200d85085ce79842a3ed39377d1f75ec381c8991
Merged-In: Ibaf087946966ad82d60c7b255e3ee75990716b63
Change-Id: Ibaf087946966ad82d60c7b255e3ee75990716b63
2020-06-03 17:48:30 +00:00
Julia Reynolds
53f1a99fa0
Merge "DO NOT MERGE Make intents immutable" into oc-dev am: 1e8240d82f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11635218
Change-Id: Ib1236e0f32527661d59cc2dafd0ebfce259bdc00
2020-06-03 16:13:32 +00:00
Julia Reynolds
51ed0f97df
DO NOT MERGE Make intents immutable am: dba9823ac7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11635218
Change-Id: I6a4caca0386a2c3da9db55be6eb1e66c4e63212c
2020-06-03 16:13:27 +00:00
Julia Reynolds
1e8240d82f
Merge "DO NOT MERGE Make intents immutable" into oc-dev
2020-06-03 16:00:19 +00:00
Ahan Wu
a3bff94e18
DO NOT MERGE Prevent ImageWallpaper from keeping crashing
...
GLUtil.texImage2D may throw exception that indicates bad image format.
We should catch this exception, otherwise, systemui may keep crashing.
Bug: 156087409
Test: Set a 16-bit rgb image as wallpaper
Test: Systemui shouldn't keep crashing
Change-Id: I6c9715c049b7848ecd5559ab76612a98dcd4ee6f
2020-06-03 15:18:52 +00:00
TreeHugger Robot
a9c08f4361
Merge "RESTRICT AUTOMERGE" into oc-dev am: 2688770c06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11375232
Change-Id: I3b54fb6905a9286037db54654e372af6929d9f41
2020-06-03 11:35:07 +00:00
Linus Tufvesson
c2a8913cf0
RESTRICT AUTOMERGE am: 78fe3b0aa2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11375232
Change-Id: I38516ab9216169c555e702947a5448c142648c90
2020-06-03 11:35:02 +00:00
TreeHugger Robot
2688770c06
Merge "RESTRICT AUTOMERGE" into oc-dev
2020-06-03 11:15:08 +00:00
Julia Reynolds
dba9823ac7
DO NOT MERGE Make intents immutable
...
Test: make
Fixes: 154719656
Change-Id: I212ca5f1a48174ed85311b551259da314718f082
(cherry picked from commit 36b3352784 )
2020-06-01 17:54:46 +00:00
Winson
fc8bfed553
DO NOT MERGE: Verify INSTALL_PACKAGES permissions when adding installer package
...
Without this check, any package can set the installer package of
another package whose installer has been removed or was never set.
This provides access to other privileged actions and is undesired.
Bug: 150857253
Test: manual verify with proof of concept in linked bug
Test: atest android.appsecurity.cts.PackageSetInstallerTest
Change-Id: I2159c357911ff39ffd819054b42f96ae86bc98bc
2020-05-21 17:15:11 +00:00
Bryan Ferris
e18fd339be
Merge "[RESTRICT AUTOMERGE] Restrict app transition maximum duration" into oc-dev am: 6255311d39
...
Change-Id: I88c9f8957623fe784010ea7cadc9566fa4496377
2020-05-05 21:05:06 +00:00
lumark
dcc38988ee
[RESTRICT AUTOMERGE] Restrict app transition maximum duration am: 36bcc77337
...
Change-Id: Ia049c055935fdc0ceb0369cf131e7d166e5522f6
2020-05-05 21:04:59 +00:00
Bryan Ferris
6255311d39
Merge "[RESTRICT AUTOMERGE] Restrict app transition maximum duration" into oc-dev
2020-05-05 20:49:41 +00:00
Linus Tufvesson
78fe3b0aa2
RESTRICT AUTOMERGE
...
This change is the union of
I2aaab1903dee54190338f7b6e49888aa51437108 and I58834636e092f992e403342e36b475dc60e8f20ai
Original CL descriptions:
*** I2aaab1903dee54190338f7b6e49888aa51437108
Block TYPE_PRESENTATION windows on default display
... and any other display that isn't considered a public presentation
display, as per Display.isPublicPresentation()
*** I58834636e092f992e403342e36b475dc60e8f20a
Use TYPE_PRIVATE_PRESENTATION for private presentations
Detect if the Presenation is targeting a private virtual display, and if they
are use the windowType TYPE_PRIVATE_PRESENTATION.
***
Bug: 141745510
Test: cts-tradefed run cts -m CtsDisplayTestCases -t android.display.cts.VirtualDisplayTest
Test: Manually verfied that presentations are blocked on main display
Change-Id: I9f1c4b140ab4bc6183151aafc5501e8648fbc3fa
2020-05-05 18:48:20 +01:00
Chris Tate
6da62f7e0e
Merge "Verify all possible hosts that match web nav" into oc-dev am: 0d01b03776
...
Change-Id: I81ea478e735c5c3d571835a99edb1547885d76ab
2020-04-07 17:52:30 +00:00
Chris Tate
0d01b03776
Merge "Verify all possible hosts that match web nav" into oc-dev
2020-04-07 17:40:04 +00:00
Linus Tufvesson
7461be09bd
Merge "RESTRICT AUTOMERGE" into oc-dev am: 55dcec46fb
...
Change-Id: Icc872c5ed01ce4b788fad5e3670748c5a218a02f
2020-04-03 09:44:31 +00:00
Linus Tufvesson
d903a3ef4c
RESTRICT AUTOMERGE am: 59ba151854
...
Change-Id: Ic48f81f9259cb5bb2a3af3befcd5ef9a630c4766
2020-04-03 09:44:26 +00:00
Linus Tufvesson
55dcec46fb
Merge "RESTRICT AUTOMERGE" into oc-dev
2020-04-03 09:27:08 +00:00
TreeHugger Robot
ee56d71633
Merge "RESTRICT AUTOMERGE Prevent accessing companion records from arbitrary uids" into oc-dev am: 2ffbce4ef6
...
Change-Id: I92b41a8a43258a94ab4358a5612a690f2912c0ae
2020-04-01 20:32:13 +00:00
Eugene Susla
68a439a706
RESTRICT AUTOMERGE am: 98f45443e1
...
Change-Id: I3ecb22b2695c3bd60e43fb9b3d2723be179b0178
2020-04-01 20:32:06 +00:00
TreeHugger Robot
2ffbce4ef6
Merge "RESTRICT AUTOMERGE Prevent accessing companion records from arbitrary uids" into oc-dev
2020-04-01 20:08:11 +00:00