Commit Graph

640958 Commits

Author SHA1 Message Date
Treehugger Robot
8215d0e109 [automerger skipped] Merge "Rename getAllNetworkStateSnapshot which should be pluralized" am: d1473b36d6 am: 4ed0a5060a am: 97a9cfb605 -s ours
am skip reason: Merged-In Ic18d17d05984fa2466c962c7843c0ef7183ce77c with SHA-1 402b1fd272 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684034

Change-Id: Ica9ed0e1d93f46da1d012e2e5a6c9ade0863a9fc
2021-04-29 05:45:59 +00:00
Benedict Wong
795d43d31d Merge "Update set|getRetryIntervalsMs to Millis" am: c6fe30068d am: 058149884f am: 33d2807b02
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688783

Change-Id: Ica36f177bcb4a1d6625a0bf14288f6acd3ea4224
2021-04-29 05:44:56 +00:00
Kyunglyul Hyun
b82f38cf3e Merge "Clean up Session2Record in MCS" into sc-dev 2021-04-29 05:37:00 +00:00
Tianjie Xu
38762c75d1 Merge changes Ia43ab0ab,I0c4b91aa am: 474d549f7c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690266

Change-Id: Iaf1b2b66a8e396d7e0670ef6967347f6878c14ee
2021-04-29 05:35:46 +00:00
Treehugger Robot
97a9cfb605 Merge "Rename getAllNetworkStateSnapshot which should be pluralized" am: d1473b36d6 am: 4ed0a5060a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684034

Change-Id: I0fa34d7cddaede25898d262196804bdd327caf8e
2021-04-29 05:28:28 +00:00
Benedict Wong
33d2807b02 Merge "Update set|getRetryIntervalsMs to Millis" am: c6fe30068d am: 058149884f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688783

Change-Id: Ie3a9bf8043ce00fe838720c094b5b180af829910
2021-04-29 05:26:56 +00:00
Eric Jeong
72402519c2 Grant CONTROL_CAR_POWER_POLICY permission to car shell
- The permission is needed to run CarPowerManagerTest in ATS

Bug: 178415284
Test: atest com.google.android.car.ats.CarPowerManagerTest
Change-Id: I200640b7899115d25e1343825186793d86633bcb
2021-04-28 22:21:28 -07:00
Yi Kong
0ac12528fe Merge "profcollect: alternative property to start profcollectd" am: 67bea71a2f am: f965ffe0e2 am: a9a873f0a9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689805

Change-Id: Ic38016ae401d7b1852e178d792da209ac7983f3a
2021-04-29 05:21:15 +00:00
Tianjie Xu
474d549f7c Merge changes Ia43ab0ab,I0c4b91aa
* changes:
  Always use the server based provider if HAL isn't installed
  Dump the IOexception before retrying load escrow key
2021-04-29 05:17:55 +00:00
Treehugger Robot
4ed0a5060a Merge "Rename getAllNetworkStateSnapshot which should be pluralized" am: d1473b36d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684034

Change-Id: Ie83813d57b678de4f60fe8e70aa1aa42d74a0bc8
2021-04-29 05:07:31 +00:00
Chris Ye
3a4edc745d Add test coverage for android.hardware.lights.LightsRequest and hide android.hardware.lights.LightsManager.LightsSession constructor.
Add core CTS test coverage for android.hardware.lights.LightsRequest
API getLights() and getLightStates().
Hide android.hardware.lights.LightsManager.LightsSession constructor.

Bug: 183239763
Bug: 183239666
Test: atest FrameworksCoreTests:InputDeviceLightsManagerTest

Change-Id: I41e0272e64a55b631eda387af0645af077d025be
2021-04-28 22:01:32 -07:00
Benedict Wong
058149884f Merge "Update set|getRetryIntervalsMs to Millis" am: c6fe30068d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688783

Change-Id: I0ddfd92b8d08c58b2318a5bbd2a8a4bb6edbc8f9
2021-04-29 05:01:27 +00:00
Yi Kong
a9a873f0a9 Merge "profcollect: alternative property to start profcollectd" am: 67bea71a2f am: f965ffe0e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689805

Change-Id: I52018c828c4a8e6325df0d0845a8ced930ec9a0d
2021-04-29 05:01:11 +00:00
Ming-Shin Lu
ea95fa9df7 Don't attach IME screenshot when performing non-task transition
As currently attaching IME screenshot is only valid during
switching between app tasks with IME window for aligning
with the IME window surface layer on the fullscreen activity.

The issue happens when SettingsPanelActivity (non-fullscreen activity)
launch another translucent activity and popup the wifi password dialog.

When user dismiss the dialog, it makes WifiDialogActivity
incidentally attachs the IME screenshot on SettingsPanelActivity
while performing translucent activity closing transition.

Since initially we only support IME screenshot when performing task
level app transition or switching apps with recents animation,

We won't support for the app activity with theming or popup the
non-fullscreen dialog with editor in case wrong IME screenshot
attaching as the above issue case during activity closing transition.

Add more checks to consolidate the attaching rule that valid only
when the task is IME layering target and performing task closing
transition.

Fix: 186080920
Test: atest DisplayContentTests#testAttachAndShowImeScreenshotOnTarget
Test: atest DisplayContentTests#testShowImeScreenshot
Test: manual as issue steps:
   1) Open Internet connection from quick settings.
   2) Choose a Wifi ssid which requires password.
   3) Enter password and press Enter key.
   4) Verify if the keyboard is still remain on the screen.
      Expected is not.
Change-Id: I0a0a8322c5d1cd44e3a4520c7f5434b8bc5b8306
2021-04-29 12:59:33 +08:00
Cecilia Hong
5b0e5143b3 Merge "Skip showing the Smartspace recommendation card if it's an empty update." into sc-dev 2021-04-29 04:55:29 +00:00
TreeHugger Robot
2ac5334517 Merge "Add unit test init method." into sc-dev 2021-04-29 04:53:40 +00:00
Bill Lin
9df0e2bdb3 Merge "1/ Add ONE_HANDED_MODE_ACTIVATED secure settings for shortcut" into sc-dev 2021-04-29 04:49:42 +00:00
TreeHugger Robot
f38abb5943 Merge "Add traces in ViewRootImpl handler" into sc-dev 2021-04-29 04:49:10 +00:00
Treehugger Robot
d1473b36d6 Merge "Rename getAllNetworkStateSnapshot which should be pluralized" 2021-04-29 04:40:51 +00:00
Riddle Hsu
3d4a4d7510 Merge "Disable fixed rotation for starting window with ime surface" into sc-dev 2021-04-29 04:39:44 +00:00
Benedict Wong
c6fe30068d Merge "Update set|getRetryIntervalsMs to Millis" 2021-04-29 04:35:45 +00:00
Winson Chung
90d8bcf8f0 Fix a couple issues with nav bar & rotation button
- Ensure that newly added buttons to the contextual group are not
  visible by default, this can cause issues where they are clickable
  if setButtonVisibility() is not called to ensure only one button
  is visible
- Fix an issue where the rotation controller and context group buttons
  were not updated on nav mode change (leading to floating rotation
  button w/ 3 button nav and rotation context button w/ gestural nav).
  This is a regression in S due to us not reinflating the entire nav
  bar view on nav mode change.
- Move ime switcher handling to NavBar to be consistent with other
  contextual buttons
- Prevent reloading nav bar multiple times on nav mode change

Fixes: 183475747
Test: Change nav modes and dump the context buttons to verify they
      are updated correctly
Change-Id: I01779af237a46909f04fe76d74dd552af8a034e4
2021-04-29 04:33:01 +00:00
Svetoslav Ganov
e8b84a6e00 Merge "Remap per app id for AR/location sources" into sc-dev 2021-04-29 04:26:06 +00:00
Yi Kong
f965ffe0e2 Merge "profcollect: alternative property to start profcollectd" am: 67bea71a2f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689805

Change-Id: I514172bcc3d10a7e5b2ed6be8dec81eff6a6c299
2021-04-29 04:23:19 +00:00
Zhen Zhang
f7857d0b6d Merge "Log user level App Hibernation related atoms" into sc-dev 2021-04-29 04:20:12 +00:00
Bill Lin
57f37bf143 Refactor OHM to use (float)offset for translating windows
The core function of OHM is translate all windows down
instead of resize, it's unnecessary to set WCT & app bounds
that will introduce DA require to cache configuration in
DAInfo as well as handle configuration changes stuffs

This change ensure App Compat mode works good:
- Remove wct.setBounds() & wct.setAppBounds()
- Use float instead of bounds for transition/animation
- Remove unused code
- Reset setWindowCrop(leash, -1, -1) after rotate
- Reset setCornerRadius(leash, -1) after rotate
- Add dump() for OneHandedAnimationController
- Add dump() for OneHandedSurfaceTransactionHelper

Test: atest WMShellUnitTests
Test: maunal trigger OHM, rotate, and obseve function works
Bug: 184091042
Bug: 181091031

Change-Id: I401d9b8a79a2a1526b8683362a1e0330458141b1
2021-04-29 12:14:29 +08:00
Shan Huang
38ea102635 Play ripple on pluggedIn event instead of charge event.
Also differentiate between wireless charging and pluggedIn state in BatteryController.

Bug: 184912336
Test: Manual. SystemUITests.
Change-Id: Icbaf8f5b43adaa40b70ebdef200658c932dad19b
2021-04-29 12:03:36 +08:00
Yi Kong
67bea71a2f Merge "profcollect: alternative property to start profcollectd" 2021-04-29 04:02:10 +00:00
Hyunyoung Song
1717e02ea6 API council review for SearchUiManager
Bug: 184265048
Test: atest CtsSearchUiServiceTestCases

Change-Id: Ib4dd0d3b29438418d4deb31e999a076e5eeff484
2021-04-28 20:57:11 -07:00
Treehugger Robot
0ff06379e8 Merge "[Telephony] Remove getChannelNumber from SDK" am: cadc1f6086 am: b5dfa219ba am: 7c32a3f599
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687486

Change-Id: Idfd940eff40c0b485bee00603258555101d1309e
2021-04-29 03:38:40 +00:00
Treehugger Robot
1b68aeee56 Merge "Internal graphics package owners" am: 1084a81a68 am: 8f7c666464 am: 3bbfa132e8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690227

Change-Id: If739aeeea360f864710746e133bedc335808da9d
2021-04-29 03:38:14 +00:00
Aemon Cannon
d3f7b7f510 Merge "Add instrumented app to JAR path (isolated splits)" into qt-qpr1-dev am: d2317d0fac am: 9769b95c31 am: 6390c11497 am: 5093945440
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14240125

Change-Id: I880d3c0b73e5ea3b0f55589c554ebf6fc3ab1d98
2021-04-29 03:37:11 +00:00
Treehugger Robot
7c32a3f599 Merge "[Telephony] Remove getChannelNumber from SDK" am: cadc1f6086 am: b5dfa219ba
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687486

Change-Id: I841fba8b27bff32fbe006192c093e43701662750
2021-04-29 03:37:00 +00:00
Treehugger Robot
3bbfa132e8 Merge "Internal graphics package owners" am: 1084a81a68 am: 8f7c666464
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690227

Change-Id: Ic7ba3d5ea2be74c0860eb61d80aac078e17b48de
2021-04-29 03:35:43 +00:00
Aaron Huang
1d1ff6fb3e Merge "Rename *Iface* APIs to *Interface*" into sc-dev 2021-04-29 03:32:16 +00:00
Treehugger Robot
b5dfa219ba Merge "[Telephony] Remove getChannelNumber from SDK" am: cadc1f6086
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687486

Change-Id: I2d204e0a71f830480a1000331b293e9dc31a02b2
2021-04-29 03:07:58 +00:00
Aemon Cannon
01d1a375ba Merge "Add instrumented app to JAR path (isolated splits)" into qt-qpr1-dev am: d2317d0fac am: 9769b95c31 am: 08862bc2fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14240125

Change-Id: I99f2ef8b1bce9da552dbee816055509b4e04a688
2021-04-29 03:01:16 +00:00
Treehugger Robot
8f7c666464 Merge "Internal graphics package owners" am: 1084a81a68
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690227

Change-Id: I78f22ba11a23177c00b54c35141812c462812f7b
2021-04-29 03:01:13 +00:00
Aemon Cannon
5093945440 Merge "Add instrumented app to JAR path (isolated splits)" into qt-qpr1-dev am: d2317d0fac am: 9769b95c31 am: 6390c11497
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14240125

Change-Id: I84763867a720d4b22e25b3a8b801a727bc80781a
2021-04-29 03:00:15 +00:00
PETER LIANG
cf2da13db3 Merge "Revise the character limit of the string." into sc-dev 2021-04-29 02:51:30 +00:00
Rhed Jao
a659ad825f Merge "Fix missing the implementation of Computer#dump() in ComputerLocked" into sc-dev 2021-04-29 02:42:36 +00:00
Jeff Chang
87a79d3a1d Start activity with focus root task for staged split
During the start activity process, the system will get a launch root
task to launch activity. The root tasks are created as a direct child
of a TDA, unless there is a launch-root-task set where the created
task would be a child task of the launch-root-task.

This CL make activity can start with a focus root task which is
created by the task organizer and has an adjacent task. For
legacy split screens, this CL doesn't change the original behavior.

Bug: 180079028
Test: atest MultiWindowTests
      atest TaskDisplayAreaTests
Change-Id: Idf62ec2489eb1f05baddd3b527a0afc868426251
2021-04-29 10:39:01 +08:00
Ben Lin
a4c8a3c524 PiP: Take inset into consideration when calculating stash offset.
When stashing, currently it assumes the entire display is usable - not
taking into insets into consideration that can be caused by navigation
bar, etc.

Bug: 186698828
Test: Manual. Stashing PIP while w/ insets now stashes correctly.
Test: atest PipSnapAlgorithmTest
Change-Id: Ia6cbb8f21b666a4ba4ee10b84e3087b6a23cd982
2021-04-28 19:31:40 -07:00
Wei Sheng Shih
d79399ba3f Merge "Only add one starting window for a task when unlock." into sc-dev 2021-04-29 02:22:18 +00:00
Hai Zhang
1090b7909e Filter package visibility in getPermissionGroupInfo().
Bug: 186113473
Test: manual
Change-Id: I584695034003f2a58f32d7c453d3a1835f14a31e
2021-04-29 01:31:33 +00:00
Hai Zhang
24d9d7d4c2 Filter package visibility in getPermissionInfo().
Bug: 183122164
Test: manual
Change-Id: I5019de75b19f9f53ab71dec36cf01d1aa887936a
2021-04-29 01:29:15 +00:00
Treehugger Robot
cadc1f6086 Merge "[Telephony] Remove getChannelNumber from SDK" 2021-04-29 01:20:15 +00:00
TreeHugger Robot
f941b5a2f4 Merge "Recording alarm removal reasons for debugging" into sc-dev 2021-04-29 01:14:40 +00:00
TreeHugger Robot
091549478c Merge "Synchronize native ApkAssets data" into sc-dev 2021-04-29 01:11:03 +00:00
Chris Li
328079de27 Merge "Determine whether to support activities in multi window (1/n)" into sc-dev 2021-04-29 01:09:53 +00:00