Commit Graph

640958 Commits

Author SHA1 Message Date
Treehugger Robot
6286d0952d Merge "Add constant values for MPEG-H." 2021-04-23 22:51:55 +00:00
Josh Tsuji
fdd50fb110 Add extra null-checks to WallpaperManagerService.
Test: Wallpaper API still works
Bug: 186263410
Change-Id: I7effb855003724fa79eea11b7df9fe027bb98896
2021-04-23 22:48:57 +00:00
Beth Thibodeau
5529e39aa5 Merge "Show recently active media on smartspace signal" into sc-dev 2021-04-23 22:21:54 +00:00
Chavi Weingarten
0e7cd4bd0d Merge "Change remaining trusted layers from BQL to Blast layer" into sc-dev 2021-04-23 21:54:19 +00:00
Evan Rosky
52f6451203 Fix surface release race when using Shell Transitions
Shell Transitions operates on the leashes both before and
after the animation in order to adapt shell transit to the
legacy transit impls in launcher.

This means we can't release the surfaces before the finish
callback. Since the finish callback provides a convenient place
to release the surfaces anyways, we can effectively disable
the release here.

Bug: 186158221
Test: enable shell transit, physically rotate to landscape,
      launch messages and then close it (back-gesture) repeatedly
      and observe that launcher doesn't crash.
Change-Id: Ibdc958b1fd18d66a013d94b70772ce49409fb4c1
2021-04-23 14:49:48 -07:00
Jack Nudelman
9c2ddedc2c [automerger skipped] Merge "Call TelephonyProvider apis for backup/restore per-sim settings." am: 1f9d1566c2 am: bbe5473dff am: 025822e42e -s ours
am skip reason: skip tag Change-Id I1652172f003e2fd5ab08dfdbf63dadc64e034406 with SHA-1 e2ea428d95 is already in history

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

Change-Id: I9e1a1a3c8ff1cad7b33e86cf6547d72de7ecdd3f
2021-04-23 21:47:09 +00:00
Dmitri Plotnikov
70b37cbf6a Use POWER_COMPONENT_ constants instead of TIME_COMPONENT_... constants
Bug: 186006876
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests
Change-Id: Ie52616e8d7b0d5c848802af94aeb3d3780af117a
2021-04-23 14:39:28 -07:00
Winson
cf207c3035 Add pm command for getOwnersForDomain API
Allows adb shell to print the domain approval owners for a specific
domain, a set of domains, or the domains of a package.

Bug: 184954099

Test: manual, try variants on device

Change-Id: I5c95945df9cbf8295d48e9815d2ad067f8e417e9
2021-04-23 14:38:35 -07:00
Steve Elliott
e3cb11afaf Merge "Add callbacks for remote input send / bounced" into sc-dev 2021-04-23 21:32:02 +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
Jack Nudelman
025822e42e Merge "Call TelephonyProvider apis for backup/restore per-sim settings." am: 1f9d1566c2 am: bbe5473dff
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684527

Change-Id: Iaa41cfc9937ef1950e71dce30e13845b9ea4c61a
2021-04-23 21:12:53 +00:00
Andy Hung
8479536f6e [automerger skipped] Merge "MediaFormat: new MIME types for MPEG-H audio" am: fae80ba7a4 am: 3eb382c3da am: 6698967429 -s ours
am skip reason: skip tag Change-Id I6b0026e6b5b979b6c3e3ca0b1c675e890662c0df with SHA-1 bb9e2099fe is already in history

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

Change-Id: I6b641981835bc6111c14c6dc992b9d1399c728e7
2021-04-23 21:03:57 +00:00
Yang Yu
62786b6545 Merge "Implement StorageStatsAugmenter for storage info." into sc-dev 2021-04-23 21:03:28 +00:00
Andy Hung
72ef374b5f [automerger skipped] Merge "AudioFormat: Add ENCODING_PCM_32BIT ENCODING_PCM_24BIT_PACKED" am: e468f6c151 am: 32010fbba7 am: 9fe576be8b -s ours
am skip reason: skip tag Change-Id I92a099e98dd20ef900765928cbacea5e8a940c3c with SHA-1 cec9647e0f is already in history

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

Change-Id: I3f899cafd0b96cb54a28a5a2d9673ad47c7fd746
2021-04-23 21:03:05 +00:00
Dave Mankoff
73b487f63c Make FalsingManager send out an event when second tap is required.
Bug: 185908806
Test: manual
Change-Id: I33b704b0f5b4fded59214ab33dbafc8de89675ad
2021-04-23 17:02:26 -04:00
TreeHugger Robot
0addbd59ef Merge "Smartspace - Support launching intents from lockscreen" into sc-dev 2021-04-23 21:00:52 +00: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
Jeffrey Huang
8eaad0c5c3 Merge "Remove libincident_test from mts" into sc-dev 2021-04-23 20:56:51 +00:00
Beverly
e32e6b14b6 Doze - remove metrics logger, add uievent
- UiEvent wasn't being used onWakeScreen even though the events
themselves already exist. Use ui-event and add event for wake timeout
- Inject UiEventLogger for easier testability

Test: manually view ui events using command
  `$ANDROID_HOST_OUT/bin/statsd_testdrive-terse 90`
Test: atest DozeTriggersTest
Fixes: 186230887
Change-Id: I7ac4c11e5c95ed774499ee8b62931321fa812549
2021-04-23 20:56:06 +00:00
TreeHugger Robot
709b6ce952 Merge "Avoid gestures occuring on AOD2." into sc-dev 2021-04-23 20:54:19 +00:00
Emilian Peev
fdd8754d88 Camera: Rename the extension latency query
Include the latency time unit as part of the method
name.

Bug: 186240766
Test: Successful build
Change-Id: I4e728623c46429c03d7fd1d2720b6d2e171b02cb
2021-04-23 13:48:43 -07:00
Jack Nudelman
bbe5473dff Merge "Call TelephonyProvider apis for backup/restore per-sim settings." am: 1f9d1566c2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684527

Change-Id: I6d7ee0a1e1eb34e031bb19199787f429a6c521f0
2021-04-23 20:43:48 +00:00
Andy Hung
6698967429 Merge "MediaFormat: new MIME types for MPEG-H audio" am: fae80ba7a4 am: 3eb382c3da
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682765

Change-Id: I2cbfa51d8b0b4c1aaa5452064df6119b0cf8794a
2021-04-23 20:43:38 +00:00
Andy Hung
9fe576be8b Merge "AudioFormat: Add ENCODING_PCM_32BIT ENCODING_PCM_24BIT_PACKED" am: e468f6c151 am: 32010fbba7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670486

Change-Id: I1b3354768d9ed8539459c48f5bb1a051cc9ebf24
2021-04-23 20:42:57 +00:00
Jack Nudelman
91352ca483 Don't backup/restore sim-settings if Telephony not present.
Bug: 180023868
Bug: 179947838
Test: make, cts test that caught this issue no pass.
Change-Id: Id898d135ed64a704cc4707dcb796664d9b08264b
Merged-In: Id898d135ed64a704cc4707dcb796664d9b08264b
2021-04-23 20:40:19 +00:00
TreeHugger Robot
cce726bea9 Merge "Set PendingIntent as FLAG_IMMUTABLE" into sc-dev 2021-04-23 20:39:08 +00:00
Jack Nudelman
1f9d1566c2 Merge "Call TelephonyProvider apis for backup/restore per-sim settings." 2021-04-23 20:31:47 +00:00
chaviw
d9d52789b1 Move more code that uses BQL to use BLAST layer
Test: go/wm-smoke
Bug: 170765639
Change-Id: I107519dfb65fe05cd140bd8dccd0aebe24c1927f
2021-04-23 15:30:48 -05:00
Ilya Matyukhin
5ce749630c Merge "Make function names consistent in AidlConversionUtils" into sc-dev 2021-04-23 20:23:43 +00:00
Andy Hung
3eb382c3da Merge "MediaFormat: new MIME types for MPEG-H audio" am: fae80ba7a4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682765

Change-Id: Ibd8ea777e76acb2577ed61b120efe5075b1928b3
2021-04-23 20:23:32 +00:00
Andy Hung
32010fbba7 Merge "AudioFormat: Add ENCODING_PCM_32BIT ENCODING_PCM_24BIT_PACKED" am: e468f6c151
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670486

Change-Id: I1f5d3eaca387c88476271eb579620184e2a1a509
2021-04-23 20:11:54 +00:00
Andy Hung
fae80ba7a4 Merge "MediaFormat: new MIME types for MPEG-H audio" 2021-04-23 20:03:56 +00:00
Jeff DeCew
33ffeb6946 Fix background color of the conversation guts
Fixes: 185920837
Test: manual
Change-Id: I4d17595505212527306b7cc5be39abcf9f7efb61
2021-04-23 15:58:09 -04:00
Andy Hung
e468f6c151 Merge "AudioFormat: Add ENCODING_PCM_32BIT ENCODING_PCM_24BIT_PACKED" 2021-04-23 19:49:33 +00:00
Jeff Sharkey
43cc358fa0 Merge changes from topic "btapiattribution" into sc-dev
* changes:
  More AttributionSource plumbing.
  Pass attribution source to BT APIs.
2021-04-23 19:38:54 +00:00
Joy Babafemi
7f91676147 UWB: Add getAdapterState System API
Test: Updated tests for AdapterStateListener.java
Bug: 183254940
Change-Id: I9a7472be2c7cf835cda8910261ba641bf2345b27
2021-04-23 19:14:10 +00:00
Beth Thibodeau
c9bc1be5b5 Merge "Handle media session destroyed" into sc-dev 2021-04-23 19:13:15 +00:00
TreeHugger Robot
d1a2e3f3bc Merge "Add missing javadocs" into sc-dev 2021-04-23 19:07:41 +00:00
TreeHugger Robot
f60e8709ad Merge "Disable long press for Device Controls tile" into sc-dev 2021-04-23 19:06:41 +00:00
Beth Thibodeau
3397068594 Show recently active media on smartspace signal
Smartspace will send an update when headphones are connected, but if the
user had recently active media (<3h) then we will show that media
instead of the smartspace cared. When smartspace later tries to expire
its card, this re-activated media will also be marked inactive again
(unless the user had started playback).

Fixes: 182811956
Fixes: 182813365
Test: manual
Test: atest com.android.systemui.media
Change-Id: I380f668c789c945d20814796607fcfc1e356de8f
2021-04-23 15:04:52 -04:00
Jeffrey Huang
d5fdf1edce Remove libincident_test from mts
Bug: 14297215
Test: TH
Change-Id: I6887a832b0484baddfc075e3789c2817d6a0566c
2021-04-23 11:52:40 -07:00
Chloris Kuo
b3d3768040 Merge "NAS setting onboarding string change" into sc-dev 2021-04-23 18:43:42 +00:00
Beth Thibodeau
4053be9269 Only allow local sessions to be resumable
It is possible for an app to be resumable locally, but also post
notifications when playing remotely that are not resumable long-term.
This change makes it so that only local sessions will be used for resume
players, and remote sessions will be removed when the underlying notification
is removed.

Bug: 185681682
Test: manual - start playback on Spotify web, observe notification on
phone, then close app on phone and observe no resume player
Test: atest MediaDataManagerTest MediaResumeListenerTest

Change-Id: I0a6ff2bab234a33298f84fd6d99b7d537d3d5e34
2021-04-23 14:38:52 -04:00
Bill Yi
cf783b9553 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-23 18:38:30 +00:00
Treehugger Robot
a5c88fd6ee Merge "Keystore 2.0 SPI: Fix engineDoFinal with null input." am: 06df6d84eb am: 3310a9a81f am: eaca45fcf3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680128

Change-Id: I2ad6bfc44915687bc24c0ec60ebf99244f4758b1
2021-04-23 18:26:33 +00:00
TreeHugger Robot
8a91fe3682 Merge "Change attribution integration points for SpeechRecognizer." into sc-dev 2021-04-23 18:25:58 +00:00
Yang Yu
db5c60a6ca Implement StorageStatsAugmenter for storage info.
AppSearchStorageStatsAugmenter implements StorageStatsAugmenter for
reporting storage usage to system.

TODO:
Add test for multi-package storage.
Add test for multi-user storage.

Test: AppSearchSessionPlatformCtsTest
Bug: 179160886
Change-Id: Ic1edc241c31fd6be448fd29fe2cbaaca61bfdb07
2021-04-23 11:25:44 -07:00
Joshua Mccloskey
44593da20d Add get/set feature implementation
Fixes: 184657294
Test: Verified e2e feature get/set work via settings.
Change-Id: I6e3f598ae35c599df15ea6f69a161758caa53c36
2021-04-23 11:17:02 -07:00
Treehugger Robot
eaca45fcf3 Merge "Keystore 2.0 SPI: Fix engineDoFinal with null input." am: 06df6d84eb am: 3310a9a81f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1680128

Change-Id: I7a5f847e02b9a02d6b6a03ee247aa135fc3fd1c5
2021-04-23 18:14:21 +00:00
TreeHugger Robot
ff68a9adc3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 3e6e11d131 -s ours am: 4c41fca732 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I405885305467a5ff9e0d99f82b0f3b38c6c67d10
2021-04-23 18:08:15 +00:00