OSDN Git Service
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
TreeHugger Robot [Sat, 4 May 2019 20:09:28 +0000 (20:09 +0000)]
Merge "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
TreeHugger Robot [Sat, 4 May 2019 20:02:24 +0000 (20:02 +0000)]
Merge "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
TreeHugger Robot [Sat, 4 May 2019 19:58:34 +0000 (19:58 +0000)]
Merge "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
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
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
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
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
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
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
TreeHugger Robot [Sat, 4 May 2019 14:30:29 +0000 (14:30 +0000)]
Merge "Remove separate recent app tracking" 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
TreeHugger Robot [Sat, 4 May 2019 11:47:28 +0000 (11:47 +0000)]
Merge "Set max alpha for dot color" into qt-dev
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
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
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
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
Anil Admal [Sat, 4 May 2019 00:54:32 +0000 (00:54 +0000)]
Merge "rename vendor proprietary name XTRA to PSDS" into qt-dev
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
TreeHugger Robot [Sat, 4 May 2019 00:34:21 +0000 (00:34 +0000)]
Merge "Clarify FLAG_BUBBLE semantics." 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
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
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
TreeHugger Robot [Fri, 3 May 2019 23:56:23 +0000 (23:56 +0000)]
Merge "Change first time warning update order" 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
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
TreeHugger Robot [Fri, 3 May 2019 23:44:51 +0000 (23:44 +0000)]
Merge "Remove temporary deprecated methods ContentSuggestionsService." into qt-dev
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
Mady Mellor [Fri, 3 May 2019 23:18:10 +0000 (23:18 +0000)]
Merge "Remove bubble permission view" 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
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:
117880789,
130828971
Test: none
Exempt-From-Owner-Approval: only change test mapping file to fix broken
test suite.
Change-Id: I0369f47e6de6aeca06a9f1e03c6ec00f7c2ee767
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
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
TreeHugger Robot [Fri, 3 May 2019 22:08:45 +0000 (22:08 +0000)]
Merge "Defaults for NIM for Q" into qt-dev
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
Kevin Chyn [Fri, 3 May 2019 22:03:18 +0000 (22:03 +0000)]
Merge "Update BiometricPrompt icons" into qt-dev
Lyn Han [Tue, 30 Apr 2019 19:03:12 +0000 (12:03 -0700)]
Remove bubble permission view
Bug:
131630936
Test: manual
Change-Id: I4023b3a32770fe42d67dd907d6c7a570d41583ee
Quang Luong [Fri, 3 May 2019 21:31:30 +0000 (21:31 +0000)]
Merge "Update Passpoint R1 AccessPoint with R2 config" into qt-dev
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
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
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
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
TreeHugger Robot [Fri, 3 May 2019 21:10:04 +0000 (21:10 +0000)]
Merge "Statsd: support atom counts of new atoms." into qt-dev
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
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
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
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
Hall Liu [Fri, 3 May 2019 20:41:06 +0000 (20:41 +0000)]
Merge "Whitelist 30075 for Switzerland" into qt-dev
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
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
TreeHugger Robot [Fri, 3 May 2019 19:57:09 +0000 (19:57 +0000)]
Merge "Remove temporarily pre-grant permission" 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
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
TreeHugger Robot [Fri, 3 May 2019 19:13:46 +0000 (19:13 +0000)]
Merge "Fix null pointer exceptions" 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
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
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
Robert Shih [Fri, 3 May 2019 18:20:16 +0000 (18:20 +0000)]
Merge "MediaCodec: save MediaCrypto ref until reset/release" into qt-dev
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)
Oscar Azucena [Fri, 3 May 2019 17:47:56 +0000 (17:47 +0000)]
Merge "Enabled removeUidDeviceAffinities" into qt-dev
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
Jorim Jaggi [Fri, 3 May 2019 17:15:28 +0000 (17:15 +0000)]
Merge "Do not execute app transition too early" 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
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
TreeHugger Robot [Fri, 3 May 2019 17:03:49 +0000 (17:03 +0000)]
Merge "Metrics constants for new screen" 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
Fabian Kozynski [Fri, 3 May 2019 17:00:25 +0000 (17:00 +0000)]
Merge "Fix pressing back on bouncer" 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
TreeHugger Robot [Fri, 3 May 2019 17:00:19 +0000 (17:00 +0000)]
Merge "Sharesheet - Remove extra paddingbottom" into qt-dev
Tony Mak [Fri, 3 May 2019 16:35:22 +0000 (17:35 +0100)]
Cache TextClassificationManager instead of TextClassifier
Calling getTextClassifier() make sure we use the latest set of flags.
This is important as NAS has a very long lifetime.
Test: atest SmartActionsHelperTest
BUG:
131904289
Change-Id: I48e843c074db2e48ffa8187a395ee6d953940654
TreeHugger Robot [Fri, 3 May 2019 16:35:22 +0000 (16:35 +0000)]
Merge "Include bypass whitelist in dump" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 16:21:03 +0000 (16:21 +0000)]
Merge "Increase the timeout for Hearing Aids Pairing" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 16:11:01 +0000 (16:11 +0000)]
Merge changes from topic "check display id update" into qt-dev
* changes:
Unify context in ViewRoot
Add test API getDisplayId for cts test
Anton Hansson [Fri, 3 May 2019 15:57:38 +0000 (15:57 +0000)]
Merge "Make DocumentCursor opt-out of having a self-observer" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 15:56:32 +0000 (15:56 +0000)]
Merge "Add an @hide way to adjust CursorAnchorInfo for another Matrix" into qt-dev
Winson Chung [Fri, 3 May 2019 15:47:30 +0000 (15:47 +0000)]
Merge "Only create resources for the non-system user" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 15:39:46 +0000 (15:39 +0000)]
Merge "Prevent deadlock in RollbackManager#getAvailabeRollbacks" into qt-dev
Philip P. Moltmann [Fri, 26 Apr 2019 23:56:09 +0000 (16:56 -0700)]
Add new permission flags to @Flags int-def
also expose all flags for being tested.
Test: built
Bug:
131188279
Change-Id: I2874298d87a76ee2bc95f18346d8ae597a3152ad
TreeHugger Robot [Fri, 3 May 2019 15:12:16 +0000 (15:12 +0000)]
Merge changes from topic "screenshot-fd-optional-qt-dev" into qt-dev
* changes:
Use dev/null instead of tmp file
Notify the caller about I/O error
Pass valid file descriptor to binder
Robert Snoeberger [Fri, 3 May 2019 14:46:15 +0000 (10:46 -0400)]
Bold time in "At a Glance" of custom clocks
Bug:
129348218
Test: manual - checked that time is bold
Change-Id: I8c3cdc68735746669dcc516e42607aceac818740
Dave Mankoff [Thu, 2 May 2019 21:36:11 +0000 (17:36 -0400)]
Change FalsingManager to an interface for easier swapping.
This is a refactor. It touches a lot of files, but zero functionality.
The primary change is changing FalsingManager.getInstance() into
FalsingManagerFactory.getInstance(); chaning FalsingManager into an
interface, and then turning the existing FalsingManager into
FalsingManagerImpl, an implementation of that interface. Other changes
are merely references to those classes.
Bug:
130256776
Test: atest SystemUITests
Change-Id: I5d64a7673e4efc554105dd841b27807361ed3828
Jorim Jaggi [Fri, 26 Apr 2019 17:43:11 +0000 (19:43 +0200)]
Do not execute app transition too early
We execute an app transition if something was moved to the front,
but that activity was already resumed because when moving a task
to the front, we rely on the activityResumed callback to update
visibility and execute the transition usually, which doesn't
happen in that case.
However, we should only do that for the top task/stack as
otherwise we may execute an app transition too early in case an
activity behind the top one is still visible and resumed, like it
can happen when Launcher finishes the recents animation and
quickly launches the next one.
Test: Quick switch 100 times, no flashing
Bug:
129729087
Change-Id: Id76643e01c8e1c4b3ffd0d5a2fa38a35336e1d9e
Ioannis Ilkos [Fri, 3 May 2019 14:04:25 +0000 (14:04 +0000)]
Merge "Enable tracepoint for hot activity starts" into qt-dev
TreeHugger Robot [Fri, 3 May 2019 14:02:32 +0000 (14:02 +0000)]
Merge "Revert part of ag/
6685504" into qt-dev
Jorim Jaggi [Fri, 3 May 2019 14:01:15 +0000 (14:01 +0000)]
Merge "Trace opening/closing apps" into qt-dev
Abhijeet Kaur [Tue, 16 Apr 2019 17:28:20 +0000 (18:28 +0100)]
Use dev/null instead of tmp file
Use dev/null fd (instead of using fd from temporary file) when
screenshot fd is passed as null, as file deletion does not need
to be handled for dev/null.
Test: Take interactive bugreport (which does not need screenshot)
manually using shell (which calls bugreport API)
Bug:
128981582
Merged-In: I1719899e6cf3bffe1a96849691c051ff4f3a05ec
Change-Id: I1719899e6cf3bffe1a96849691c051ff4f3a05ec
Abhijeet Kaur [Mon, 15 Apr 2019 09:16:42 +0000 (10:16 +0100)]
Notify the caller about I/O error
Call onError for caller of BugreportManager.start() if any io error
occurs during runtime.
Bug:
128981582
Test: Tested manually by throwing IO exception in the code when
bugreport is being generated, onError of the callback successfully
called.
Merged-In: I9033d85d392b926041fc26a86806a370752d062d
Change-Id: I9033d85d392b926041fc26a86806a370752d062d
Mill Chen [Thu, 2 May 2019 14:30:58 +0000 (22:30 +0800)]
Change color of background for popup window
Add an attribute colorPopupBackground and set it in both Material and
DeviceDefault themes. This attribute in the Material theme will be set
to colorBackground and it will be colorBackgroundFloating in the
DeviceDefault theme.
Bug:
129993543
Test: visual
Change-Id: Id0572e38dd550930873d59161d84d0ab79283ee2
Julia Reynolds [Fri, 3 May 2019 13:39:19 +0000 (09:39 -0400)]
Metrics constants for new screen
Test: make
Bug:
128445911
Change-Id: I8577ed12b6c60e7a8996ec313d22b2adcba12b6a
Abhijeet Kaur [Fri, 29 Mar 2019 17:04:48 +0000 (17:04 +0000)]
Pass valid file descriptor to binder
screenshotFd needs to be optional in Bugreport API. For some bugreports
such as wifi,telephony, interactive etc taking a screenshot is not
required.
Initially, the API was sending invalid file descriptor to the Binder, but
that binder transaction could not be completed as Binder validates the
file descriptor to be valid and not-null.
Adding a tmp.png screenshot file to pass to bugreport API call. In a
separate CL in frameworks/native, added check that the bugreports that
don't require screenshots would not use this file descriptor value.
Bug:
128981582
Test: Tested by taking bugreports using Bugreport API in shell
Merged-In: I3233f5753506ae159c9fa591742e6b99e361039b
Change-Id: I3233f5753506ae159c9fa591742e6b99e361039b
Robert Snoeberger [Thu, 2 May 2019 20:44:11 +0000 (16:44 -0400)]
Consider lock icon when determining minimum top padding.
Otherwise, the clock will be able to overlap with the lock icon in some
situations. A side effect of this change is that only 2 notifications
will be displayed when the now playing indication is present.
Fixes:
131311937
Test: manual - need three visible notifs + now playing indication
Change-Id: Ieffa97bc20a45fb82fb258deca7c1f289b0ce003
Julia Reynolds [Thu, 2 May 2019 21:20:25 +0000 (17:20 -0400)]
Colors updates for guts
For a11y and night mode and night mode a11y
Fixes:
129507563
Test: manual
Change-Id: I0b472db88feddb6f92aa265524e84afbe30c824b
Ricky Wai [Fri, 3 May 2019 13:24:58 +0000 (13:24 +0000)]
Merge "Restrict background activity start by task" into qt-dev
Fabian Kozynski [Fri, 26 Apr 2019 19:40:43 +0000 (15:40 -0400)]
Fix pressing back on bouncer
If the user goes back when on Bouncer, do not animate the panel up. In
particular, DO NOT just animate the header out.
Additionally, only reset the bouncer if it's scrimmed and not
needFullScreen.
Test: manual, use flow of b/
130525889
Test: swipe up in Keyguard and press back goes back to keyguard
Test: Expand shade and press Reply on notification, going back on
bouncer shows expanded shade
Test: Open camera, open gallery, going back on bouncer goes back to
camera
Test: SIM card bouncer, going back does not break
Fixes:
130525889
Change-Id: I122cf0858acbfdaa514efb32190369d95df6e001
TreeHugger Robot [Fri, 3 May 2019 13:02:54 +0000 (13:02 +0000)]
Merge "Don't allow enabling system decorations for untrusted virtual displays (1/2)" into qt-dev
Robert Snoeberger [Fri, 3 May 2019 12:55:57 +0000 (12:55 +0000)]
Merge "Compute background color." into qt-dev
Anton Hansson [Tue, 30 Apr 2019 15:57:10 +0000 (16:57 +0100)]
Make DocumentCursor opt-out of having a self-observer
A content observer is registered by default when setting a notification
uri for a Cursor, in order to make the Cursor correctly notify listeners
of all changes to its URI, not just the ones made locally.
This is not required for DocumentCursor, because it already has a
separate mechanism for watching for all changes made to the data backed
by the cursor.
This avoids DocumentProviders having to call into system_server to
answer queries about directory trees, which can otherwise add up to
significant amounts of time for large directory trees. In my tests,
this improves the performance of iterating through a directory by
roughly 20%. This number is likely to be higher on non-test devices,
that probably see more binder contention, and will also depend on the
structure of the file tree.
Bug:
130276310
Test: SAF test app
Change-Id: I386363b0608c420e9847caf6fbf6686641c955e2