TreeHugger Robot
3ff00b522f
Merge "switch TelecomManager List getters to ParceledListSlice" into qt-dev am: 8f07d18092
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19300734
Change-Id: Ibc4990d59b8a9d353c05365b867d12bc798cc171
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 16:42:02 +00:00
TreeHugger Robot
8f07d18092
Merge "switch TelecomManager List getters to ParceledListSlice" into qt-dev
2022-08-10 16:17:49 +00:00
Linus Tufvesson
d6b9cb3584
Merge "DO NOT MERGE - Exclude TYPE_PRIVATE_PRESENTATION app visiblity" into qt-dev am: b6d3c1a021
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19537069
Change-Id: I981c9f3a7cdadf66d6ceab6e86b7ef17a14cd3ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 08:48:24 +00:00
Linus Tufvesson
2b28fb61b6
DO NOT MERGE - Exclude TYPE_PRIVATE_PRESENTATION app visiblity am: c97296e9d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19537069
Change-Id: I51090ef67905c994de084ecc9291e95b1f2cff85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 08:48:08 +00:00
Linus Tufvesson
b6d3c1a021
Merge "DO NOT MERGE - Exclude TYPE_PRIVATE_PRESENTATION app visiblity" into qt-dev
2022-08-10 07:59:57 +00:00
Linus Tufvesson
c97296e9d9
DO NOT MERGE - Exclude TYPE_PRIVATE_PRESENTATION app visiblity
...
These windows can only be placed on private virtual displays, and as
such they should not be considered when deciding if an application has
any visible windows or not.
Bug:205130886
Test:Manually verified that sample from 205130886 no longer allows
background activity launches
Test: atest CtsActivityManagerBackgroundActivityTestCases
Change-Id: I76208722bbb7a407ba1f2dc4305a28226166414d
Merged-In: I76208722bbb7a407ba1f2dc4305a28226166414d
2022-08-08 12:55:24 +02:00
Oli Lan
fb6f84fe35
Merge "Revert "RESTRICT AUTOMERGE Prevent non-admin users from deleting system apps."" into qt-dev am: 82a9fa1667
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19337226
Change-Id: Ie9e4bde2bc2ad7fb63a770e9f56ea731786a09da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 10:38:31 +00:00
Oli Lan
cf5587d2ca
Revert "RESTRICT AUTOMERGE Prevent non-admin users from deleting system apps." am: 49d8f9325a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19337226
Change-Id: I25f5944fcf0d975ab8f202e5701ea28b681544f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 10:38:18 +00:00
Oli Lan
82a9fa1667
Merge "Revert "RESTRICT AUTOMERGE Prevent non-admin users from deleting system apps."" into qt-dev
2022-08-08 10:08:09 +00:00
Aseem Kumar
e0243c7661
DO NOT MERGE am: 3f218c9a5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17595878
Change-Id: Ide4ce7536d9637969b483d05f729e6d8c800b49c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-05 18:33:55 +00:00
Aseem Kumar
3f218c9a5e
DO NOT MERGE
...
Move accountname and typeName length check from Account.java to AccountManagerService.
Bug: 169762606
Test: atest AccountManagerServiceTest
Change-Id: I80fabf3a64c55837db98ff316e7e5420129c001b
2022-08-04 22:21:52 +00:00
Jeff DeCew
518980587b
RESTRICT AUTOMERGE: Fix build breakage from merge conflict.
...
Merging 8ce3c53fcf into qt-qpr1-dev resulted in a merge conflict due to a method being moved between qt-qpr1-dev and rvc-dev, such that the patch backported from rvc-dev didn't match at all. Removing the old method makes this branch match qt-dev and rvc-dev.
Test: will use abtd to validate the build and the resulting logic.
Original changes: Id82d20c9f1f2001400871b5381f52b40fbdf81c5
Original
Bug: 231322873
Breakage
Bug: 241087006
Change-Id: Ic4f8d701d97aa9b6c72875df8c7eab5fd51934e0
2022-08-02 14:05:08 +00:00
Jeff DeCew
7330570922
Merge "Block FullScreenIntent while device is in use if notification has a silencing GroupAlertBehavior." into qt-dev am: b38c650ea9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19346142
Change-Id: If6faade37cf6df1dcd7a1574b341b4fc9f3dabbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-02 12:22:05 +00:00
Jeff DeCew
b38c650ea9
Merge "Block FullScreenIntent while device is in use if notification has a silencing GroupAlertBehavior." into qt-dev
2022-08-02 11:56:41 +00:00
Thomas Stuart
773cddde3d
switch TelecomManager List getters to ParceledListSlice
...
It was shown that given a large phoneAccountHandles that are
over 1 mb, a TransactionTooLarge exception can be silently thrown
causing an empty list to be returned.
In order to prevent this behavior, all Lists that return a
PhoneAccountHandle or PhoneAccount have been switched to
ParceledListSlice.
bug: 236263294
Test: atest android.telecom.cts.PhoneAccountRegistrarTest
#testRegisterPhoneAccountHandleWithFieldOverLimit
Change-Id: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
Merged-In: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
2022-08-01 16:54:58 +00:00
Suprabh Shukla
ee9331c0d3
Stop crashing the system on hitting the alarm limit am: c010da3a46
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19105069
Change-Id: I0fe52c40c5e9d38ea5c4d31dd901c1c03d5f8ccb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-20 04:39:11 +00:00
Suprabh Shukla
c010da3a46
Stop crashing the system on hitting the alarm limit
...
Exempting the system as a runtime restart is not clearly
better than extreme memory and computation pressure that can result from
the originating spam.
Callers in the system should guard against any spammy requests that lead
them to create a lot of alarms.
Test: Builds, boots and existing tests should pass.
atest CtsAlarmManagerTestCases:UidCapTests
atest FrameworksMockingServicesTests:AlarmManagerServiceTest
Bug: 234441463
Change-Id: Id5e94d44ac9ab24870a8213ec7583da0f592a5ff
(cherry picked from commit 3b9f3f4a0f )
Merged-In: Id5e94d44ac9ab24870a8213ec7583da0f592a5ff
2022-07-20 01:48:40 +00:00
Jeff DeCew
8ce3c53fcf
Block FullScreenIntent while device is in use if notification has a silencing GroupAlertBehavior.
...
Bug: 231322873
Test: atest NotificationInterruptStateProviderImplTest
Merged-In: Id82d20c9f1f2001400871b5381f52b40fbdf81c5
Change-Id: Id82d20c9f1f2001400871b5381f52b40fbdf81c5
2022-07-20 01:13:11 +00:00
Julia Reynolds
c1d1396751
DO NOT MERGE Limit the number of concurrently snoozed notifications am: c38cc3e355
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19205944
Change-Id: I7170c031c2aa4ca409eb1965c6ed20085fac7801
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 20:02:16 +00:00
Oli Lan
49d8f9325a
Revert "RESTRICT AUTOMERGE Prevent non-admin users from deleting system apps."
...
This reverts commit a7621e0ce0 .
Reason for revert: Regression, DELETE_SYSTEM_APP flag no longer works
Change-Id: I7386d1ba3d61b95836b85c52214c83b216c478e8
2022-07-19 10:45:22 +00:00
Julia Reynolds
c38cc3e355
DO NOT MERGE Limit the number of concurrently snoozed notifications
...
Test: atest FrameworksUiServicesTests
Bug: 234441463
Change-Id: I005b43979d1c708fd505c8b33ae0c8cb03ddbb35
Merged-In: I005b43979d1c708fd505c8b33ae0c8cb03ddbb35
(cherry picked from commit 7c38394ae9 )
2022-07-08 15:39:10 +00:00
Manjeet Rulhania
ca9d475ba4
Merge "Remove package name from SafetyNet logs" into qt-dev am: 2c12354e77
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19138582
Change-Id: I7a24c7dfcb26195913cb36f1f8bc118844953891
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-06 22:58:18 +00:00
Manjeet Rulhania
2c12354e77
Merge "Remove package name from SafetyNet logs" into qt-dev
2022-07-06 22:32:27 +00:00
TreeHugger Robot
6c68f5019f
Merge "IMMS: Make IMMS PendingIntents immutable" into qt-dev am: 5ccf55eb8a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19119301
Change-Id: I6489df9d2f15ab52752fd26990d6f1dc24dbc0fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-01 18:28:04 +00:00
TreeHugger Robot
5ccf55eb8a
Merge "IMMS: Make IMMS PendingIntents immutable" into qt-dev
2022-07-01 18:13:46 +00:00
Steven Moreland
2b5f7f71c3
Parcel: recycle recycles am: b5c79e141a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19101007
Change-Id: Ibd1008515a0d4bc9b919ef13a563de502c332c12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-01 17:54:27 +00:00
Manjeet Rulhania
50d343c656
Remove package name from SafetyNet logs
...
Bug: 213323615
Test: AppSecurityTests
Change-Id: Ia2be2b1e32dc0b75c352bc15219f4c4de9abb45a
Merged-In: I993832e148636f1795ffe393c6dc74a08b9442f8
Merged-In: I8f823487ca16861a35135cfc3383fa2ce8258017
Merged-In: I4b61d13256ce0bfb8fc9d21db52ee78ce2097f14
2022-06-30 22:33:55 +00:00
Adrian Roos
2b85982616
IMMS: Make IMMS PendingIntents immutable
...
Fixes: 154913391
Test: n/a
Change-Id: I34a95732ef3e7c20d6549b57230c11f0c3db04d6
Merged-In: I34a95732ef3e7c20d6549b57230c11f0c3db04d6
(cherry picked from commit d4b625994f )
(cherry picked from commit 6842f03c9d )
2022-06-29 17:33:52 +00:00
Songchun Fan
78bdbdd22e
Merge changes from topic "revert-16575908-dont_abandon_child_qt_dev-VVMFNIYZZO" into qt-dev am: 63257e0e97
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19092695
Change-Id: I831a7c6e8971d8998bb48326ef890c23dd8a97ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 01:12:56 +00:00
Songchun Fan
269e4e0e32
[automerger skipped] [RESTRICT AUTOMERGE] Revert "Revert "Revert "[pm] remove old stage dirs on low storage""" am: dde06fe41d -s ours
...
am skip reason: skipped by user schfan
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19092695
Change-Id: I3750cf18bd2049c430dcf292cc19db365f3fc26f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 01:12:54 +00:00
Songchun Fan
318cccd37d
Merge "[RESTRICT AUTOMERGE] Revert "Persist destroyed staged sessions until they are cleaned up"" into qt-dev am: 650eb0cc65
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19092213
Change-Id: I7486e3d5668248c54a0ab6160c8112ef154903f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 01:12:42 +00:00
Songchun Fan
9a00a3d2a8
[RESTRICT AUTOMERGE] Revert "Persist destroyed staged sessions until they are cleaned up" am: 07d74c4c28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19092213
Change-Id: If22465789761ee4d6077a84b5d570f4392fedbb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-29 01:12:25 +00:00
Steven Moreland
b5c79e141a
Parcel: recycle recycles
...
Before, it was like getting a used pan with food stuck on it. We run
a clean ship here. You want a Parcel? You get a fresh Parcel. When
we recycle a Parcel, we do a real clean-up job. Air freshener. All
bits brushed over. These Parcel objects are clean as heck now!
(specifically cleans mClassCookies)
Bug: 208279300
Test: build
Merged-In: I250872f5c6796bb64e2dc68008154c0e90feb218
Change-Id: I250872f5c6796bb64e2dc68008154c0e90feb218
(cherry picked from commit 46770fa49c )
2022-06-28 23:11:34 +00:00
Songchun Fan
63257e0e97
Merge changes from topic "revert-16575908-dont_abandon_child_qt_dev-VVMFNIYZZO" into qt-dev
...
* changes:
[RESTRICT AUTOMERGE] Revert "Revert "Revert "[pm] remove old stage dirs on low storage"""
[RESTRICT AUTOMERGE] Revert "Don't abandon child sessions (1/n)"
[RESTRICT AUTOMERGE] Revert "Fix NPE"
2022-06-28 20:37:57 +00:00
Songchun Fan
650eb0cc65
Merge "[RESTRICT AUTOMERGE] Revert "Persist destroyed staged sessions until they are cleaned up"" into qt-dev
2022-06-28 20:37:57 +00:00
Songchun Fan
dde06fe41d
[RESTRICT AUTOMERGE] Revert "Revert "Revert "[pm] remove old stage dirs on low storage"""
...
This reverts commit 3e28df68fa .
Reason for revert: Reverting CVE-2021-39624 on qt-dev
Change-Id: I26c0abd06e2a49e05f45d153c4247f7c0a269897
2022-06-28 16:42:29 +00:00
Songchun Fan
6b86ed8497
[RESTRICT AUTOMERGE] Revert "Don't abandon child sessions (1/n)"
...
Revert submission 16575908-dont_abandon_child_qt_dev
Reason for revert: Reverting CVE-2021-39624 on qt-dev
Reverted Changes:
I4ede6b7a4:Persist destroyed staged sessions until they are c...
Ib0ba9f378:Don't abandon child sessions (1/n)
Change-Id: I7915e3f0ba6dd8430a9b938a518aeeeb4d6b1805
2022-06-28 16:42:17 +00:00
Songchun Fan
07d74c4c28
[RESTRICT AUTOMERGE] Revert "Persist destroyed staged sessions until they are cleaned up"
...
Revert submission 16575908-dont_abandon_child_qt_dev
Reason for revert: Reverting CVE-2021-39624 on qt-dev
Reverted Changes:
I4ede6b7a4:Persist destroyed staged sessions until they are c...
Ib0ba9f378:Don't abandon child sessions (1/n)
Change-Id: I50ab96061b2e0fa016a0fbdb5773ccc5f2397ac6
2022-06-28 16:37:33 +00:00
Songchun Fan
a4945fcf4b
[RESTRICT AUTOMERGE] Revert "Fix NPE"
...
This reverts commit f562aadd77 .
Reason for revert: Reverting CVE-2021-39624 on qt-dev
Change-Id: Ida84f497eb188b4923acbe8acdbe4d47427aa24e
2022-06-28 16:37:14 +00:00
Kenneth Ford
3a2171f668
Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b am: a4924eb85c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703
Change-Id: Ia735cd97a591faa63c344958b41e7c4feb7f2a89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 22:57:41 +00:00
Kenneth Ford
a4924eb85c
Ignore tests in RecoverableKeyStoreManagerTest am: 4220de4d5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18720703
Change-Id: I837accdc0d4f5bada34fe8da18075092dd295801
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-14 22:31:58 +00:00
Makoto Onuki
822fbf618b
Merge "Only allow the system server to connect to sync adapters" into qt-dev am: 99ccb4e5b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18701369
Change-Id: Ie919bc05747a1009507a29de429c3e8d043fed9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-08 19:20:45 +00:00
Makoto Onuki
99ccb4e5b0
Merge "Only allow the system server to connect to sync adapters" into qt-dev
2022-06-08 18:56:23 +00:00
Adrian Roos
c2d5e2cb81
Merge "Restrict getInputMethodWindowVisibleHeight" into qt-dev am: fa1fc20874
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18489968
Change-Id: Ia6115784eb97b7759750acca4f271772f8a59ba8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-08 07:40:15 +00:00
Adrian Roos
fa1fc20874
Merge "Restrict getInputMethodWindowVisibleHeight" into qt-dev
2022-06-08 07:21:26 +00:00
Chiachang Wang
dadbab8ae8
Merge "Stop using invalid URL to prevent unexpected crash" into qt-dev am: 3ac8d1dc2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18715266
Change-Id: Ia7d1ef07c32c791d71c7bd4561641620aaa66de1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-08 01:58:13 +00:00
Chiachang Wang
3ac8d1dc2f
Merge "Stop using invalid URL to prevent unexpected crash" into qt-dev
2022-06-08 01:30:34 +00:00
chiachangwang
6d6f410694
Stop using invalid URL to prevent unexpected crash
...
Verify the input PAC Uri before performing follow-up actions.
Check if the URL is a valid URL to filter some invalid URLs since
these invalid URLs could not fall into any subclass of existing
URLConnections. When the PAC Uri is other invalid URL scheme, it
will cause an UnsupportedOperationException if there is no proper
subclass that implements the openConnection() method.
A malformed URL may crash the system.
Even it's a valid URL, some subclasses(e.g. JarURLConnection)
may not have openConnection() implemented. It will also hit the
problem, so convert the possbile exception from openConnection()
to re-throw it to IOException which is handled in the existing
code.
Bug: 219498290
Test: atest FrameworksNetTests CtsNetTestCases
Test: Test with malformed URL
Merged-In: I22903414380b62051f514e43b93af992f45740b4
Merged-In: I2abff75ec59a17628ef006aad348c53fadbed076
Change-Id: I4d6cec1da9cf3f70dec0dcf4223254d3da4f30a3
(cherry picked from commit 6390b37a3b )
2022-06-06 02:03:41 +00:00
Raphael Kim
c1b4cacc66
Remove package title from notification access confirmation intent am: 51d47ec7c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18670434
Change-Id: I4fb8082b1f94c628417c41fd6bd6d1fd4906a12e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-05 02:14:42 +00:00
Kenneth Ford
4220de4d5b
Ignore tests in RecoverableKeyStoreManagerTest
...
Ignores unit tests that were causing a Droidmonitor breakage.
Bug: 231667368
Test: N/A
Change-Id: I719312475264e8099edb607a941468c1c5ecb1a5
(cherry picked from commit 8721d110fd )
2022-06-02 22:21:05 +00:00