OSDN Git Service

android-x86/frameworks-base.git
5 years agoAdds OnBackPressedOnTaskRoot
Mark Renouf [Fri, 26 Apr 2019 14:22:41 +0000 (10:22 -0400)]
Adds OnBackPressedOnTaskRoot

This allows Bubbles to be collapsed instead of finished
when there is only one activity in the stack.

Bug: 126852149
Test: launch activity, press back
Change-Id: Iad8db0549853e3f385d54fc6b6cea5e502d37139

5 years agoMerge "Pass in external packageName" into qt-dev
Youming Ye [Mon, 6 May 2019 20:34:14 +0000 (20:34 +0000)]
Merge "Pass in external packageName" into qt-dev

5 years agoMerge "Update Analog clock face assets." into qt-dev
TreeHugger Robot [Mon, 6 May 2019 19:40:25 +0000 (19:40 +0000)]
Merge "Update Analog clock face assets." into qt-dev

5 years agoMerge "Update path to audio files" into qt-dev
Anton Hansson [Mon, 6 May 2019 18:56:57 +0000 (18:56 +0000)]
Merge "Update path to audio files" into qt-dev

5 years agoMerge "Add Locale#script to Configuration proto." into qt-dev
TreeHugger Robot [Mon, 6 May 2019 18:29:30 +0000 (18:29 +0000)]
Merge "Add Locale#script to Configuration proto." into qt-dev

5 years agoMerge "Move rotation button closer to the edge of the screen." into qt-dev
Tracy Zhou [Mon, 6 May 2019 18:28:28 +0000 (18:28 +0000)]
Merge "Move rotation button closer to the edge of the screen." into qt-dev

5 years agoUpdate Analog clock face assets.
Robert Snoeberger [Mon, 6 May 2019 16:50:24 +0000 (12:50 -0400)]
Update Analog clock face assets.

This change makes the minute and hour hands longer.

Fixes: 132077607
Test: visual - checked analog clock on AOD
Test: burn in assets updated
Change-Id: I3f58d77a23440801597d848aa925b87ae90489d3

5 years agoMerge "CarrierConfig: add the wifi configs for Carrier-Wifi Application." into qt-dev
Ecco Park [Mon, 6 May 2019 18:11:22 +0000 (18:11 +0000)]
Merge "CarrierConfig: add the wifi configs for Carrier-Wifi Application." into qt-dev

5 years agoMerge "Allow the DO/PO to call PackageManager.setPackagesSuspended() directly." into...
TreeHugger Robot [Mon, 6 May 2019 18:01:11 +0000 (18:01 +0000)]
Merge "Allow the DO/PO to call PackageManager.setPackagesSuspended() directly." into qt-dev

5 years agoMerge "Add null check in AppPredictionService callback wrapper." into qt-dev
George Hodulik [Mon, 6 May 2019 17:58:43 +0000 (17:58 +0000)]
Merge "Add null check in AppPredictionService callback wrapper." into qt-dev

5 years agoAdd null check in AppPredictionService callback wrapper.
George Hodulik [Fri, 3 May 2019 20:41:39 +0000 (13:41 -0700)]
Add null check in AppPredictionService callback wrapper.

Bug: 131917369
Test: Killed launcher and confirmed the binder died callback was called and callback was removed.
Test: compiles
Change-Id: I40612aeca2de2f197e17379355e6d9e46193ae5e

5 years agoMerge "Show cast record icon in the status bar" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 17:49:30 +0000 (17:49 +0000)]
Merge "Show cast record icon in the status bar" into qt-dev

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 agoShow cast record icon in the status bar
Amin Shaikh [Fri, 3 May 2019 20:02:13 +0000 (16:02 -0400)]
Show cast record icon in the status bar

- Add CastDrawable that wraps ic_cast and draws the red record fill
- Add ic_cast_connected_fill that only contains the fill of the cast icon
- Updated all icon packs to include fill icon on the right ic_cast size

Fixes: 127479204
Test: visual; sysui demo mode
Change-Id: Idaed25ad0a5646af4be4170ee76938a4d40aaf3e

5 years agoCarrierConfig: add the wifi configs for Carrier-Wifi Application.
Ecco Park [Sun, 5 May 2019 23:00:03 +0000 (16:00 -0700)]
CarrierConfig: add the wifi configs for Carrier-Wifi Application.

The new configs for wifi will be used in Carrier Wi-Fi Application to
connect the wifi networks defined by a carrier.

Bug: 129964730
Test: unit test
Change-Id: I4d02a19d25626d7331f139e9e85062b05720ac51
Signed-off-by: Ecco Park <eccopark@google.com>
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 agoPass in external packageName
Youming Ye [Tue, 30 Apr 2019 17:35:08 +0000 (10:35 -0700)]
Pass in external packageName

Use external packageName when ActivityThread couldn't get calling package
due to calling identity cleaned.

Bug: 131287254
Test: Manual
Change-Id: Icec3ad7193bc5988799188a7a1e68aebc0dc109d

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 agoAllow the DO/PO to call PackageManager.setPackagesSuspended() directly.
Jason Parks [Thu, 14 Mar 2019 18:11:33 +0000 (11:11 -0700)]
Allow the DO/PO to call PackageManager.setPackagesSuspended() directly.

This fixes the issue where the DO/PO can not set the suspend dialog.

Bug: 120618908
Test: atest WmTests:ActivityStartInterceptorTest
Test: atest FrameworksServicesTests:SuspendPackagesTest
Test: atest GtsSuspendAppsTestCases

Change-Id: Ic99bd25e5bb5ec578df2b0910f5dfb3027650d3c

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