Icons will show up on aod, status bar and expanded view. Icons are
currently updated on notification redaction.
We attempt to retreive people icons across a number of sources (in order
of priority):
1. ShortcutManager
2. Notification.getLargeIcon
3. Person.getIcon() from MESSAGE_EXTRAS
4. Notification.getSmallIcon (fallback if everythign fails fails)
Icons are cached when they the notification is an important conversation
and is sensitive
Bug: 144874876
Test: manually on device
Change-Id: I3292d2fbd90e39c4d2fe9eaa5b2855b7b65d89f9
- Mute all notification usages when DND is on
- Allow packages android and systemui to break through DND so they can
continue to vibrate and play sound (respectively) for exceptions
Test: atest
Fixes: 139961234
Change-Id: Id3c7223311ca8f797a054068f7aed82991975a12
It is fine for an app to aquire a lease until a certain time
even if the corresponding the blob doesn't have a expiry date associated
with it.
Fixes: 149789374
Test: atest --test-mapping apex/blobstore
Change-Id: I76f7bdb616d78a5d83a8489a898f1e6015589f38
The wallpaper should be rotated if its target WindowState is rotated.
The fixed rotation is applied to the WallpaperWindowToken and
the offsets are computed using the overriden DisplayInfo contained in
the WindowToken.ForcedRotationState.
Test: atest WmTests:RecentsAnimationControllerTest#testWallpaperHasFixedRotationApplied
Bug: 143053092, 148000485, 147999946
Change-Id: I244b3cb81dd29995a1a9181949e4f3f973816825
MediaArtworkProcessor change to use new WindowContext.
Still suppressing deprecation in DetailDialog.
Test: build
Test: atest MediaArtworkProcessorTest
Bug: 149787017
Change-Id: I9288076ac29077e90a978e8e5ee38080992a15ca
* The bundle will be generated/consumed by the support library.
* More API documentation and example usage will be added later once we have the support library impl ready.
* The old style resource name approach doesn't work due to the potential mismatch in the support library version across the host IME and the platform renderer service, and the non-static nature of the public attribute int id in the support lib.
* The Bundle added to the onCreateInlineSuggestionsRequest() is intended for the platform/ExtServices to communicate the UI versions it supports.
* The Bundle added to the InlinePresentationSpec is intended for the IME to communicate the custom styles for the chosen UI versions.
Test: manual verification, and also atest CtsInputMethodTestCases:InlineSuggestionInfoTest CtsInputMethodTestCases:InlineSuggestionTest CtsInputMethodTestCases:InlineSuggestionsRequestTest CtsInputMethodTestCases:InlineSuggestionsResponseTest
Bug: 146454892
Change-Id: Id7fea32a7550fb924fec811b376790474a7b92eb
The top window from display policy relies on layout to
be updated. It is more accurate to check the active
transformed record.
Fix: 149793692
Test: atest DisplayContentTests#testApplyTopFixedRotationTransform
Change-Id: I8694190faab343e6c524a4399fec0a9b16bfa561
UserspaceRebootLogger class is introduced to encapsulate (tiny) state
machine for logging of userspace reboot.
So far state is stored in a persistent property, but that can be changed
in the future.
Unit tests will be added in a follow-up CL.
Test: adb shell svc power reboot userspace
Bug: 148767783
Change-Id: Ib9e2c6cef7094ccac7862be249d619212f0013fd
Merged-In: Ib9e2c6cef7094ccac7862be249d619212f0013fd
(cherry picked from commit 779d6bee21)
The flag was not being set after dismissing the keyguard, now it's
updated right after the keyguard is gone.
I also used the opportunity to remove Dependency and fix a new
dump regression.
Test: atest NotificationShadeWindowControllerTest
Test: atest NewNotifPipelineBubbleControllerTest
Test: atest KeyguardViewMediatorTest
Test: unlock with PIN
test: unlock with fingerprint from LS and AOD
Fixes: 149402864
Change-Id: I279a2a92f19cfef48663fe364765e28ac248a303
I was looking for documentation of what these mean, but discovered
that these attributes have been obsolete for years.
Test: m
Change-Id: Ifcf47e99d22b1546780968d1030f835173612a27
Moves all system state out of AndroidPackage and into
PackageStateUnserialized, which lives inside a PackageSetting.
This makes AndroidPackage effectively immutable after it exits
the scan/install process.
Specifically, moves isUpdatedSystemApp, isHiddenUntilInstalled,
seInfoOverride, cpuAbiOverride, PackageUsage,
and sharedLibraryFiles/Infos.
Bug: 135203078
Test: atest com.android.server.pm.parsing
Change-Id: I44baab113f3b6b138472b15a61e0874173bc694f
- Allow passing list of explicit fieldnames, instead of sorting header names.
- Allow passing a single zip file with all CSV files to merge.
Bug: 145132366
Test: diff -w out/soong/hiddenapi/hiddenapi-greylist.csv
Change-Id: I7c6db369069452293c15eec290c635fb3879275d
sdcardfs takes care of quotas in a different way.
Bug: 146419093
Test: no attempts to set quota on devices without sdcardfs
Change-Id: I6a81bf008141cde5a53ee5a413993407a7771b45
Removes the massive old ComponentParseUtils in favor of
the new split classes.
Cleans up the parsing code to be uniform, removing the
String[] outError pattern in favor of ParseInput.
Bug: 135203078
Test: atest com.android.server.pm
Change-Id: I584ed37d4715300453dbe760d45d1eb4759b3dd3