Nicolò Mazzucato
5355b68962
Merge "Add Jank test for unfold transition"
2022-01-14 10:59:12 +00:00
TreeHugger Robot
3804b2c7c8
Merge "Remove broadcast cuj events logic"
2022-01-13 18:49:12 +00:00
Erin Yan
86f682fd2f
Merge "Add weak escrow token APIs"
2022-01-13 18:25:37 +00:00
Miranda Kephart
d07c63b45b
Merge "Add clipboard overlay prototype"
2022-01-13 17:02:25 +00:00
TreeHugger Robot
01d195c67c
Merge "Revert "Revert "Scribe in IMF: startStylusHandwriting & lifecycl...""
2022-01-13 16:54:42 +00:00
Ashwini Oruganti
776b439703
Merge "Revert "Migrate unsafe parcel APIs in framework-minus-apex""
2022-01-12 23:07:08 +00:00
Erin Yan
459f61152e
Add weak escrow token APIs
...
Bug: 206485383
Test: atest LockPatternUtilsTest WeakEscrowTokenTests
Change-Id: I24cdf9af6c8f29db03ef214a1a0f8effad394264
2022-01-12 21:59:10 +00:00
Taran Singh
94324080af
Revert "Revert "Scribe in IMF: startStylusHandwriting & lifecycl..."
...
Revert^2 "CTS for Stylus Handwriting lifecycle"
493b8d7d3b4d43e483c03b155d38057e3eacd3c9
Reason: Fix API signature related issues by making newly introduced
methods in InputMethod.java default
Bug: 213976598
Bug: 203086136
Test: atest StylusHandwritingTest
Test: atest SignatureTest#testSignature
Change-Id: Idfd5d1f84e66e3a19ef384589b4892adb91f8066
2022-01-12 19:23:47 +00:00
Bernardo Rufino
331be9a643
Revert "Migrate unsafe parcel APIs in framework-minus-apex"
...
This reverts commit 90bb3709dc .
Reason for revert: b/214053959
Change-Id: Ic271bab1d3eaf677a5989dda9deb944ee2ad6850
2022-01-12 17:44:44 +00:00
Miranda Kephart
f2df8963ed
Add clipboard overlay prototype
...
Adds a floating window/overlay (similar to screenshots) when
something is copied to the clipboard. Opens Markup or a lightweight
test editing activity (as appropriate) when edit is tapped.
Bug: 195554988
Test: manual (tested copying text/images, and interactions with
screenshots)
Change-Id: I02aff237a1245ed2fed130d5e43112472d320a9c
2022-01-12 11:19:54 -05:00
Taras Antoshchuk
739eaf1cb9
Merge "Revert "Revert "Revert "Revert "Add APIs that allow to exclude r..."" am: bc8f256721 am: 8c3fa67bbd am: 3dafac7b7c am: 0b4f3bd970
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1938732
Change-Id: Ie70c2e45055fbc85d083c94f510e6c223ac8dcf1
2022-01-12 16:15:15 +00:00
Taras Antoshchuk
0b4f3bd970
Merge "Revert "Revert "Revert "Revert "Add APIs that allow to exclude r..."" am: bc8f256721 am: 8c3fa67bbd am: 3dafac7b7c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1938732
Change-Id: Ie87d82fb28e48aa8a7ed7c0dcad669ddffd4097e
2022-01-12 16:14:35 +00:00
Taras Antoshchuk
3dafac7b7c
Merge "Revert "Revert "Revert "Revert "Add APIs that allow to exclude r..."" am: bc8f256721 am: 8c3fa67bbd
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1938732
Change-Id: Ib2087b4e20b7b92c3c26ed9f8edb1c57555ce6e6
2022-01-12 16:03:09 +00:00
Nicolo' Mazzucato
caf468dce4
Add Jank test for unfold transition
...
A new TransitionProgressListener is added to start and stop the jank monitor during the transition. This is a no-op if the jank monitor is disabled.
The reason why it is added in StatusBarWindowController is that InteractionJankMonitor needs an attached to begin, and the status bar should always be present during the animation.
Bug: 213862831
Test: Running test suite in forrest with config in g3
Change-Id: I99dcd4e879b9c2c47611096b29b164881e8714c7
2022-01-12 16:40:00 +01:00
Taras Antoshchuk
bc8f256721
Merge "Revert "Revert "Revert "Revert "Add APIs that allow to exclude r...""
2022-01-12 15:27:30 +00:00
Prabir Pradhan
d785156edf
Merge "PointerLocationView: Make header avoid rounded corners"
2022-01-12 09:47:32 +00:00
Wu Ahan
401c2f3e8c
Remove broadcast cuj events logic
...
Bug: 209662475
Bug: 207653143
Bug: 207466931
Test: build pass
Test: atest android.platform.test.scenario.profile.SysUIJankProfile --
--test-arg
com.android.tradefed.testtype.AndroidJUnitTest:device-listeners:android.device.collectors.UiInteractionFrameInfoListener
--module-arg PlatformScenarioTests:instrumentation-arg:iterations:=5
--module-arg PlatformScenarioTests:instrumentation-arg:drop-cache:=false
--module-arg PlatformScenarioTests:instrumentation-arg:kill-app:=false
Test: atest InteractionJankMonitorTest FrameTrackerTest
Change-Id: I9e50af913f494e5b69b07244616282ba63a7def0
2022-01-12 11:47:36 +08:00
Louis Chang
8ab93641bb
Merge "Allow requesting start-activity-permission-token for an activity"
2022-01-12 01:04:34 +00:00
Frank Li
5c233dfcaa
Merge "[DU03]Remove INetworkStatsService from BatteryStatsImpl"
2022-01-12 00:03:28 +00:00
Bernardo Rufino
c6ebb14b7d
Merge "Migrate unsafer parcel APIs [2]"
2022-01-11 19:20:36 +00:00
lifr
f504f0912f
[DU03]Remove INetworkStatsService from BatteryStatsImpl
...
BatteryStatsImpl is using INetworkStatsService APIs, which
cannot be accessed after moving into the mainline module. So, replace
and remove those hidden API usages.
Bug: 210066922
Test: atest BatteryStatsImplTest WifiPowerCalculatorTest
MobileRadioPowerCalculatorTest
CTS-Coverage-Bug: 213437796
Change-Id: I584897ff8ba303c717a9df3756c9f6778c1cfb10
2022-01-12 00:39:39 +08:00
Josh Wu
9d0c8ce4f3
Revert "Scribe in IMF: startStylusHandwriting & lifecycle 2/N"
...
Revert "CTS for Stylus Handwriting lifecycle"
Revert submission 16281467-stylus-handwriting-lifecycle
Reason for revert: Breaks apisignaturetests
BUGID: b/213976598
Reverted Changes:
I7b066c284:Scribe in IMF: startStylusHandwriting & lifecycle ...
I7d672b150:CTS for Stylus Handwriting lifecycle
Change-Id: Ieec94ea525fdb45cf5316b4a331c2bf9882e1083
2022-01-11 08:35:33 +00:00
Prabir Pradhan
474b704e5d
PointerLocationView: Make header avoid rounded corners
...
Fixes: 201281153
Test: manual: check that the pointer location header is shown below the
rounded corner cutouts
Change-Id: I6f140e018d37927283b63c4e7082bd9cfac0f0a6
2022-01-10 19:56:20 +00:00
Taran Singh
44dc2805b5
Scribe in IMF: startStylusHandwriting & lifecycle 2/N
...
Introduce InputMethodManager.startStylusHandwriting(View) API
and IME lifecycle.
Bug: 203086136
Test: atest StylusHandwritingTest
Change-Id: I7b066c2841b713e7a00ae2ea4ca0ce04aad751c6
2022-01-10 19:09:55 +00:00
Artur Satayev
c89ed260a2
Add PACKAGE_MANAGER_OWNERS as owners of SystemConfig.java
...
Merged-In: Iabd1ee367d8234425c5770455a20a413cc37c6a7
Change-Id: Iabd1ee367d8234425c5770455a20a413cc37c6a7
2022-01-10 18:23:21 +00:00
Taras Antoshchuk
fe5a57e8c4
Revert "Revert "Revert "Revert "Add APIs that allow to exclude r..."
...
Revert "Revert "Revert "Revert "Add VpnServiceBuilderShim for Vp..."
Revert submission 1941195-revert-1931760-reland-vpn-impl-part-2-WGARECSJEM
Reason for revert: fixed merge conflict with aosp/1938197
Reverted Changes:
Ic25e5e4ea:Revert^2 "Revert "Add CTS tests for exclude VPN ro...
Ic72cafcf5:Revert "Revert "Revert "Add APIs that allow to exc...
I53802190a:Revert "Revert "Revert "Add VpnServiceBuilderShim ...
Change-Id: Id3e5f698cf8965fa8386a98bed1fd0170a9e0344
2022-01-10 10:20:29 +00:00
Winson Chung
bf91dc843c
Merge "Notify sysui of side swipe gestures that will show the bars transiently" into sc-v2-dev am: f80552b605 am: c80ff17275
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16422448
Change-Id: Idd7e52ee5506e6dd1b955fc7824396a114f4a987
2022-01-07 22:08:33 +00:00
Winson Chung
c80ff17275
Merge "Notify sysui of side swipe gestures that will show the bars transiently" into sc-v2-dev am: f80552b605
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16422448
Change-Id: Ic9b733c5273d1fe566da756584f499cfe34f5839
2022-01-07 21:45:30 +00:00
Matt Buckley
2952c72239
Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" am: f7a327e8d5 am: 086cbfd1bf am: 366582cbae am: c83c35b7fd
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1941194
Change-Id: Ie4bdc7876ab2bc61aff66d1b3c8a72748b3117ad
2022-01-07 18:58:22 +00:00
Matt Buckley
c83c35b7fd
Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" am: f7a327e8d5 am: 086cbfd1bf am: 366582cbae
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1941194
Change-Id: I9cae0caca7360861d59be3daf5f8406c8598da2d
2022-01-07 18:35:23 +00:00
Matt Buckley
366582cbae
Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" am: f7a327e8d5 am: 086cbfd1bf
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1941194
Change-Id: Ia3dc04920b8941a9528547cf608099195bd948bf
2022-01-07 18:17:35 +00:00
Matt Buckley
086cbfd1bf
Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."" am: f7a327e8d5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1941194
Change-Id: Ifacb9e5cd98ddd1e5acd4757b9474c89fb1de3fc
2022-01-07 17:50:51 +00:00
Matt Buckley
f7a327e8d5
Merge "Revert "Revert "Revert "Add APIs that allow to exclude routes fr...""
2022-01-07 17:48:45 +00:00
Matt Buckley
7153b105e7
Revert "Revert "Revert "Add APIs that allow to exclude routes fr..."
...
Revert "Revert "Revert "Add VpnServiceBuilderShim for VpnService..."
Revert submission 1931760-reland-vpn-impl-part-2
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=test_suites_x86_64&lkgb=8053795&lkbb=8053908&fkbb=8053828 , bug b/213588956.
BUG: b/213588956
Reverted Changes:
Ic8ed8fce7:Revert "Revert "Add CTS tests for exclude VPN rout...
I07104340a:Revert "Revert "Add VpnServiceBuilderShim for VpnS...
I7c69b7244:Revert "Revert "Add APIs that allow to exclude rou...
Change-Id: Ic72cafcf5c7e2c62236f1cef61b0764882bacaad
2022-01-07 17:44:52 +00:00
Taras Antoshchuk
ddb46412b6
Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" am: f4177e94ee am: 464eb8bc19 am: accf4c69a5 am: c159f90aa8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931085
Change-Id: I5336589d5ddee73e626c6924d48b9b9cfb126a44
2022-01-07 17:21:35 +00:00
Taras Antoshchuk
c159f90aa8
Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" am: f4177e94ee am: 464eb8bc19 am: accf4c69a5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931085
Change-Id: I8e7f48702c2fca7af6279d4cc3f67f724ed2f758
2022-01-07 17:20:29 +00:00
Taras Antoshchuk
accf4c69a5
Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" am: f4177e94ee am: 464eb8bc19
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931085
Change-Id: Iffa989b5fe71ba259e1d4221ae203b746ad7ddd1
2022-01-07 17:05:54 +00:00
Taras Antoshchuk
464eb8bc19
Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN""" am: f4177e94ee
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931085
Change-Id: Ic6b7dd2cd547b29e1407601d508f8256bfc878cb
2022-01-07 16:44:00 +00:00
Treehugger Robot
c7a180802f
Merge "[MS22] Move NetworkManagementSocketTagger into the module" am: 81589202e5 am: bc8cdbeecb am: cb6617a563 am: 3fe0c62490
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933091
Change-Id: I62d56fadd938f9f0e260f0ed7c7d90554f5bfd12
2022-01-07 16:30:27 +00:00
Taras Antoshchuk
f4177e94ee
Merge "Revert "Revert "Add APIs that allow to exclude routes from VPN"""
2022-01-07 16:27:12 +00:00
Treehugger Robot
3fe0c62490
Merge "[MS22] Move NetworkManagementSocketTagger into the module" am: 81589202e5 am: bc8cdbeecb am: cb6617a563
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933091
Change-Id: I24ef55a8dc58e5917109c3993b02ddfe147e1064
2022-01-07 16:15:23 +00:00
Treehugger Robot
cb6617a563
Merge "[MS22] Move NetworkManagementSocketTagger into the module" am: 81589202e5 am: bc8cdbeecb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933091
Change-Id: I561e94026c5ab362638a1e1e387ca9e02afdeb13
2022-01-07 15:53:51 +00:00
Miranda Kephart
ed5207f4b5
Merge "Add RECEIVER_EXPORTED flags to screenshots"
2022-01-07 15:17:17 +00:00
TreeHugger Robot
d31bba2d5c
Merge "Add PACKAGE_MANAGER_OWNERS as owners of SystemConfig.java" into stage-aosp-master am: 105f98c38c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16576463
Change-Id: I2539ffd6d175a1cda9100055f37a4b92184c6a83
2022-01-07 14:05:53 +00:00
Treehugger Robot
bc8cdbeecb
Merge "[MS22] Move NetworkManagementSocketTagger into the module" am: 81589202e5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933091
Change-Id: Ie15d4d9d2e8239f89d0561dd22863726d732ab3c
2022-01-07 12:30:46 +00:00
TreeHugger Robot
105f98c38c
Merge "Add PACKAGE_MANAGER_OWNERS as owners of SystemConfig.java" into stage-aosp-master
2022-01-07 12:00:48 +00:00
TreeHugger Robot
74b8b789e8
Merge "Add PACKAGE_MANAGER_OWNERS as owners of SystemConfig.java"
2022-01-07 11:31:37 +00:00
Junyu Lai
b7d0199763
[MS22] Move NetworkManagementSocketTagger into the module
...
This is heavily used by TrafficStats, and no other modules
are using it. Hence it should be moved to the module as well.
Test: TH
Bug: 204830222
Change-Id: I7ea1ccb916e796c786c29d53e4ecf3970a8af6dd
2022-01-07 09:57:15 +00:00
Bill Lin
88f11a9f48
Merge "2/ Instrument jank of One-handed mode trigger and exit transition"
2022-01-07 01:14:30 +00:00
Bernardo Rufino
74ee11c3f4
Migrate unsafer parcel APIs [2]
...
Manually migrate the few cases of:
* readArray()
* readParcelableArray()
To the new parcel APIs that take the expected type as the last
parameter. This enhances security because it prevents unexpected types
*before* running unparcelling code. More details at go/safer-parcel.
Owners, please check that the type of the objects expected is always a
subtype of the type provided as the 3rd parameter. This is usually easy
to verify due to casts that happen shortly after.
These changes often allowed further transformations but I decided to
avoid them to keep this change small and targeted.
This was manual since it's tricky to get lint to infer the type in
those cases and it was only a few.
Bug: 195622897
Test: TH passes
Change-Id: I262ed7cd6d3bc15b32e9296e88a8a67fdb59e880
2022-01-06 18:35:31 +00:00