Commit Graph

16371 Commits

Author SHA1 Message Date
Lucas Dupin
19e83beb08 Merge "Color extraction OWNERS" am: 9ed1dac67c am: 4111abc621 am: f9215ba0ef am: 15565a139c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685208

Change-Id: Iee7ff943137aaa584611d3bab9deb8ecb209ce9c
2021-04-25 02:44:09 +00:00
Lucas Dupin
15565a139c Merge "Color extraction OWNERS" am: 9ed1dac67c am: 4111abc621 am: f9215ba0ef
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685208

Change-Id: I68ae0f0233134718317dac205deac5a7a61d3d6d
2021-04-25 02:14:08 +00:00
Lucas Dupin
f9215ba0ef Merge "Color extraction OWNERS" am: 9ed1dac67c am: 4111abc621
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685208

Change-Id: I4a1b6666bbb1abd91641b256c3b5a2ddd119ca04
2021-04-25 02:00:36 +00:00
Lucas Dupin
f4630aabde Merge "A new shade pull down animation" into sc-dev am: 477aab1fa3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14177137

Change-Id: I00dd001d977ddcca3461cf259ae4301208c7287d
2021-04-25 01:27:10 +00:00
Lucas Dupin
477aab1fa3 Merge "A new shade pull down animation" into sc-dev 2021-04-25 01:03:18 +00:00
Lucas Dupin
370279459d Color extraction OWNERS
Bug: 184891403
Test: none
Change-Id: Ieba5767a8c6f465bf8eca28c277aba5b9a6b7f9b
2021-04-24 13:51:21 -07:00
Lucas Dupin
976de38e37 A new shade pull down animation
Test: manual
Test: atest ScrimViewTest
Test: atest ScrimControllerTest
Bug: 185683835
Fixes: 184891403
Change-Id: I1c51f3dc0d8afe97457aea8712c4322ebbda6ae4
2021-04-24 13:08:34 -07:00
Santos Cordon
c772dc3b8f Merge "Add listener for brightness-specific changes." into sc-dev am: 33946ea33f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14018899

Change-Id: I60a7bebd1e92f0edb2f1ef1d6dfeff6eda09dc00
2021-04-24 15:59:26 +00:00
Santos Cordon
33946ea33f Merge "Add listener for brightness-specific changes." into sc-dev 2021-04-24 15:38:20 +00:00
TreeHugger Robot
45e5becea1 Merge "Avoid NetInitiatedActivity overlaid by non-system apps" into sc-dev am: 7edccec5c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14297371

Change-Id: Ib5d8ac03d12cf907e633798113dca88556d36d4b
2021-04-24 04:07:13 +00:00
TreeHugger Robot
7edccec5c6 Merge "Avoid NetInitiatedActivity overlaid by non-system apps" into sc-dev 2021-04-24 03:41:24 +00:00
Santos Cordon
e5dae0ddc5 Add listener for brightness-specific changes.
Add FLAG to registerDisplayListener method to receive
brightness-specific changes.

getBrightnessInfo() method added to
android.view.Display to get brightness value, min, max
and highBrightnessMode status.

Bug: 168210311
Bug: 171023136
Test: atest com.android.server.display
Change-Id: I581e86e039cc7cf1bbca4cf7af03daa41dbddfe0
2021-04-23 22:18:55 +01:00
Yu-Han Yang
b7e17b9a74 Avoid NetInitiatedActivity overlaid by non-system apps
Bug: 181588735
Test: tests passing
Change-Id: I95868b786ed8a57f77f4f27fde96e88c6b9f04dc
2021-04-23 13:59:47 -07:00
Song Hu
69bca26d4c Merge "Query and surface Quick Share chip before screenshot image compress/export. Update chip intent, once image URL is available after compress/export." into sc-dev am: 0482828ca6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14282677

Change-Id: I4d26df93ce73b7d010c4901c5c4b4cfac29e3065
2021-04-23 17:27:27 +00:00
Song Hu
0482828ca6 Merge "Query and surface Quick Share chip before screenshot image compress/export. Update chip intent, once image URL is available after compress/export." into sc-dev 2021-04-23 17:10:16 +00:00
Jorim Jaggi
82a9c3112a Merge "Only start tracing in the next frame" into sc-dev am: 469c53f256
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14294130

Change-Id: I969bd43cd592c96cc22c1953d8dd83542dd2404c
2021-04-23 16:45:53 +00:00
Jorim Jaggi
469c53f256 Merge "Only start tracing in the next frame" into sc-dev 2021-04-23 16:23:12 +00:00
Jorim Jaggi
e941d4e58b Only start tracing in the next frame
In order to match tracing markers with the metrics, we should start
the tracing marker at the beginning of the next frame, as this is
also the point in time where we start counting janky frames.

Test: Take trace, inspect
Bug: 185902609
Change-Id: I2ec70b3fc2d3236bc24891ef698fdd7ac2917b01
2021-04-23 15:20:10 +02:00
Song Hu
e55e544fef Query and surface Quick Share chip before screenshot image compress/export. Update chip intent, once image URL is available after compress/export.
Test: test on local device
Bug: 185423664
Change-Id: I2710a727d4fc4fabaa1404d965feaa0c97d502fc
2021-04-23 05:36:10 -07:00
Tony Huang
88a6250873 Merge "Make AppTransition animations sharable (3/n)" into sc-dev am: faa060ae15
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13640529

Change-Id: Ib8bf64e9aed632aca5f6184b9aca4d4003c708b2
2021-04-23 04:06:00 +00:00
Tony Huang
faa060ae15 Merge "Make AppTransition animations sharable (3/n)" into sc-dev 2021-04-23 04:03:10 +00:00
Tianjie Xu
0bc4425974 Merge changes I296c1011,I05695607 am: 58deb1cfc1 am: c9674eec21 am: 676422f239 am: cfab9a00a9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682127

Change-Id: Ida7d9f738cda5d876a4c634ec83ce710c48df204
2021-04-23 00:00:01 +00:00
Tianjie Xu
cfab9a00a9 Merge changes I296c1011,I05695607 am: 58deb1cfc1 am: c9674eec21 am: 676422f239
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682127

Change-Id: If10475c3af8fc72442dbc8c2933b1f6561c87174
2021-04-22 23:40:17 +00:00
Tianjie Xu
676422f239 Merge changes I296c1011,I05695607 am: 58deb1cfc1 am: c9674eec21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682127

Change-Id: I8328f17b833c9b5673e5fab258be39e59e159c5f
2021-04-22 23:12:14 +00:00
Evan Severson
47426c23c0 Merge "Remove package manager feature for toggles" into sc-dev am: 171fe09c3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14194146

Change-Id: I8d9bb177b97bd549ab6683220b6b622bda62f335
2021-04-22 16:43:01 +00:00
Evan Severson
171fe09c3c Merge "Remove package manager feature for toggles" into sc-dev 2021-04-22 16:38:36 +00:00
Tony Huang
1c7fcdb9ca Make AppTransition animations sharable (3/n)
Handle animation include keyguard, voice interaction and relaunch
in default shell transition.

Bug: 178678389
Test: manual
Change-Id: I45e3f400bc3537bbbcd9d45f388312b8fe962579
2021-04-22 14:49:16 +08:00
Wilson Wu
d6ea7ae31f Merge "Make IInputMethodPrivilegedOperations to async (3/N)" into sc-dev am: 75f46d33c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14206614

Change-Id: I3bb4a0082e092f23309de9483a298c49d61bdac5
2021-04-22 05:10:06 +00:00
Wilson Wu
75f46d33c8 Merge "Make IInputMethodPrivilegedOperations to async (3/N)" into sc-dev 2021-04-22 04:50:11 +00:00
Dmitri Plotnikov
bed8984efb Merge "Save power component names in the summary parcel for MeasuredEnergySnapshot" into sc-dev am: 05b84c584e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14254638

Change-Id: I464d144d52c9b63860e56773762fb31adc67e4f4
2021-04-21 21:03:19 +00:00
Dmitri Plotnikov
05b84c584e Merge "Save power component names in the summary parcel for MeasuredEnergySnapshot" into sc-dev 2021-04-21 20:58:32 +00:00
Pinyao Ting
90829a2c13 Merge "Implement Device Flag for shortcut integration with AppSearch" into sc-dev am: d9b11089e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14242637

Change-Id: I5ab619a9e28c17deac6cc80d61c19000186fe162
2021-04-21 07:52:05 +00:00
Pinyao Ting
d9b11089e7 Merge "Implement Device Flag for shortcut integration with AppSearch" into sc-dev 2021-04-21 07:24:42 +00:00
Tianjie
6720f179f8 Check the return value of RoR preparation/clear
The corresponding functions already has a boolean return value in the
reboot escrow manager. So expose the return value to the recovery
system.

Test: build, check return value of request
Change-Id: I056956075868ab62ba6a43259242c4521c1c1bfe
2021-04-20 22:12:18 -07:00
Dmitri Plotnikov
442b6a80a4 Save power component names in the summary parcel for MeasuredEnergySnapshot
This is the second attempt at Ibb68bb2ee62678db5f3b30c4f2ef607006ccc81b, which
broke a test

Bug: 185534915
Test: mp :BatteryStatsViewer && adb shell am start -n com.android.frameworks.core.batterystatsviewer/.BatteryStatsViewerActivity
  and check that custom component is displayed as "GPU", not "CUSTOM_10000"
Test: atest FrameworksServicesTests:com.android.server.am.MeasuredEnergySnapshotTest

Change-Id: I9f65488a682233c49d47d73fc9426b76aab07627
2021-04-20 18:24:54 -07:00
Evan Severson
6a8d3dc686 Remove package manager feature for toggles
Create a dedicated api in the sensor privacy service to check if the
toggle is supported.

Also address some other api feedback and also rename the older mute
feature to all-sensors so that there are no longer overloaded methods
with different functions.

Test: Checkbuild, CtsSensorPrivacyTestCases, Manual
Fixes: 181681375
Change-Id: I655544846310e864ec8479ce8f93aee2860824f7
2021-04-20 16:37:55 -07:00
TreeHugger Robot
301bec1c37 Merge "[pm] remove incremental startable/unstartable code" into sc-dev am: 18ecd98109
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14185076

Change-Id: I6b3a69cca804cd1e73c507168b3d4dc5bac0910e
2021-04-20 22:12:53 +00:00
TreeHugger Robot
18ecd98109 Merge "[pm] remove incremental startable/unstartable code" into sc-dev 2021-04-20 22:03:22 +00:00
Dmitri Plotnikov
7e551439cd Merge "Revert "Save power component names in the summary parcel for MeasuredEnergySnapshot"" into sc-dev am: 82a0d368cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14253614

Change-Id: Ic716fcb9ab2f2a8186ab6a53c10f933d51cb0578
2021-04-20 19:04:16 +00:00
Dmitri Plotnikov
d1a9e684b8 Merge "Save power component names in the summary parcel for MeasuredEnergySnapshot" into sc-dev am: 1eb043a982
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14206682

Change-Id: I592151bdaec00334cf606b6df5ebdf12ca51e845
2021-04-20 19:03:37 +00:00
Dmitri Plotnikov
82a0d368cc Merge "Revert "Save power component names in the summary parcel for MeasuredEnergySnapshot"" into sc-dev 2021-04-20 19:03:12 +00:00
Dmitri Plotnikov
ff06a0ffb7 Revert "Save power component names in the summary parcel for MeasuredEnergySnapshot"
This reverts commit efa581e44e.

Reason for revert: Broke a test

Change-Id: Ib5ab56032ba4c4203cbc6f3eaf1e5d80c89a9717
2021-04-20 19:01:52 +00:00
Dmitri Plotnikov
1eb043a982 Merge "Save power component names in the summary parcel for MeasuredEnergySnapshot" into sc-dev 2021-04-20 18:50:54 +00:00
TreeHugger Robot
93917b479a Merge "Fix updateBluetoothStateLocked comments" into sc-dev am: 423adbf3b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14243452

Change-Id: I9346c67c82e3c49a44be843cc2b02588620c4591
2021-04-20 10:22:19 +00:00
TreeHugger Robot
423adbf3b5 Merge "Fix updateBluetoothStateLocked comments" into sc-dev 2021-04-20 09:58:28 +00:00
Wilson Wu
c84b3e15df Make IInputMethodPrivilegedOperations to async (3/N)
-. Remove VoidResultCallback of reportFullscreenMode
   and let it be truly asynchronous.
-. Rename this method to reportFullscreenModeAsync.

Bug: 183587528
Test: atest CtsInputMethodTestCases
Test: Manually verified as follows.
   1. Build flame-userdebug and flash it.
   2. Make sure that the screen rotation is enabled.
   3. make -j SoftKeyboard
   4. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
   5. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
   6. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
   7. make -j EditTextVariations
   8. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/arm64/EditTextVariations.apk
   9. adb shell am start -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
  10. Make sure that the device is in the landscape mode,
      and the SoftKeyboard sample IME is not yet shown.
  11. adb shell dumpsys input_method | grep mFullscreenMode
      Then make sure the mFullscreenMode is "false"
  12. Tap the first edit field then make sure that SoftKeyboard
      sample IME becomes visible in the fullscreen mode.
  13. adb shell dumpsys input_method | grep mFullscreenMode
      Then make sure the mFullscreenMode is "true"
  14. Tap the down button on the navbar to hide the SoftKeyboard
      sample IME.
  15. adb shell dumpsys input_method | grep mFullscreenMode
      Then make sure the mFullscreenMode is "false"

Change-Id: I92e8b0d420be3dd16cc4f3ba29e0bde5f12ab2ce
2021-04-20 17:46:27 +08:00
TreeHugger Robot
dd100ed2b2 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev am: 3346694817
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14161092

Change-Id: I41200d38286fde2633a9642004d451633f5f3a21
2021-04-20 09:32:06 +00:00
TreeHugger Robot
3346694817 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev 2021-04-20 09:23:33 +00:00
Adam Bookatz
d9f98565b2 Fix updateBluetoothStateLocked comments
There was confusion as to whether updateBluetoothStateLocked
took an ActivityInfo representing a cumulative total or a delta.
It is confirmed that it is now a cumulative total. (It had been
a delta in the past, but no longer.)

Bug: 174818545
Test: N/A (just comments)
Change-Id: I62130f22250eb496164f94c0668d1ff65fed7710
2021-04-20 00:14:51 -07:00
TreeHugger Robot
a284b68430 Merge "Fix the service cann't rebinded after the service died" into sc-dev am: c85f9a62b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14170760

Change-Id: I6e45c8752a4955dfb6e71ea7587eca4082473091
2021-04-20 05:00:20 +00:00