Commit Graph

628515 Commits

Author SHA1 Message Date
Sudheer Shanka
b455116706 Merge "Allow EJs to obtain new network capability." into sc-dev am: 8632838c50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13526199

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I17dc44c86f41545b859de0afa3f7749e0cfef10e
2021-02-25 14:40:07 +00:00
Alex Buynytskyy
87eea0285e Merge "Additional callback on binder's death." into sc-dev am: 628539a568
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13679454

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I11bdf8b2de99ed94dc24c9778fe4c729da902f0a
2021-02-25 14:39:48 +00:00
Jerry Chang
0093fe51d0 Merge "Prevent NPE when pinning task from split screen" into sc-dev am: aa48846ced
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13681912

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7e26244beb8dd7f42269a5c018f2621403ccde65
2021-02-25 14:39:29 +00:00
Chris Li
ca6428d071 Merge "Add default selectRootForWindow function for target root id" into sc-dev am: 30cb582d47
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13619077

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iba3231225ce9f956ef1d74b751e1e211e379a053
2021-02-25 14:39:12 +00:00
Louis Chang
3dc3185216 Merge "Rename Stack to Task related terms (7/n)" into sc-dev am: 09f52aa440
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13468207

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I52b3df66c6b6dd517f35fd34ac877264a272c47d
2021-02-25 14:38:13 +00:00
Felipe Leme
4a33ea255a Merge "Fixed notifyUnsafeOperationStateChanged." into sc-dev am: 5fec993b75
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13690526

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I33bbe5e7c60f72bb4cbd514d3629ed7ec0ad7fda
2021-02-25 14:37:49 +00:00
Charles Chen
ff2cf5155c Merge "Unhide isUiContext()" into sc-dev am: f225921153
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13636799

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2569a3d0e1465853b637d4ecc16200d9afc8eb19
2021-02-25 14:37:14 +00:00
Greg Kaiser
09db31dc9c Merge "Log debug info at Debug level" into sc-dev am: 0dae8f7014
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13683484

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I84ed8ca122ba46d89be4e4ad981b0be91e329a6f
2021-02-25 14:36:54 +00:00
Minche Li
59115a3eb4 Merge "Corrects the icons of magnification switch" into sc-dev am: aa88510bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13681908

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia9ba2b6acba2e288b00d3f28ac1110c65a685457
2021-02-25 14:36:35 +00:00
Chris Ye
13e3701213 Merge "Add onDeviceSetReport to HID command tool" into sc-dev am: e43039e0dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13669696

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife0a54ac29226a30b326d9d49d2f05b0c33d5f25
2021-02-25 14:36:11 +00:00
Jason Chang
c4c8ffc938 Merge "Fix the wallpaper app cannot display into full screen when in one-handed mode" into sc-dev am: b33721641e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13416446

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I62f4a5272993b38a62dee26da5e76863ec31b763
2021-02-25 14:35:54 +00:00
Alex Buynytskyy
99afc66507 Merge "API feedback: getVersion instead of isV2." into sc-dev am: 02492968c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676256

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iedc9f7ed0ccd583c462ddb740e38fefed11db9af
2021-02-25 14:35:37 +00:00
Chris Li
069d96e777 Merge "DisplayContent rotateBounds not keeping same physical position for 180" into sc-dev am: 7ff46d7137
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13620025

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If699ff02c6a3f5f082b854f0d1f450b11b63dd1a
2021-02-25 14:35:21 +00:00
Alexander Dorokhine
612f4f9321 Merge "Update framework from jetpack." into sc-dev am: b97100acaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13690133

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic92f2b97b2c5ce131d846c401f48009c37edc270
2021-02-25 14:34:54 +00:00
Jerry Chang
0053333452 Merge "Make stage split divider non-interactive while showing IME" into sc-dev am: 3ea9673b74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13628027

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5de932925852f27bd19895612f498b1b52fab8a3
2021-02-25 14:34:35 +00:00
Adam Bookatz
32768fd60d Merge "BatteryStats custom buckets: don't revive dead Uids" into sc-dev am: 0b905b1ef4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13679511

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2a8954b852f26216bab3bdb21ab44d4e3168c5d4
2021-02-25 14:34:16 +00:00
Daichi Hirono
c23d483015 Merge "Change deleteRootTasks so that it returns false instead of exception" into sc-dev am: 4423456dd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13674568

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8d7a912146ae1d6aaedbaa5001cdf4a344f4641a
2021-02-25 14:33:43 +00:00
Rajeev Kumar
0fb77424d8 Merge "Add API to set device owner type for a managed device" into sc-dev am: b21d30888b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13524654

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I16ff2d3df0e59ba536b1538c24e7e99c3d07737a
2021-02-25 14:33:23 +00:00
Ruslan Tkhakokhov
498bb8813b Merge "Get OperationType from transport" into sc-dev am: 04501d566e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13641708

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5ed46d43d6bbc7109e89c465ca9428234365e692
2021-02-25 14:33:00 +00:00
Ruslan Tkhakokhov
116daef202 Add a feature flag to control new opt out behaviour am: 6e1b079c9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13629327

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I09298a4e4faf36329a50f18a9f30a7c86db1ab5a
2021-02-25 14:32:56 +00:00
Ruslan Tkhakokhov
3c81d288d6 Merge "Parse include / exclude config specified by dataExtractionRules" into sc-dev am: c3bf79a2cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13606568

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I08b53d417d5211696f1fabfa8c85770259f68063
2021-02-25 14:32:43 +00:00
Ruslan Tkhakokhov
f4f5414433 Merge "Introduce 'dataExtractionRules' manifest attribute" into sc-dev am: f7bc904f44
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13586918

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib1e399fb8486bad449e231f76de6b105dcb93805
2021-02-25 14:32:37 +00:00
Jeff DeCew
51710795b9 Merge "Fix decorated notification text colors in dark mode" into sc-dev am: 832ea86f1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13690225

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0fde99710ad750b99d138eccecfe1fa6a3b2c38b
2021-02-25 14:31:52 +00:00
Curtis Belmonte
a6c64780ca Merge "Fix string for face auth positional help messages" into sc-dev am: 075cee61d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13677956

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I769cd23a2b8d6d7806d6e896897e2731c4f8b1b0
2021-02-25 14:31:35 +00:00
Eugene Susla
8adbd81a7e Merge "Use Activity Context for CDM ListView Adapter" into sc-dev am: 0bf57f5302
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13677874

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I257fa630efc772b0200750c11b04e11e5f65bc72
2021-02-25 14:31:15 +00:00
Alec Mouri
080ba77331 Merge "JNI wrapper for FpsListener." into sc-dev am: 1a621e8eff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13454789

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec6ec2b3f41a51a9397acd37f0e216c0e01ad9ee
2021-02-25 14:30:32 +00:00
Flavio Fiszman
1f31bc256e Merge "Merge "Simplify onNotificationClear signature" into sc-dev am: 491cbd85c8" 2021-02-25 13:51:47 +00:00
Ryan Lin
1f8a87d8cf Merge "Fix touchexploration multi-finger gesture conflict" 2021-02-25 09:23:13 +00:00
Sudheer Shanka
8632838c50 Merge "Allow EJs to obtain new network capability." into sc-dev 2021-02-25 09:19:15 +00:00
Alex Buynytskyy
628539a568 Merge "Additional callback on binder's death." into sc-dev 2021-02-25 08:42:16 +00:00
Jerry Chang
aa48846ced Merge "Prevent NPE when pinning task from split screen" into sc-dev 2021-02-25 07:19:44 +00:00
Chris Li
30cb582d47 Merge "Add default selectRootForWindow function for target root id" into sc-dev 2021-02-25 06:37:34 +00:00
ryanlwlin
cb49d47bc6 Fix touchexploration multi-finger gesture conflict
WindowMagnificationGestureHandler has higher priority to address
motion events. When the user put two fingers down on the screen,
magnification gesture detector will intercept all motion events.
It ends up the user couldn't perform any multi-finger gestures.

To fix it, we make magnification gesture detection more accurate:
1. swiping gesture sucesses only with one finger.
2. Regarding two-finger gesture, only swipe or stay on the screen
over a duration will be recognized.

Bug: 163016948
Test: manually test: enable Talback and perform 3-finger swipe gesture
      atest com.android.server.accessibility.magnification
Change-Id: I310cf6e3fb2cb2b5b6fbc6a0ba9f0aa1d219b4df
2021-02-25 13:39:00 +08:00
Louis Chang
09f52aa440 Merge "Rename Stack to Task related terms (7/n)" into sc-dev 2021-02-25 04:58:24 +00:00
Louis Chang
7efc57797c Rename Stack to Task related terms (7/n)
- Renaming PinnedStack to PinnedTask
- Renaming DockedStack to DockedTask

Bug: 157876447
Test: presubmit
Change-Id: I51c10564647ed0d46eddc0c51a1ee06eef897e43
2021-02-25 04:57:26 +00:00
Chris Li
6365120378 Add default selectRootForWindow function for target root id
When window has options to specify the target root id, by default it
should be attach to the target root.

Also cleanup some documentation.

Bug: 155441180
Test: atest WmTests:DisplayAreaPolicyBuilderTest
Change-Id: I9cbfc974cd502a6cadd919b169cb9b8f9ce634f7
2021-02-24 20:22:36 -08:00
Felipe Leme
5fec993b75 Merge "Fixed notifyUnsafeOperationStateChanged." into sc-dev 2021-02-25 04:22:30 +00:00
Charles Chen
f225921153 Merge "Unhide isUiContext()" into sc-dev 2021-02-25 04:05:49 +00:00
Greg Kaiser
0dae8f7014 Merge "Log debug info at Debug level" into sc-dev 2021-02-25 03:48:40 +00:00
Alex Buynytskyy
5e357b09c4 Additional callback on binder's death.
Bug: 180970738
Fixes: 180970738
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I1f0ce57a6dd0c3da847c0c858d9243fea7aa2a1f
2021-02-25 03:29:03 +00:00
Minche Li
aa88510bc4 Merge "Corrects the icons of magnification switch" into sc-dev 2021-02-25 03:23:35 +00:00
Peter_Liang
2be49c9be9 Add new floating action menu for Accessibility targets. (1/n)
Goals:
- Trigger actions of accessibility features would be grouped into the floating menu.

Patch action:
1. Use current Accessibility Target functions to get the corresponding data.
2. The position of the floating menu is at the bottom-right corner of the screen initially.
3. Support dark theme.

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest AccessibilityFloatingMenuViewTest
Change-Id: I28e729520d4eb8ecb0bcc41d4de9d1499380e7f5
2021-02-25 11:16:49 +08:00
Chris Ye
e43039e0dd Merge "Add onDeviceSetReport to HID command tool" into sc-dev 2021-02-25 03:04:38 +00:00
Jason Chang
b33721641e Merge "Fix the wallpaper app cannot display into full screen when in one-handed mode" into sc-dev 2021-02-25 02:55:13 +00:00
Alex Buynytskyy
02492968c6 Merge "API feedback: getVersion instead of isV2." into sc-dev 2021-02-25 02:42:52 +00:00
Chris Li
7ff46d7137 Merge "DisplayContent rotateBounds not keeping same physical position for 180" into sc-dev 2021-02-25 02:40:34 +00:00
Alexander Dorokhine
b97100acaa Merge "Update framework from jetpack." into sc-dev 2021-02-25 02:35:57 +00:00
Alex Buynytskyy
414d9ecc26 API feedback: getVersion instead of isV2.
Bug: 181015045
Fixes: 181015045
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I623f73b834759d9a1c599d7c7f3ff585fa75c4aa
2021-02-25 02:06:08 +00:00
Sudheer Shanka
6831749cb4 Allow EJs to obtain new network capability.
- Introduce new oom_adj score to be used for EJs so that they won't
  be killed before normal jobs but before any FGS. Also, add a new
  bind flag to instruct the OomAdjuster about when to use this
  new oom_adj score.
- Unlike other capabilities, any app (regardless of it's proc_state)
  with network capability will be able to transfer it's capability
  to other app by binding to it.

Bug: 177641226
Test: atest ./tests/app/src/android/app/cts/ActivityManagerProcessStateTest.java
Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/MockingOomAdjusterTests.java
Test: atest CtsJobSchedulerTestCases

Change-Id: I888764ff22fba92fe2cccf3d8442ed318a19ad2a
2021-02-24 17:17:55 -08:00
Jerry Chang
3ea9673b74 Merge "Make stage split divider non-interactive while showing IME" into sc-dev 2021-02-25 00:51:14 +00:00