This change combines the onEntryRemoved() and
onPerformRemoveNotification() methods on NotificationEntryListener to a
single method. The latter method was called after the former method in
all cases where the removal of the notification was precipitated by user
action (swipe, bubble swipe, launching content intent), so it's replaced
by a boolean parameter to the former method indicating whether a user
action caused the removal.
Test: atest SystemUITests, manual
Change-Id: I448fdd68984e3c2489259940c4d3432ac5bfe320
This change combines the onEntryRemoved() and onNotificationRemoved()
methods on NotificationEntryListener to a single method. The logic in
NotificationEntryManager which calls these methods is rearranged and a
flag is added to the callback method in order to fully preserve the
previous behavior of all implementors.
Test: atest SystemUITests, manual
Change-Id: I6077e78005ed6c20b02f5fa21f213199384cc3b8
This change eliminates the mCallback field on NotificationEntryManager,
instead adding the listener which used to be in that field to the list
of listeners.
Test: atest SystemUITests, manual
Change-Id: I3b489ad87cf9d757c9ad9e49cf3c12c35972dee5
This change introduces the NotificationAlertingManager component, a
NotificationEntryListener which handles showing/hiding/updating alerts
(heads-up or ambient pulsing) in response to events from the
NotificationEntryManager. All code in the new component was moved out
of NotificationEntryManager proper.
Test: atest SystemUITests, manual
Change-Id: I46a046da6caf39b1d314b357e21ac6b4755c5796
Because Java uses signed bytes, a comparison between
a byte and 0xFF will always fail after integer
promotion. Fix this by forcing 0xFF to be treated as
a byte for comparison.
Bug: 119224773
Test: fixes build breakage
Change-Id: I9615667a6b442060f1d43084d56bc9c3fdb3ba35
Adding the flag "Intent.FLAG_ACTIVITY_SINGLE_TOP" which will stop the activity to relaunch if its already there.
Bug: 121345477
Test: Manual
Change-Id: I83f985c83d4954a722591b59fc7f6db24a923923
(cherry picked from commit a9971e07144bfa7fde5f4ae2cd602efb8ff02fec)
* changes:
Remove Dependency.get usages from LightBarController
Remove Dependency.get usages from NotificationLogger
Remove Dependency.get usages from OverviewProxyService
Remove Dependency.get usages from BubbleController
Remove Dependency.get usages from BatteryControllerImpl
Remove Dependency.get usages from BluetoothControllerImpl
Remove Dependency.get usages from DeviceProvisionedController
Remove Dependency.get usages from HotspotControllerImpl
Remove Dependency.get usages from RemoteInputQuickSettingsDisabler
Remove Dependency.get usages from SecurityControllerImpl
Remove Dependency.get usages from UserSwitcherController
Remove Dependency.get usages from SmartReplyController
Reduce usages of Dependency.get in TunablePadding
Remove Dependency.get usages from TunerServiceImpl
Remove Dependency.get usages from GarbageMonitor
MediaRecorder.AudioEncoder has unsupported VORBIS audio encoder constant declared. Edited javadoc
comment for the same as optional support.
Bug: 120211083
Test: make offline-sdk-docs
- edited comment visible in MediaRecorder.AudioEncoder.html#VORBIS
Change-Id: I3294d9a768a8f439579f238ee2f1db93f20bc178
When updating a system app, a recent code change resulted in trying to
read the parsed package from a @Nullable field without first checking
for the null case. We have access to the package from the original scan
request and so this change just fetches it from there.
Change-Id: Ieeb4d7f94db23adea64bca7fb982f473cc0a40fe
Fixes: 121411453
Fixes: 121455797
Test: Wait for and observe successful GMS Core update