If the bubble wasn't showing in the shade, but also
wasn't a bubble -- we never updated flag bubble to
be false to NoManService. This meant these notifs
would be re-added as bubbles after a runtime restart
Fixes: 157498034
Test: manual
Change-Id: I17c384107f4b21b84597967fe0c369acfcd3a88c
This was designed so you can drag objects through the dismiss target from left to right (or vv) without them sticking. Checking the hypot of velocity only results in false negatives when dragging down to the target.
Test: manual
Bug: 157180669
Change-Id: I21e3c048c00202fc0660aaec0c22f7825bf26f46
Remove the channel specific controls and replace the conversation
icon with the app icon to make it clearer what the scope of the text
and linked controls is
Test: atest
Fixes: 158592601
Change-Id: I6056e9de37d68e4236b483bcc3ebc6d3b0557e35
If the user is not unlocked, log at the warning level instead of error
to reduce logspam from non-direct boot aware providers.
Fixes: 148747075
Test: manual (observe logs before and after user unlock)
Change-Id: Icd0fb23982a78fb413f329da93b2ce01d37aca2a
This fixes the issue where bubbles are untouchable after being opened from the shade, as well as issues with the animation CL.
The root cause here was that the obscured touchable region is only updated after an explicit call to ActivityView.onLocationChanged(). We were only calling this when the Bubble initially expanded, and at that point, the notification shade was expanded, so we set the touchable region to empty. When the shade collapses, the AV's onLocationChanged() is never called again, so the touchable region remains empty.
Fixing this is actually very easy - we originally needed to empty the touchable region when the shade was expanded because we were in its window (and didn't want to steal its touches). Now that we are in our own window, we don't need to worry about that, so the shade check can be deleted entirely.
This also adds a check for mExpanded = false, since a collapsed stack should never be able to dispatch touch events to the AV.
Test: expand bubbs from shade
Fixes: 157756567
Change-Id: I8350670f34660f6b725904309c5d6c70abb8a33e
Bubble notifs in the Launcher icon popup can't be swiped away
because NotificationManagerService skips bubble notifs during
cancellation.
This change suppresses the notif instead of skipping it, which
results in a post event.
ag/11727210 set canShowBadge=false for suppressed notifs.
Launcher removes notifs with canShowBadge=false, so it will remove the
suppressed notif upon receiving the post event.
Fixes: 131926652
Test: atest NotificationManagerServiceTest
Test: manual
1) Have notif in shade with bubble
2) Swipe notif away in launcher popup
3) Shade notif goes away
Change-Id: I6609d1209be6686c9286f939bf420d4f09351af4
Remove the debug code for feature:
1. Background started FGS while-in-use permission restriction
2. Foreground service type camera and microphone.
Bug: 158579189
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java
atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
atest cts/tests/app/src/android/app/cts/ActivityManagerProcessStateTest.java
Change-Id: I9669db918af3740509a090c3075d93588110cea1
This is required to use the new BPF tethering APIs that set data
usage limits.
AOSP and master are already using -unstable instead of -V3.
In order not to change master, the Merged-In tag is set to the CL
that switched AOSP (and master) to -unstable.
Test: m
Bug: 150736748
Merged-In: I2d2cedf560319653f67f6b06f7abb0bf66eba91a
Change-Id: Idba29b0fe428ac6552a025dcbe15729739088e9e
Allows integration with ExoPlayer-DASH module. Before extracting
each chunk, ExoPlayer makes a seek call with the start time of
the chunk and position 0. It's not possible to perform this early
seek using MediaParser:
- Before a seek map is exposed by MediaParser, only seeking to
(0, 0) is possible.
- Once a seek map is exposed, there's no guarantee that the
required position is a legal position.
Bug: 149906115
Bug: 154120292
Test: Manual
Test: atest CtsMediaParserTestCases
Change-Id: I5986170cba4ec1b9f8b902809a9845f93550d103