Treehugger Robot
bc93881957
Merge "Replace 'whitelist' with 'allowlist'" am: 8ac6819c0e am: 3563eeb4ae am: 1d3e694b97 am: e022945d69
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427048
Change-Id: I5725049a13c30e122e1f8b5e4e772b7431a4e32d
2020-09-14 22:44:28 +00:00
Treehugger Robot
1d3e694b97
Merge "Replace 'whitelist' with 'allowlist'" am: 8ac6819c0e am: 3563eeb4ae
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427048
Change-Id: I70eb21c1ea9411974a1c07f6aaaf611760110c34
2020-09-14 21:27:14 +00:00
Julia Reynolds
71c18d2afc
Replace 'whitelist' with 'allowlist'
...
Change-Id: If7422064e59e6c055c9dae092ead298b81cf41e8
Test: atest
Bug: 161889253
Merged-In: I94a43c1c995052b034d8a5377786e1a15e4c9c59
2020-09-14 18:29:23 +00:00
TreeHugger Robot
ae95e2a448
Merge "Sanitize more of the notification text fields" into rvc-dev am: ceb7aefd6f am: 1ed53ed94e am: 089f82deb6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12512483
Change-Id: I42bada5cf24216465486fe8b4a3c97c5f6c2edae
2020-09-10 00:54:48 +00:00
TreeHugger Robot
1ed53ed94e
Merge "Sanitize more of the notification text fields" into rvc-dev am: ceb7aefd6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12512483
Change-Id: Ief6065688eb49cd0d795dbd892ea9bfa76290f2b
2020-09-10 00:20:15 +00:00
TreeHugger Robot
ceb7aefd6f
Merge "Sanitize more of the notification text fields" into rvc-dev
2020-09-09 23:55:10 +00:00
TreeHugger Robot
c0f911ce35
Merge "Require permission to create trusted displays" into rvc-dev am: 2c0137794d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12287404
Change-Id: Ifeaf09fda00fe2622ead045dc4f6f93c5129e5fc
2020-09-04 10:40:39 +00:00
TreeHugger Robot
3df1e7787a
Merge "Require permission to create trusted displays" into rvc-qpr-dev am: c2b395c713
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12400348
Change-Id: If006d013954518b763cc010fe50a54b97d29eb3e
2020-09-04 10:33:12 +00:00
Julia Reynolds
a19f9ed2b1
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-03 19:42:23 +00:00
Xin Li
c8c8e8e8be
Merge RP1A.200720.011
...
Bug: 167588565
Merged-In: Iec7a26ecd68aca9c7a38cc8f441197a8237b0c8c
Change-Id: Ia8f5f008bc1f77115b644ab996aedc892fab68e7
2020-09-02 12:34:37 -07:00
Andrii Kulian
ef7b1333f0
Require permission to create trusted displays
...
Bug: 162627132
Test: atest VirtualDisplayTest#testTrustedVirtualDisplay
Test: atest
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles
Test: atest DisplayTest
Test: atest VirtualDisplayTest#testTrustedVirtualDisplay
Test: atest VirtualDisplayTest#testUntrustedSysDecorVirtualDisplay
Test: adb logcat -b events
Change-Id: Id06b2013ef5fdeadf321f14f8b611c733031d54d
Merged-In: Id06b2013ef5fdeadf321f14f8b611c733031d54d
2020-09-01 05:24:41 +00:00
Andrii Kulian
f21c885ca7
Require permission to create trusted displays
...
Bug: 162627132
Test: atest VirtualDisplayTest#testTrustedVirtualDisplay
Test: atest
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles
Test: atest DisplayTest
Test: atest VirtualDisplayTest#testTrustedVirtualDisplay
Test: atest VirtualDisplayTest#testUntrustedSysDecorVirtualDisplay
Test: adb logcat -b events
Change-Id: Id06b2013ef5fdeadf321f14f8b611c733031d54d
Merged-In: Id06b2013ef5fdeadf321f14f8b611c733031d54d
2020-09-01 13:22:29 +08:00
Xin Li
628590d7ec
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27
Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-31 21:21:38 -07:00
Marco Ballesio
bf61b8c858
Merge changes from topic "cgroup v2 freezer frameworks" into rvc-qpr-dev am: 7176835583
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12392113
Change-Id: I2f87b8c3fb60848bf8e9266116ddccbf0eb68f30
2020-08-28 18:16:01 +00:00
Marco Ballesio
7176835583
Merge changes from topic "cgroup v2 freezer frameworks" into rvc-qpr-dev
...
* changes:
freezer: reentrant enable/disable method
freezer: switch to cgroup v2 freezer
2020-08-28 17:49:06 +00:00
Marco Ballesio
12f3e8d6d4
freezer: reentrant enable/disable method
...
the app freezer state can be toggled in multiple situations when a
debugging tool like heapdump is invoked, or when system_server dumps its
binder connections. All these uses are potentially concurrent and a
robust method to handle reentrancy is necessary to avoid leaving the
freezer in a state incompatible with a specific operation.
This patch moves freezer enable and disable operations from Process to
CachedAppOptimizer (ActivityManager), introduces a new ActivityManager API
to centralize all freezer state changes to ActivityManager and modifies
client code accordingly.
Bug: 151225245
Test: manually verified that no regression are introduced on freezer
behavior, verified that concurrent behavior is handled properly
Change-Id: I7d588cc6e0499012dce64ed4e42ff2adb336062d
Merged-In: I7d588cc6e0499012dce64ed4e42ff2adb336062d
2020-08-27 16:05:57 -07:00
Charles Chen
9959c3349f
[RESTRICT AUTOMERGE] Make a context dervied from an UI context as an UI context am: b2444cbef5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12432005
Change-Id: Ie5a1f6808654d80fb54bed9665c1c95c4a0245d4
2020-08-27 17:11:45 +00:00
Charles Chen
b699ff316b
Merge "[RESTRICT AUTOMERGE] Make a context dervied from an UI context as an UI context" into rvc-qpr-dev
2020-08-27 16:53:29 +00:00
Charles Chen
117b9ab1d8
Merge "Respect UI Context for getDisplay" into rvc-qpr-dev am: c5ba62307c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12313930
Change-Id: I7d9bfc3f9e1854a3d86a26f905125c71fd9e854c
2020-08-27 03:05:15 +00:00
Charles Chen
c5ba62307c
Merge "Respect UI Context for getDisplay" into rvc-qpr-dev
2020-08-27 02:52:05 +00:00
Hongwei Wang
9f7f6506c9
[DO NOT MERGE] Sync app requested orientation on PiP exit am: a2673cdfd4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12464246
Change-Id: I1d4a9a4d24d781107e86d4400f2e55cdcb113579
2020-08-27 01:43:58 +00:00
Hongwei Wang
02c5ea670f
Merge "[DO NOT MERGE] Sync app requested orientation on PiP exit" into rvc-qpr-dev
2020-08-27 01:29:35 +00:00
Hongwei Wang
a2673cdfd4
[DO NOT MERGE] Sync app requested orientation on PiP exit
...
When exiting PiP to fullscreen, SysUI compares the initial rotation
with the screen rotation and skips the animation if they are different,
with the intention that the app should get back to its state prior to PiP.
This generally works well except that app may request
setRequestedOrientation after entering PiP and the initial rotation
SysUI gets in onTaskAppeared would be obsoleted.
This is fixed in this CL by
- Adding a requestedOrientation field in TaskInfo to pass this
information to SysUI, in both onTaskAppeared and onTaskInfoChanged
callbacks
- Sync with the requested orientation as well as display rotation on PiP
exit. Moves also the information we need into PipWindowConfigurationCompact
Video: http://rcll/aaaaaabFQoRHlzixHdtY/gOPXfx5KO9krmzeor49DgG
Bug: 163218295
Test: See video
Change-Id: Idd0b9412dfdfd6fd293a800cded7c7a6b94cafde
2020-08-26 16:06:31 -07:00
Hongwei Wang
23b4bd372f
Remove entry from mLastReportedWindowingMode on destroy am: 5460282793
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12462024
Change-Id: I585dca4ebcd69ad4c31d350eb43045981baa56dd
2020-08-26 18:53:08 +00:00
Hongwei Wang
5460282793
Remove entry from mLastReportedWindowingMode on destroy
...
Bug: 166456665
Test: atest ActivityLifecyclePipTests \
ActivityLifecycleSplitScreenTests \
ActivityLifecycleTopResumedStateTests \
PinnedStackTests\
SplitScreenTests \
ActivityLifecycleKeyguardTests
Change-Id: If2cf664bdb62ac3082c02d2c6c1ad74b10761f62
2020-08-26 09:52:46 -07:00
Charles Chen
b2444cbef5
[RESTRICT AUTOMERGE] Make a context dervied from an UI context as an UI context
...
fixes: 165833103
Test: atest StrictModeTest ContextAccessTest
Test: atest InputMethodServiceTest InputMethodServiceStrictModeTest
Merged-In: Ia97e1a0cc290be516d2618148600238b3273c54c
Change-Id: Ia97e1a0cc290be516d2618148600238b3273c54c
2020-08-26 11:47:08 +08:00
Narayan Kamath
6987690464
Merge "AppOpsManager: Add OP_RECORD_AUDIO_HOTWORD" into rvc-qpr-dev am: 046d6480cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12434705
Change-Id: Ib81552912e1013bfc5b344ca94b51d29c3fe6d01
2020-08-25 10:12:53 +00:00
Narayan Kamath
046d6480cc
Merge "AppOpsManager: Add OP_RECORD_AUDIO_HOTWORD" into rvc-qpr-dev
2020-08-25 09:24:11 +00:00
TreeHugger Robot
e548482d8d
Merge "fix app prediction service doesn't clean-up properly." into rvc-qpr-dev am: 4cb7d8c878
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12221409
Change-Id: I880aa857e53bc499837b8cb2c1eeff84137a55be
2020-08-24 18:57:50 +00:00
TreeHugger Robot
4cb7d8c878
Merge "fix app prediction service doesn't clean-up properly." into rvc-qpr-dev
2020-08-24 18:27:26 +00:00
Narayan Kamath
68b3c98e14
AppOpsManager: Add OP_RECORD_AUDIO_HOTWORD
...
Bug: 162547999
Test: make
Change-Id: I1d072d93cb2e2b021b58d37d9340f8298acffa1b
2020-08-24 17:17:52 +01:00
Charles Chen
a4f73d7f1f
Respect UI Context for getDisplay
...
Before InputMethodService initializes, InputMethodService#getDisplay
will throw UnsupportedOperationException because it doesn't attach to
any display. However, it may make developers confuse about why
throwing exception for an UI context. This CL workarounds to also
check isUiContext flags to make the result of IMS#getDisplay consistent.
It should be considered to remove after IMS migrate to WindowContext
concept.
fixes: 161964893
Test: atest InputMethodServiceTest#testGetDisplayBeforeInitialization
Change-Id: Ie0bda707f0196b45a8851f645da7ecab6814bed6
2020-08-24 14:45:02 +08:00
Philip P. Moltmann
67cfa22571
Add app-ops for camera/mic use during phone call am: 732608a6be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12396940
Change-Id: If8cbb6d6535dc1858e475d59ad282b89560c7de7
2020-08-20 19:50:24 +00:00
Philip P. Moltmann
732608a6be
Add app-ops for camera/mic use during phone call
...
Test: Started a phone call, verified app-op was active
Bug: 162547999
Change-Id: I93bf59d24e3cfbeaede442571f09ba97f0990c75
2020-08-19 20:17:29 -07:00
Kweku Adams
769c4f6830
Merge "Allow package verifier to hide specific fgs notifications." into rvc-qpr-dev am: 1706f9c22f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12378562
Change-Id: I49a977a18f40504b7bea8e0280d975cccb18c897
2020-08-19 17:25:05 +00:00
Kweku Adams
1706f9c22f
Merge "Allow package verifier to hide specific fgs notifications." into rvc-qpr-dev
2020-08-19 17:14:33 +00:00
Kweku Adams
e49aa726f0
Allow package verifier to hide specific fgs notifications.
...
The package verifier performs some system critical work that the user
doesn't need to be explicitly aware of. This adds a mechanism for the
verifier to indicate which foreground service notifications should be
hidden, if possible.
Bug: 164440539
Test: use test app to confirm requested fgs notifications are hidden
Change-Id: Ib3eb0b71cc676c145557ade9def98a363e5abebb
2020-08-18 10:32:58 -07:00
Julia Reynolds
d3dc8e79cf
Merge "Remove app ops indicators from notifications" into rvc-qpr-dev am: 2659836775
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12361488
Change-Id: I70c1dd2665b51c442484577f0077ad4bebc0577d
2020-08-14 17:43:43 +00:00
Julia Reynolds
2778b62f1d
Remove app ops indicators from notifications
...
Test: atest
Bug: 163076432
Change-Id: I5b7514f765811ffd3b0aca63d0108591755974ab
Merged-In: I5b7514f765811ffd3b0aca63d0108591755974ab
2020-08-14 15:02:02 +00:00
Steven Moreland
17094702af
Merge "ApplicationLoaders: improve classloader cache errs" am: 6bfe7f9a26 am: bf9f6b4f3b am: 96894457f7 am: dda9aa4f65
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399628
Change-Id: Ib3d2e32ba6c0130fa07475c9c25c1a63b76d9ce7
2020-08-13 23:04:24 +00:00
Steven Moreland
96894457f7
Merge "ApplicationLoaders: improve classloader cache errs" am: 6bfe7f9a26 am: bf9f6b4f3b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399628
Change-Id: Ie9c4dafb0ac9ad965dd51b9b789d2d41a7606a5d
2020-08-13 22:28:19 +00:00
Steven Moreland
1997524011
ApplicationLoaders: improve classloader cache errs
...
When zygote preloads a classloader, but at runtime, a different one is
used, we get an error and fallback. This error is improved in the
following ways:
- print the zip name with the shared libraries, so we know which library
the error is for
- distinguish cached from runtime dependencies in the error message
itself
Bug: 163886868
Test: N/A
Change-Id: I3f4c4078e9eb05b83058982afc7b7ea0822d1257
2020-08-13 17:07:34 +00:00
Xin Li
da7d27b21e
Merge QQ3A.200805.001
...
Bug: 162879794
Merged-In: I6e0bdc8c02bab54f6278096b3a3acadd97c064c6
Change-Id: Idbcffbd09045575e92297fd6e0071a56a4e3cbae
2020-08-05 17:40:02 +00:00
Alan Stokes
7532bf45af
Merge "Don't include inaccessible data dirs in library paths." into rvc-qpr-dev am: 56dc3f4122
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12248782
Change-Id: Ifa14d8729ce4b0a34fd8cf3657c19e405fa0a5be
2020-08-04 08:21:34 +00:00
Treehugger Robot
7eea9803a0
Merge "Update language to comply with Android’s inclusive language guidance." am: 262d80ba06 am: 844fc0e52a am: a42c8fc0c1 am: a3b73fba11
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1383078
Change-Id: Idaec3eb44b854a86cae20f7c955acc0e2698800e
2020-07-31 23:09:44 +00:00
Treehugger Robot
a42c8fc0c1
Merge "Update language to comply with Android’s inclusive language guidance." am: 262d80ba06 am: 844fc0e52a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1383078
Change-Id: Ic41fd85340530e59a02ce080bd3487e2a876a69e
2020-07-31 22:19:09 +00:00
Michael Wachenschwanz
a57c974945
Update language to comply with Android’s inclusive language guidance.
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: I6aac06e56507bb6ce69afd9b3db92be6b03a1400
Test: n/a
2020-07-31 18:54:02 +00:00
Treehugger Robot
4b52d50329
Merge "Update language to comply with Android's inclusive language guidance" am: 98973ea706 am: 9d67d59530 am: 724c877357 am: bd8aa1fe3e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1378607
Change-Id: I60dac6b53f4fedacb91962b0b7192ae48858347b
2020-07-31 00:37:49 +00:00
Treehugger Robot
724c877357
Merge "Update language to comply with Android's inclusive language guidance" am: 98973ea706 am: 9d67d59530
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1378607
Change-Id: Ifb4996d7ccbb7e47da1bb1b8246fb5da94626d4c
2020-07-30 17:12:24 +00:00
Nicole Borrelli
dd0406becb
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: I038fbac2bb59e97dc87f082eab98f3838263c909
2020-07-29 22:31:37 +00:00