Commit Graph

479460 Commits

Author SHA1 Message Date
Yan Zhu
b6ac0061fa Merge "Install auto-generrate overlay packages even when not included in whitelist" into rvc-dev 2020-06-10 04:23:30 +00:00
Mady Mellor
2b9718bce7 Merge "Fix bubbles returning after a runtime restart" into rvc-dev 2020-06-10 03:43:48 +00:00
Lorenzo Colitti
c76256c1ed Merge "Use the latest stable netd AIDL interface in Tethering." into rvc-dev 2020-06-10 03:00:09 +00:00
Tom Hsu
4992fd1120 Merge "New shortcodes to safelist (Q2 2020)" into rvc-dev 2020-06-10 02:55:39 +00:00
TreeHugger Robot
5599ca731f Merge "pulled atom for Do Not Disturb configuration" into rvc-dev 2020-06-10 02:31:02 +00:00
TreeHugger Robot
6275fcfbd9 Merge "Only check X velocity for max stick-to-target velocity." into rvc-dev 2020-06-10 00:53:54 +00:00
thiruram
ba2c4be0cc Migrates LS_* tron events to WW.
Test: manual(lunch coral-userdebug && make)
Bug: 147509049
Change-Id: I56e3680a7de7445deadff52588887ea2beef24fe
2020-06-10 00:38:37 +00:00
Chris Wren
9316569062 pulled atom for Do Not Disturb configuration
Bug: 154254547
Test: atest ZenModeHelperTest ZenModeConfigTest ZenPoicyTest
Change-Id: Ibfcf0f8034b049b1ec790d243e8cb06d71224063
2020-06-09 20:17:10 -04:00
TreeHugger Robot
7da3f04b7e Merge "Pre-cache filter results" into rvc-dev 2020-06-10 00:11:43 +00:00
TreeHugger Robot
d6b9d5a608 Merge "add uievent logs for nav assistant longpress" into rvc-dev 2020-06-09 23:50:18 +00:00
TreeHugger Robot
dee3bbc823 Merge "Clarify notif guts for apps that don't use shortcuts" into rvc-dev 2020-06-09 23:07:36 +00:00
TreeHugger Robot
6a28d69c24 Merge "Reduce "Failed to find provider info" logspam." into rvc-dev 2020-06-09 22:41:40 +00:00
Mady Mellor
f87853c227 Fix bubbles returning after a runtime restart
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
2020-06-09 15:38:11 -07:00
TreeHugger Robot
cd259caf54 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-09 22:26:49 +00:00
TreeHugger Robot
e93814953c Merge "Remove unused intent in NiNotification" into rvc-dev 2020-06-09 22:26:42 +00:00
Joshua Tsuji
f170a6a83e Only check X velocity for max stick-to-target velocity.
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
2020-06-09 18:24:57 -04:00
Chris Wren
119913a450 add uievent logs for nav assistant longpress
Bug: 147508318
Test: atest SystemUITests
Change-Id: I18cb0193f95c8fed8b1204512352d2aa1c640af7
2020-06-09 18:05:09 -04:00
TreeHugger Robot
acea7d392c Merge "Adjust conversation layout paddings to match UX spec" into rvc-dev 2020-06-09 22:00:08 +00:00
Robin Lee
0b513c34e2 Merge "Add a killswitch for AudioRecordingDisclosureBar" into rvc-dev 2020-06-09 21:59:50 +00:00
TreeHugger Robot
a8e808221e Merge "Fix Wifi state not updated while connecting" into rvc-dev 2020-06-09 21:30:39 +00:00
TreeHugger Robot
54c8e6a9a4 Merge "Allow automatic unlocking of work profile by Digital Wellbeing" into rvc-dev 2020-06-09 21:20:01 +00:00
Julia Reynolds
0b02ee7a19 Clarify notif guts for apps that don't use shortcuts
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
2020-06-09 17:01:38 -04:00
TreeHugger Robot
c22af6e7fd Merge "Fix obscured touchable region code." into rvc-dev 2020-06-09 20:48:43 +00:00
Varun Shah
4bffd45f2f Reduce "Failed to find provider info" logspam.
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
2020-06-09 13:39:53 -07:00
Andy Wickham
8e11fb506e Merge "Removes UniversalSmartspace BroadcastReceiver." into rvc-dev 2020-06-09 20:08:40 +00:00
TreeHugger Robot
c81dddfda6 Merge "Remove debug code before beta release." into rvc-dev 2020-06-09 20:08:04 +00:00
Lyn Han
692e990f06 Merge "Suppress bubble notifs instead of cancel" into rvc-dev 2020-06-09 20:04:57 +00:00
Steve Elliott
666124b0c5 Adjust conversation layout paddings to match UX spec
Fixes: 157757386
Fixes: 157144647
Test: manual, visual
Change-Id: Ibeccc0fe2269aea69b882895fbb1a280cd6bf126
2020-06-09 15:59:58 -04:00
Santiago Seifert
db853ad3fd Merge "Add parameter for exposing a dummy seekmap." into rvc-dev 2020-06-09 19:16:47 +00:00
Joshua Tsuji
c12199f40e Fix obscured touchable region code.
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
2020-06-09 18:56:25 +00:00
Lyn Han
675570af1d Suppress bubble notifs instead of cancel
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
2020-06-09 17:54:55 +00:00
TreeHugger Robot
275248ddfe Merge "media: further resource cleanup for async release" into rvc-dev 2020-06-09 17:41:01 +00:00
TreeHugger Robot
b2a9bb32af Merge "Rename "Incoming" section to "New"" into rvc-dev 2020-06-09 17:37:46 +00:00
Hui Yu
cdfb1d6c30 Remove debug code before beta release.
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
2020-06-09 10:36:57 -07:00
Taran Singh
cd4338c677 Merge "Use remote target when fallback IME control isnt available." into rvc-dev 2020-06-09 17:33:43 +00:00
Winson Chung
611e7a484a Merge "Revert "Restore support for source hint rect"" into rvc-dev 2020-06-09 17:19:21 +00:00
Winson Chung
d7302549d6 Revert "Restore support for source hint rect"
This reverts commit 5175580c2c.

Reason for revert: Scale issue with play movies

Bug: 156669445
Change-Id: I1393d802209163f8a415073dd1432cc35dba90f7
2020-06-09 17:18:57 +00:00
TreeHugger Robot
aadbf05afa Merge "Sample region under secondary home handle" into rvc-dev 2020-06-09 17:12:46 +00:00
Khaled Abdelmohsen
26f5b8adc6 Merge "Use source stamp app targeting SDK version 29" into rvc-dev 2020-06-09 16:52:04 +00:00
TreeHugger Robot
b74c1ad24a Merge "Remove code that seems unneccessary & has a leak" into rvc-dev 2020-06-09 16:30:43 +00:00
Mady Mellor
afbfb25d99 Merge "Fix some things with overflow, persistence, & visibility" into rvc-dev 2020-06-09 16:28:10 +00:00
TreeHugger Robot
de2933d5c7 Merge "Make PI created by AlertWindowNotification immutable" into rvc-dev 2020-06-09 16:27:12 +00:00
Bill Yi
fb36c0dc22 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I6f806d88d55db3a85736d79a5305216d2727161c
2020-06-09 16:21:15 +00:00
TreeHugger Robot
1567a8847c Merge "Sharesheet - Preview text RTL fix" into rvc-dev 2020-06-09 16:13:39 +00:00
Jorge Gil
3c987ead3b Merge "Check that activity is not in PIP mode already" into rvc-dev 2020-06-09 16:07:46 +00:00
Lorenzo Colitti
9bf6b41643 Use the latest stable netd AIDL interface in Tethering.
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
2020-06-10 01:07:29 +09:00
Fabian Kozynski
c04b162817 Merge "Fix RTL in controls and GA" into rvc-dev 2020-06-09 16:06:51 +00:00
Rob Carr
966ee2525a Merge "WindowManager Overlays: Avoid occluding for input" into rvc-dev 2020-06-09 16:02:22 +00:00
Steve Elliott
ef5a7c42c4 Rename "Incoming" section to "New"
Fixes: 158494079
Test: manual, visual
Change-Id: Iaea368d7d31905f2f179a56374360a817cc39a54
2020-06-09 15:58:03 +00:00
Santiago Seifert
45d8f79127 Add parameter for exposing a dummy seekmap.
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
2020-06-09 16:39:49 +01:00