OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Update icon packs." into qt-dev
TreeHugger Robot [Mon, 6 May 2019 17:47:51 +0000 (17:47 +0000)]
Merge "Update icon packs." into qt-dev

5 years agoMerge "Update SignalDrawable." into qt-dev
TreeHugger Robot [Mon, 6 May 2019 17:47:51 +0000 (17:47 +0000)]
Merge "Update SignalDrawable." into qt-dev

5 years agoMerge "Remove (old) STOPSHIP" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 16:56:28 +0000 (16:56 +0000)]
Merge "Remove (old) STOPSHIP" into qt-dev

5 years agoMerge "Removed unusued constant (FLAG_AUGMENTED_AUTOFILL_REQUEST)." into qt-dev
TreeHugger Robot [Mon, 6 May 2019 16:52:00 +0000 (16:52 +0000)]
Merge "Removed unusued constant (FLAG_AUGMENTED_AUTOFILL_REQUEST)." into qt-dev

5 years agoRemoved unusued constant (FLAG_AUGMENTED_AUTOFILL_REQUEST).
Felipe Leme [Thu, 2 May 2019 22:07:08 +0000 (15:07 -0700)]
Removed unusued constant (FLAG_AUGMENTED_AUTOFILL_REQUEST).

Test: atest CtsContentCaptureServiceTestCases
Bug: 123100811
Bug: 122858578

Change-Id: I030cb12343e6c07cbcd1d6ba08e1051109531aab

5 years agoMerge "Fix recent task screenshot may not cleanup in some cases" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 16:38:20 +0000 (16:38 +0000)]
Merge "Fix recent task screenshot may not cleanup in some cases" into qt-dev

5 years agoMerge changes from topic "permissions" into qt-dev
Leland Miller [Mon, 6 May 2019 16:35:06 +0000 (16:35 +0000)]
Merge changes from topic "permissions" into qt-dev

* changes:
  Add calling package parameter to IRcs methods
  Use injected instance of RcsControllerCall
  Create new RcsMessageQueryResultParcelable
  Create new RcsParticipantQueryResultParcelable
  Create new RcsThreadQueryResultParcelable

5 years agoMerge "Don't crop freeform windows by policy" into qt-dev
Evan Rosky [Mon, 6 May 2019 16:27:46 +0000 (16:27 +0000)]
Merge "Don't crop freeform windows by policy" into qt-dev

5 years agoMerge "Fix GNSS requests not served when GNSS HIDL service is restarted" into qt-dev
Anil Admal [Mon, 6 May 2019 15:40:10 +0000 (15:40 +0000)]
Merge "Fix GNSS requests not served when GNSS HIDL service is restarted" into qt-dev

5 years agoMerge "Handle enable/disable of non-framework location attribution apps" into qt-dev
Anil Admal [Mon, 6 May 2019 15:37:49 +0000 (15:37 +0000)]
Merge "Handle enable/disable of non-framework location attribution apps" into qt-dev

5 years agoFix recent task screenshot may not cleanup in some cases
lumark [Mon, 29 Apr 2019 08:56:50 +0000 (16:56 +0800)]
Fix recent task screenshot may not cleanup in some cases

In previous implementation, TaskScreenshotAnimatable's surface
relies on SurfaceAnimator#onAnimationLeashDestroyed callback.

As the definition of this callback method is called when leash is being
destroyed, and the surface was reparented back to the original parent,
which may not be reliable for recent task screenshot use case because task
screenhot surface may fail to reparent back if the parent is null, and
the onAnimationLeashDestroyed callback won't be called.

To fix this, we modify the reparent check to exclude parent surface check.
This is because the screenshot animatable was returning null in
Animatable.getParentSurface(), but we still need to invoke
onAnimationLeashDestroyed.

We also rename the callback to onAnimationLeashLost as it will also be called
when the animation is transferred away to another animation, even though the
leash didn't get destroyed.

Also, modified TaskScreenshotAnimatable#getParentSurfaceControl to
align Task's surface for surface hierachy correctness.

Fix: 130606600
Test: atest RecentsAnimationControllerTest
Test: atest SurfaceAnimatorTest

Change-Id: I918554befe3982a3dc0a9949c6973042697bb24b

5 years agoMerge "Prohibit showing system decorations on untrusted virtual displays" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 12:38:10 +0000 (12:38 +0000)]
Merge "Prohibit showing system decorations on untrusted virtual displays" into qt-dev

5 years agoMerge "Sharesheet - make loading placeholders unclickable" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 12:05:22 +0000 (12:05 +0000)]
Merge "Sharesheet - make loading placeholders unclickable" into qt-dev

5 years agoMerge "Fix transition animation of ResolverActivity for home" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 10:01:24 +0000 (10:01 +0000)]
Merge "Fix transition animation of ResolverActivity for home" into qt-dev

5 years agoMerge "Fix mLaunchTaskBehind is not restored when canceling recents" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 08:22:13 +0000 (08:22 +0000)]
Merge "Fix mLaunchTaskBehind is not restored when canceling recents" into qt-dev

5 years agoMerge "Add optional reasons why permissions were denied" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 06:21:23 +0000 (06:21 +0000)]
Merge "Add optional reasons why permissions were denied" into qt-dev

5 years agoMerge "Animate notification shade on click on notification button" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 05:48:46 +0000 (05:48 +0000)]
Merge "Animate notification shade on click on notification button" into qt-dev

5 years agoAdd optional reasons why permissions were denied
Philip P. Moltmann [Tue, 23 Apr 2019 16:10:56 +0000 (09:10 -0700)]
Add optional reasons why permissions were denied

Currently only for the ContextImpl.enforcePermission code paths and only
when 'secure debug_package_permission_check' is set.

This feature is disabled on user-builds.

Test: Enabled permission checking for my app and
      - checked runtime permision denial
      - permission denial because app is instant
Bug: 111075456
Change-Id: Ib85777db69ee490608e9dac32a3b97971c0ba215

5 years agoMerge "Introduce the display ID to TaskKey" into qt-dev
Jeff Chang [Mon, 6 May 2019 02:22:52 +0000 (02:22 +0000)]
Merge "Introduce the display ID to TaskKey" into qt-dev

5 years agoAnimate notification shade on click on notification button
Priyank Singh [Fri, 3 May 2019 22:36:25 +0000 (15:36 -0700)]
Animate notification shade on click on notification button

Bug: 131845242
Test: Manual
Change-Id: I11c7fdd3ae599144748516e8845355743b54d1a0
(cherry picked from commit cbe2a75b4a75651cc9dada14057f78125fde565d)

5 years agoMerge "Update version number to 220000000" into qt-dev
Baligh Uddin [Sun, 5 May 2019 16:35:35 +0000 (16:35 +0000)]
Merge "Update version number to 220000000" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 5 May 2019 06:47:29 +0000 (06:47 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoFix GNSS requests not served when GNSS HIDL service is restarted
Anil Admal [Sun, 5 May 2019 03:45:22 +0000 (20:45 -0700)]
Fix GNSS requests not served when GNSS HIDL service is restarted

Bug: 131985339
Test: Tested on a Pixel device manually killing the GNSS service.
Change-Id: Ie74d5b6d19f4bf570282146748f369acdd2a28b0

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 5 May 2019 02:31:47 +0000 (19:31 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7e7525bee6d8266d73746edf73f9cc331206e337

5 years agoMerge "Show locked padlock if sim card is locked" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 21:25:25 +0000 (21:25 +0000)]
Merge "Show locked padlock if sim card is locked" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 20:09:28 +0000 (20:09 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 20:09:25 +0000 (20:09 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 20:02:24 +0000 (20:02 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 19:59:24 +0000 (19:59 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 19:58:34 +0000 (19:58 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 19:52:34 +0000 (19:52 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoShow locked padlock if sim card is locked
Lucas Dupin [Sat, 4 May 2019 18:29:47 +0000 (11:29 -0700)]
Show locked padlock if sim card is locked

Otherwise, lock icon would show as unlocked because it's only tracking
the device state and the device might not have a password (like during
provisioning.)

Fixes: 131134059
Test: remove password, add locked sim, reboot
Change-Id: Ic2d31600020282ee3e908a275c3138ff68c887d3

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 4 May 2019 18:08:13 +0000 (11:08 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ida116558080776da1c61709d456639ecbbc0ff12

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 4 May 2019 17:59:30 +0000 (10:59 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibb07a4105a673ae4042fb77f4c7768a994be1027

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 4 May 2019 15:39:32 +0000 (08:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3b830d4343ec1aa35e4b5174ad3b0f1e81261f8c

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 4 May 2019 15:31:07 +0000 (08:31 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7f6ad9dabd0ac20232f3bae89206a244a4c476eb

5 years agoMerge "Follow up for a comment from ag/7080956" into qt-dev
Mady Mellor [Sat, 4 May 2019 15:25:58 +0000 (15:25 +0000)]
Merge "Follow up for a comment from ag/7080956" into qt-dev

5 years agoMerge "Remove separate recent app tracking" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 14:30:29 +0000 (14:30 +0000)]
Merge "Remove separate recent app tracking" into qt-dev

5 years agoMerge "Add logging for assistant start activity." into qt-dev
Steven Wu [Sat, 4 May 2019 12:34:18 +0000 (12:34 +0000)]
Merge "Add logging for assistant start activity." into qt-dev

5 years agoMerge "Set max alpha for dot color" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 11:47:28 +0000 (11:47 +0000)]
Merge "Set max alpha for dot color" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 4 May 2019 10:53:27 +0000 (03:53 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie0596dfea988fc49ac999766ea0d27fa7fc0f0b4

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 4 May 2019 09:41:48 +0000 (02:41 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie946b0067d425b718b55662c6a74ed8ee1f50801

5 years agoMerge "Fix crash when broadcasting preferred activity changed before boot completed...
TreeHugger Robot [Sat, 4 May 2019 06:11:34 +0000 (06:11 +0000)]
Merge "Fix crash when broadcasting preferred activity changed before boot completed." into qt-dev

5 years agoFollow up for a comment from ag/7080956
Mady Mellor [Fri, 3 May 2019 23:07:23 +0000 (16:07 -0700)]
Follow up for a comment from ag/7080956

Test: treehugger
Bug: 128459529
Change-Id: I79a559b3f992eae38bface74383a7a42d2261769

5 years agoMerge "rename vendor proprietary name XTRA to PSDS" into qt-dev
Anil Admal [Sat, 4 May 2019 00:54:32 +0000 (00:54 +0000)]
Merge "rename vendor proprietary name XTRA to PSDS" into qt-dev

5 years agoSet max alpha for dot color
Lyn Han [Sat, 4 May 2019 00:46:23 +0000 (17:46 -0700)]
Set max alpha for dot color

Bug: 130347467
Test: manual
Change-Id: I8e922549cc5875508fe3f50aecb7139070794e83

5 years agoMerge "Clarify FLAG_BUBBLE semantics." into qt-dev
TreeHugger Robot [Sat, 4 May 2019 00:34:21 +0000 (00:34 +0000)]
Merge "Clarify FLAG_BUBBLE semantics." into qt-dev

5 years agoMerge "Make sure to read the opportunistic carrier display property" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 00:27:22 +0000 (00:27 +0000)]
Merge "Make sure to read the opportunistic carrier display property" into qt-dev

5 years agoMerge "Fix dialer bubbles not bubbling / remove alertAgain logic" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 00:19:32 +0000 (00:19 +0000)]
Merge "Fix dialer bubbles not bubbling / remove alertAgain logic" into qt-dev

5 years agoSharesheet - make loading placeholders unclickable
Mike Digman [Fri, 3 May 2019 17:17:35 +0000 (10:17 -0700)]
Sharesheet - make loading placeholders unclickable

The AVD used to animate loading ds targets is build using a
square with a ds shaped cutout. Ripples on touch that go below
the AVD show a square bounding box. This looks awful, prevent
ripples as clicking the placeholder does nothing anyway.

Fixes: 129979593
Test: visual inspection
Change-Id: Id8734f3d92bd104097a60a6aa411be71db3e4efe

5 years agoMerge "only set PhoneStateListener subId for sdk target >=Q" into qt-dev
Chen Xu [Sat, 4 May 2019 00:00:27 +0000 (00:00 +0000)]
Merge "only set PhoneStateListener subId for sdk target >=Q" into qt-dev

5 years agoMerge "Change first time warning update order" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 23:56:23 +0000 (23:56 +0000)]
Merge "Change first time warning update order" into qt-dev

5 years agoMerge "Add new permission flags to @Flags int-def" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 23:55:33 +0000 (23:55 +0000)]
Merge "Add new permission flags to @Flags int-def" into qt-dev

5 years agoMerge "Restrict rotation when global actions panel is enabled" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 23:53:42 +0000 (23:53 +0000)]
Merge "Restrict rotation when global actions panel is enabled" into qt-dev

5 years agoMerge "Remove temporary deprecated methods ContentSuggestionsService." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 23:44:51 +0000 (23:44 +0000)]
Merge "Remove temporary deprecated methods ContentSuggestionsService." into qt-dev

5 years agoMerge "Allow gestural nav to trigger the transient bars when swiping on side edges...
TreeHugger Robot [Fri, 3 May 2019 23:18:44 +0000 (23:18 +0000)]
Merge "Allow gestural nav to trigger the transient bars when swiping on side edges" into qt-dev

5 years agoMerge "Remove bubble permission view" into qt-dev
Mady Mellor [Fri, 3 May 2019 23:18:10 +0000 (23:18 +0000)]
Merge "Remove bubble permission view" into qt-dev

5 years agoMerge "Change color of background for popup window" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 22:51:30 +0000 (22:51 +0000)]
Merge "Change color of background for popup window" into qt-dev

5 years agoAdd exclude-annotation LargeTest to CtsAppTestCases
Dan Shi [Wed, 1 May 2019 17:36:20 +0000 (10:36 -0700)]
Add exclude-annotation LargeTest to CtsAppTestCases

This is needed so merging with cts/tests/app/TEST_MAPPING can be
properly handled to exclude LargeTest. Once b/117880789 is fixed,
we won't need this any more.

Bug: 117880789130828971
Test: none
Exempt-From-Owner-Approval: only change test mapping file to fix broken
test suite.

Change-Id: I0369f47e6de6aeca06a9f1e03c6ec00f7c2ee767

5 years agoFix dialer bubbles not bubbling / remove alertAgain logic
Mady Mellor [Fri, 3 May 2019 22:34:41 +0000 (15:34 -0700)]
Fix dialer bubbles not bubbling / remove alertAgain logic

I had carried this in from notification alert logic but looking at it
more closely it seems not appropriate here (maybe appropriate / something
to incorporate for the flyout?)

Dialer has a notification when the phone call comes in and then when you
leave the phone activity they update that notification to bubble, the
alertAgain logic was filtering this update out.

Test: manual with dialer APK - get a phone call, leave the phone call
      activity, note that a bubble is displayed on screen
Bug: 131252815

Change-Id: I05bff55863b5dd40037741c133eea30397c11b58

5 years agoMerge "Change FalsingManager to an interface for easier swapping." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 22:09:37 +0000 (22:09 +0000)]
Merge "Change FalsingManager to an interface for easier swapping." into qt-dev

5 years agoMerge "Defaults for NIM for Q" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 22:08:45 +0000 (22:08 +0000)]
Merge "Defaults for NIM for Q" into qt-dev

5 years agoClarify FLAG_BUBBLE semantics.
Julia Tuttle [Fri, 3 May 2019 22:07:45 +0000 (18:07 -0400)]
Clarify FLAG_BUBBLE semantics.

Bug: 129995314
Test: no code changes
Change-Id: I10b01a4e060217a793a39468e9d2788654ef3446

5 years agoMerge "Update BiometricPrompt icons" into qt-dev
Kevin Chyn [Fri, 3 May 2019 22:03:18 +0000 (22:03 +0000)]
Merge "Update BiometricPrompt icons" into qt-dev

5 years agoRemove bubble permission view
Lyn Han [Tue, 30 Apr 2019 19:03:12 +0000 (12:03 -0700)]
Remove bubble permission view

Bug: 131630936
Test: manual
Change-Id: I4023b3a32770fe42d67dd907d6c7a570d41583ee

5 years agoMerge "Update Passpoint R1 AccessPoint with R2 config" into qt-dev
Quang Luong [Fri, 3 May 2019 21:31:30 +0000 (21:31 +0000)]
Merge "Update Passpoint R1 AccessPoint with R2 config" into qt-dev

5 years agoAllow gestural nav to trigger the transient bars when swiping on side edges
Winson Chung [Fri, 19 Apr 2019 22:21:38 +0000 (15:21 -0700)]
Allow gestural nav to trigger the transient bars when swiping on side edges

Bug: 130907345
Test: Enable gestural nav, enter immersive mode, swipe from edges
Change-Id: If7c29b92f027b9995a8a535756d8fdb5b81d7543

5 years agoMake sure to read the opportunistic carrier display property
Sooraj Sasindran [Thu, 2 May 2019 20:47:21 +0000 (13:47 -0700)]
Make sure to read the opportunistic carrier display property

Make sure to read the opportunistic carrier display property
Bug: 131849855
Test: verified that carrier text is displayed correctly

Change-Id: I93f9da8d0a9a8dae276370a0cca2df889229d4c3

5 years agoonly set PhoneStateListener subId for sdk target >=Q
chen xu [Fri, 3 May 2019 17:45:41 +0000 (10:45 -0700)]
only set PhoneStateListener subId for sdk target >=Q

subId from PhoneStateListener is deprecated from Q. And we should
only set subId for informational purpose for Q+ only.
Do not change the legacy behaviour for apps target on preQ SDK level

Bug: 131863032
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest#testOnUnRegisterFollowedByRegister
Change-Id: Iff1758f9645e74690094207d92b5989553b27b25

5 years agoMerge "Mark the bubble as show in shade when selected" into qt-dev
Mady Mellor [Fri, 3 May 2019 21:14:33 +0000 (21:14 +0000)]
Merge "Mark the bubble as show in shade when selected" into qt-dev

5 years agoMerge "Statsd: support atom counts of new atoms." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 21:10:04 +0000 (21:10 +0000)]
Merge "Statsd: support atom counts of new atoms." into qt-dev

5 years agoRestrict rotation when global actions panel is enabled
Steve Elliott [Fri, 3 May 2019 19:03:38 +0000 (15:03 -0400)]
Restrict rotation when global actions panel is enabled

Once the orientation changes to portrait, the panel will be displayed,
and the orientation will be locked to portrait.

If, when global actions is launched and a panel is available, the user
has their orientation locked to non-portrait, then their orientation
is unlocked, so that they may rotate to portrait in order to see the
panel.

In all cases, the user's orientation setting is restored once global
actions is dismissed.

Bug: 129343749

Test: unlock orientation, launch global actions in portrait, notice
      that orientation is locked, dismiss global actions, notice that
      orientation is unlocked

Test: unlock orientation, launch global actions in non-portrait,
      rotate to portrait, notice that orientation is now locked,
      dismiss global actions, notice that orientation is unlocked

Test: lock phone orientation to non-portrait, launch global actions,
      rotate to portrait, notice that orientation is locked, dismiss
      global actions, notice that orientation has reset and is locked

Change-Id: I3972929aede075de69ea5333dcaf445e6ace59b8

5 years agoRemove separate recent app tracking
Julia Reynolds [Thu, 2 May 2019 18:50:22 +0000 (14:50 -0400)]
Remove separate recent app tracking

Just use UsageStats

Test: atest
Bug: 131641848
Change-Id: I40c0f3dd3a2b67ed1f52062b3cbadec6bed0f189

5 years agoMerge "Bold time in "At a Glance" of custom clocks" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 20:49:46 +0000 (20:49 +0000)]
Merge "Bold time in "At a Glance" of custom clocks" into qt-dev

5 years agoRemove temporary deprecated methods ContentSuggestionsService.
Zak Cohen [Thu, 25 Apr 2019 22:46:12 +0000 (15:46 -0700)]
Remove temporary deprecated methods ContentSuggestionsService.

Bug: 127532182
Test: CTS test
Change-Id: Icc0bc012a5e1a2c85d108a7fa7df481e570cd43a

5 years agoMerge "Whitelist 30075 for Switzerland" into qt-dev
Hall Liu [Fri, 3 May 2019 20:41:06 +0000 (20:41 +0000)]
Merge "Whitelist 30075 for Switzerland" into qt-dev

5 years agoDefaults for NIM for Q
Julia Reynolds [Fri, 3 May 2019 19:01:24 +0000 (15:01 -0400)]
Defaults for NIM for Q

- Show status icons for gentle notifications
- NAS is enabled for priorizing, contextual actions, and quick replies

Note: existing preferences will be reset to test onboarding

Test: atest
Fixes: 131913566
Change-Id: I3db20e27b0502897afa449945c4dc45418aab86e

5 years agoMerge "Properly handle activity start tokens for unordered broadcasts" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 20:06:24 +0000 (20:06 +0000)]
Merge "Properly handle activity start tokens for unordered broadcasts" into qt-dev

5 years agoMerge "Remove temporarily pre-grant permission" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 19:57:09 +0000 (19:57 +0000)]
Merge "Remove temporarily pre-grant permission" into qt-dev

5 years agoMerge "Consider lock icon when determining minimum top padding." into qt-dev
TreeHugger Robot [Fri, 3 May 2019 19:52:47 +0000 (19:52 +0000)]
Merge "Consider lock icon when determining minimum top padding." into qt-dev

5 years agoDon't crop freeform windows by policy
Evan Rosky [Tue, 30 Apr 2019 23:02:58 +0000 (16:02 -0700)]
Don't crop freeform windows by policy

Freeform windows are free to move around the space, so
they shouldn't be cropped.

Bug: 131753585
Test: Observe no cropping in dumpsys output.
Change-Id: I972223a0198ec7a11529e39f5c85cfe94e3bab78

5 years agoFix transition animation of ResolverActivity for home
Riddle Hsu [Fri, 3 May 2019 14:22:36 +0000 (22:22 +0800)]
Fix transition animation of ResolverActivity for home

When touching navigation bar, it may trigger startRecentsActivity
to make the recents (home) activity visible to prepare recents
animation. If the final operation doesn't need the animation, the
animation will be canceled. When the condition is in the middle
of starting activity, the visibility of recents activity will be
updated after setting the transition of next activity. That leads
to the recents activity is added to closing apps so the transition
doesn't choose the animation style for translucent activity.

This change makes the recents activity invisible immediately if
it is really invisible to user, so its visibility change won't
affect the later launch transition.

Bug: 131589476
Test: atest RecentsAnimationTest#testRecentsActivityVisiblility

Change-Id: Ib8b59b9fc8dc40ea17d827a48f2b0cf2c1a1b3dd

5 years agoFix mLaunchTaskBehind is not restored when canceling recents
Riddle Hsu [Wed, 24 Apr 2019 15:55:11 +0000 (23:55 +0800)]
Fix mLaunchTaskBehind is not restored when canceling recents

If a 3rd party launcher is set as default home, when pressing
home button to go back from app, the launch-behind of recents
activity will be set. And then 3rd party launcher will move
to top that triggers stack order changed to cancel the recents.
That includes to restore launch-behind but the current top is
not the original one that was set. So there are 2 activities
show at the same time.

With storing the original target activity, we are able to
restore the launch-behind state correctly.

Bug: 131589476
Test: atest RecentsAnimationTest#testSetLaunchTaskBehindOfTargetActivity
Change-Id: Ib923492bb6263482fa22bd031a716b48ded20f91

5 years agoAdd logging for assistant start activity.
Steven Wu [Thu, 25 Apr 2019 20:12:06 +0000 (16:12 -0400)]
Add logging for assistant start activity.

Test: manual
Bug: 128982146
Change-Id: Icb9973facd9a1fdd90ea669c21d772c981254777

5 years agoMerge "Fix null pointer exceptions" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 19:13:46 +0000 (19:13 +0000)]
Merge "Fix null pointer exceptions" into qt-dev

5 years agoMerge "Cache TextClassificationManager instead of TextClassifier" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 18:40:33 +0000 (18:40 +0000)]
Merge "Cache TextClassificationManager instead of TextClassifier" into qt-dev

5 years agoUpdate BiometricPrompt icons
Kevin Chyn [Wed, 1 May 2019 18:49:05 +0000 (11:49 -0700)]
Update BiometricPrompt icons

Adds pulsing animation for face dialog. Pulsing starts when the dialog
is done animating in.

Bug: 130191600

Test: manual
Test: no change to fingerprint

Change-Id: Icb3a78e32f8f78b0def063a4b48d6266c653375e

5 years agoMerge "Prevent dark mode backup from applying in before setup" into qt-dev
Salvador Martinez [Fri, 3 May 2019 18:31:08 +0000 (18:31 +0000)]
Merge "Prevent dark mode backup from applying in before setup" into qt-dev

5 years agoUpdate icon packs.
Amin Shaikh [Thu, 25 Apr 2019 21:02:13 +0000 (17:02 -0400)]
Update icon packs.

- Add back arrow for QS customizer
- Update work profile status bar / QS / corp badge icon to GM2
- Add Settings and Launcher overlay icons

Bug: 131346125
Test: visual
Change-Id: I61b56b04993ef19b5e66c9ad3d78eddcfce3aeb1

5 years agoMerge "MediaCodec: save MediaCrypto ref until reset/release" into qt-dev
Robert Shih [Fri, 3 May 2019 18:20:16 +0000 (18:20 +0000)]
Merge "MediaCodec: save MediaCrypto ref until reset/release" into qt-dev

5 years agorename vendor proprietary name XTRA to PSDS
Kevin Tang [Fri, 22 Mar 2019 19:31:01 +0000 (12:31 -0700)]
rename vendor proprietary name XTRA to PSDS

which stands for Predicted Satellite Data Service.

Bug: 129091405
Test: Tested on a Pixel device.

Change-Id: Ib3ef1ee3563292d3850b4ba1f8b009f9018ae551
(cherry picked from commit 8eb907ff9000eeadd390f0f3e9c5cd1b38dc510e)

5 years agoMerge "Enabled removeUidDeviceAffinities" into qt-dev
Oscar Azucena [Fri, 3 May 2019 17:47:56 +0000 (17:47 +0000)]
Merge "Enabled removeUidDeviceAffinities" into qt-dev

5 years agoWhitelist 30075 for Switzerland
Hall Liu [Tue, 30 Apr 2019 17:05:48 +0000 (10:05 -0700)]
Whitelist 30075 for Switzerland

This number is a visual voicemail SMS number for Swisscom.

Bug: 120403639
Test: N/A
Change-Id: I8d8d6413b7f9869c13605e5175e4a20d48b3a23d

5 years agoMerge "Do not execute app transition too early" into qt-dev
Jorim Jaggi [Fri, 3 May 2019 17:15:28 +0000 (17:15 +0000)]
Merge "Do not execute app transition too early" into qt-dev

5 years agoMerge "Reenable CursorAnchorInfo API with ActivityView" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:07:35 +0000 (17:07 +0000)]
Merge "Reenable CursorAnchorInfo API with ActivityView" into qt-dev

5 years agoMerge "Ensure the notification is removed when bubble is removed & fix cancel all...
Mady Mellor [Fri, 3 May 2019 17:06:39 +0000 (17:06 +0000)]
Merge "Ensure the notification is removed when bubble is removed & fix cancel all" into qt-dev

5 years agoMerge "Metrics constants for new screen" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:03:49 +0000 (17:03 +0000)]
Merge "Metrics constants for new screen" into qt-dev

5 years agoMerge "Dump randomized MAC in bugreport" into qt-dev
Oscar Shu [Fri, 3 May 2019 17:00:40 +0000 (17:00 +0000)]
Merge "Dump randomized MAC in bugreport" into qt-dev

5 years agoMerge "Fix pressing back on bouncer" into qt-dev
Fabian Kozynski [Fri, 3 May 2019 17:00:25 +0000 (17:00 +0000)]
Merge "Fix pressing back on bouncer" into qt-dev

5 years agoMerge "Sharesheet - Fix expansion area min size" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 17:00:22 +0000 (17:00 +0000)]
Merge "Sharesheet - Fix expansion area min size" into qt-dev