targets parking in memory, even if targets are still loading on UI.
Backfill targets of top 8 apps into DS row instead of top 4, if the row
is not full.
Bug: 156470651
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Test: atest com.android.internal.app.ChooserActivityTest
Change-Id: Idefd6c225fca723d6d266b78ef41a4201483c634
The actual cache clearing is not async anymore, so we can report the
status to the calling app. Here, we just change the documentation to
make the caller aware of the 3rd possible activity result: EIO.
This value is returned if an error happens while MediaProvider is
clearing the cache. In this case, we don't know how much of the cache
was deleted, if at all.
Test: build
Bug: 155290762
Change-Id: I3a04a9b5b6b07c6ec61e97a4cb0d3bc8b10b0370
Currently, modify MobileBytesTransfer(ByFgBg) to add dimension
for rat type and subscription is not backward compatible since
callers might expect a complete statistics in a metrics with
specific uid.
Hence, create a new atom to report data usage per rat and per
subscription.
Test: build
Bug: 148905838
Bug: 129082217
(cherry-picked from ag/11439257)
Merged-In: Id1c8673d92038552c2393b017f5723fd5c79ab45
Change-Id: Id1c8673d92038552c2393b017f5723fd5c79ab45
To ensure discovery preference is delivered to the provider service,
it delivers the discovery preference whenever the connection is
established.
Without this CL, discovery preference may not be delivered to the
service when rebindIfDisconnected is called in the middle of connecting.
Bug: 151128724
Test: cts test and atest mediaroutertest
Change-Id: I723298f108a0a7d3217c997be362e43764313bae
This would help to debug why MediaSessionService fails to create a new session
without leaving log from the app side.
Bug: 155993197
Test: Build
Change-Id: I8427467d5866a5611d539ec08425be6e948b5540
Use "Wired headphone" to represent 3.5mm and usb audio device
on output switcher panel.
Bug: 155146122
Test: make -j42 RunSettingsLibRoboTests
Change-Id: Ibc47ad1bbb3124e9a927a21c54e5c6ecb0057e61
See b/154080003#comment2 for the detail.
Add logs to show when ACTION_PACKAGE_FULLY_REMOVED is received.
We can tell if the broadcast is late from the timestamp.
(Cherry-picked from 74bdcfcc16)
Bug: 154080003
Test: atest RollbackTest
Merged-In: I84234ba7cebe793c3bb1d0aab2739b22f5c7d11c
Change-Id: I84234ba7cebe793c3bb1d0aab2739b22f5c7d11c
We already illuminate the background, but a small scale animation
when tapping makes it feel a bit more polished.
Bug: 155796337
Test: manual
Change-Id: I5ec186af10cb6651a6c23addecae02845b6e18ac
Otherwise it can happen that we swallow previous printer updates and
never end up getting a valid on-printers-updated call.
Fixes: 156222510
Test: atest PrinterDiscoverySessionLifecycleTest
Change-Id: Idab7399a6ab41ba9051cfcbbeebf4c45d6bfc053
The names of the individual modules do not quite follow the pattern
that java_sdk_library uses so this temporarily sets the following:
naming_scheme: "frameworks-modules"
That causes java_sdk_library to use a naming scheme that matches the
one used by the individual modules of this. It will be cleaned up
later.
Test: m update-api
Bug: 155164730
Change-Id: I56b4db67e919673f353dd2238b63c5bd3e749b05
When the notifications views are filtered out, reset their initialization
time, so now we can rely on the initialization time to determine whether
the notification was recently shown in the shade.
Fixes: 153885122
Test: atest NotificationRankingManagerTest
Test: manual
1. post grouped notifications
2. swipe down notification shade to view notifications
3. toggle on/off DND and see notifications are not ungrouped when
they're unfiltered
Change-Id: Ib9b45cd13ead51d7df2484e91d159cd268799e9a
This is a no-op refactoring that minimize the change needed
to add new puller of supporting data usage per rat type atom
in the follow-up patches.
(CP of CL from master to rvc-dev)
Bug: 129082217
Test: adb shell cmd stats pull-source 10000~10003
Test: atest android.cts.statsd.atom.UidAtomTests#testMobileBytesTransfer
Test: atest android.cts.statsd.atom.UidAtomTests#testMobileBytesTransferByFgBg
Change-Id: If544dd5a1dfc10bc70bf381f79a938f7d6b1dcb7
Merged-In: If544dd5a1dfc10bc70bf381f79a938f7d6b1dcb7
Add a new priority PRIORITY_DEVICE_PEAK_REFRESH_RATE, and a new config
setting config_defaultRefreshRate which maps to that priority. This
allows an OEM to easily specify a default frame rate different from the
peak frame rate.
Bug: 148978450
Bug: 154648391
Test: - Added new unit tests to verify DisplayModeDirector handles min,
peak, and default refresh rate settings correctly.
- Modified a Pixel 4 to set config_defaultRefreshRate to 60Hz, confirmed
we default to 60, but that an app calling setFrameRate(90) switches us
to 90.
- Confirmed that the "smooth display" and "force 90Hz" options on Pixel
4 work correctly.
Change-Id: I00c82eea39a914b5b38506dd3143feb936749254
Full screenshot UI would expose edit/share actions that are not
appropriate for SUW. ThiS CL removes all the UI in this situation and
just does a haptic with a toast indicating that the screenshot has been
taken.
Bug: 151797808
Test: - Verify behavior unchanged w/ normal screenshots.
- Verify that tooltip UI is used during setup wizard.
- Verify that screenshots taken during SUW are saved.
Change-Id: Id9791265088e34f067cea68fd1eaba597e3c97b0