OSDN Git Service
Matt Casey [Wed, 5 Jun 2019 19:02:35 +0000 (19:02 +0000)]
Merge "Always show ScreenDecorations when in gesture nav mode." into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 18:50:32 +0000 (18:50 +0000)]
Merge "Always prompt for limited connectivity." into qt-dev
Xiangyu/Malcolm Chen [Wed, 5 Jun 2019 18:03:17 +0000 (18:03 +0000)]
Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 17:36:41 +0000 (17:36 +0000)]
Merge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev
Andrii Kulian [Wed, 5 Jun 2019 16:38:17 +0000 (16:38 +0000)]
Merge "Always start launcher when empty home stack is being resumed" into qt-dev
Makoto Onuki [Wed, 5 Jun 2019 15:54:05 +0000 (15:54 +0000)]
Merge "Avoid creating multiple death recipients for same observer" into qt-dev
Lorenzo Colitti [Tue, 4 Jun 2019 10:29:50 +0000 (19:29 +0900)]
Always prompt for limited connectivity.
Bug:
130766237
Test: See subsequent CL in same patch series.
Change-Id: I45b4a7ba2e21c0be868939d8c7bb78891d69c48b
Gavin Corkery [Wed, 5 Jun 2019 15:29:22 +0000 (15:29 +0000)]
Merge "Perform userdata backup for all matching rollbacks" into qt-dev
Antoan Angelov [Wed, 5 Jun 2019 14:17:39 +0000 (14:17 +0000)]
Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
Matt Casey [Tue, 4 Jun 2019 22:55:51 +0000 (18:55 -0400)]
Always show ScreenDecorations when in gesture nav mode.
ScreenDecorations host the handles for the assist gesture, which are
available on non-rounded phones as well.
Only show the overlay that is actually in use.
Bug:
134487710
Test: atest ScreenDecorationsTest, manual testing on walleye
Change-Id: I00d1a274d5a236fb2f4679d80bd38db6f24d06bc
TreeHugger Robot [Wed, 5 Jun 2019 13:17:33 +0000 (13:17 +0000)]
Merge "Do not resume activities that were launched behind" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 13:02:51 +0000 (13:02 +0000)]
Merge "Sharesheet - Adjust button bar insets" into qt-dev
Richard Uhler [Wed, 5 Jun 2019 12:04:32 +0000 (13:04 +0100)]
Don't send SessionCallbacks for DRY_RUN sessions.
Because DRY_RUN sessions shouldn't have any side effect except to tell
us if verification passed or failed.
Bug:
123753157
Test: atest CtsStagedInstallHostTestCases, with new test added.
Change-Id: Ide42759d80063da76955ef120b21b077197c15e3
Gavin Corkery [Tue, 4 Jun 2019 21:53:15 +0000 (22:53 +0100)]
Perform userdata backup for all matching rollbacks
Currently, the snapshot of userdata is performed by traversing
the list of rollbacks and matching based on the package name, returning
once a match is found and the userdata has been backed up. There may
be cases where multiple rollbacks match this package name, so we should
not return until we have checked all rollbacks.
Bug:
134485920
Test: atest RollbackTest
Test: atest StagedRollbackTest
Change-Id: If6051ba11b2163e282e7bb61ff02e669ba1079ab
TreeHugger Robot [Wed, 5 Jun 2019 11:45:42 +0000 (11:45 +0000)]
Merge "Fix a bug about missing committing app visibility" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 11:31:25 +0000 (11:31 +0000)]
Merge "Uncanonicalize URIs when searching for audio-coupled haptics." into qt-dev
Matt Pietal [Wed, 5 Jun 2019 11:08:08 +0000 (07:08 -0400)]
Sharesheet - Adjust button bar insets
Button bar insets were set before the inset callback. Add a call to
layout the button bar during the inset callback.
Bug:
134472146
Test: Steps from defect
Change-Id: I0246f06315cd05343002071dd6d217d41e0059ca
Tiger Huang [Wed, 29 May 2019 14:55:29 +0000 (22:55 +0800)]
Fix a bug about missing committing app visibility
If we have pending transitions, committing visibility would be delayed
until the opening apps are all drawn. However, the original logic in
AppWindowToken.transferStartingWindow would just remove the app from
mOpeningApps which caused the app visibility would not be committed.
This CL doesn't remove the app from mOpeningApps while transferring the
starting window. Instead, we set a flag to indicate that we no longer
need to apply an animation to the app. In this way, the app visibility
will be committed.
Fix:
131180307
Test: atest WindowManagerSmokeTest
Test: Steps in the bug
Change-Id: Ia84d73136dcbda07ae055b91f5a038e1bc070d2a
Jorim Jaggi [Wed, 5 Jun 2019 10:00:16 +0000 (10:00 +0000)]
Merge "Do not hold lock when trying to get snapshot" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 05:08:02 +0000 (05:08 +0000)]
Merge "Switch DDS during MSIM emergency call" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 04:40:45 +0000 (04:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 04:40:36 +0000 (04:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 5 Jun 2019 03:14:30 +0000 (20:14 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I356f6734d4c95d538271eabbc649bca4d2eb848b
Bill Yi [Wed, 5 Jun 2019 03:09:14 +0000 (20:09 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If4bcd8bbd4cfea27f62b11f628420aaff2cd02d3
Louis Chang [Thu, 30 May 2019 07:35:40 +0000 (15:35 +0800)]
Do not resume activities that were launched behind
Activities was restarted while making it visible, but we shouldn't
resume it if the activity was launched behind.
Bug:
133325849
Test: atest RecentsAnimationTest
atest ActivityVisibilityTests
atest ActivityStarterTests
Change-Id: I4324ce443b8ccca9ac256e382507243fc4e30792
TreeHugger Robot [Wed, 5 Jun 2019 01:11:38 +0000 (01:11 +0000)]
Merge "Fix issue where panel opacity could be wrong" into qt-dev
Alex Salo [Wed, 5 Jun 2019 00:50:14 +0000 (00:50 +0000)]
Merge "Don't call ActivityManagerService on main thread" into qt-dev
Mathieu Chartier [Wed, 5 Jun 2019 00:22:39 +0000 (00:22 +0000)]
Merge "Fix some bugs in dumpsys meminfo attribution" into qt-dev
Makoto Onuki [Thu, 30 May 2019 18:36:55 +0000 (11:36 -0700)]
Avoid creating multiple death recipients for same observer
Also do a WTF when the same process registers 1000 observers with the
same observer instance.
Fix:
133388082
Test: manual test: Launch leaky app and make sure WTF is raised
Test: manual test: Open contacts app, close, and make sure the
"Total number of unique observers" goes back
Test: manual test: Open contacts app, kill it, and make sure the
"Total number of unique observers" goes back
Test: manual test: Open contacts app while contacts are syncing,
and make sure the activity refreshes itself.
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Test: atest FrameworksCoreTests:BinderDeathDispatcherTest
Test: atest FrameworksServicesTests:com.android.server.content.ObserverNodeTest
Change-Id: Id738ca66023c029b92db3d108d99a9fc240fe77c
TreeHugger Robot [Tue, 4 Jun 2019 23:03:29 +0000 (23:03 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 22:55:34 +0000 (22:55 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
Tracy Zhou [Tue, 4 Jun 2019 22:05:36 +0000 (22:05 +0000)]
Merge "Fix the logic of canceling previous scheduled fade in animation." into qt-dev
Hui Yu [Tue, 4 Jun 2019 21:59:52 +0000 (21:59 +0000)]
Merge "Only set mStartClockTime when device is fully charged." into qt-dev
Bill Yi [Tue, 4 Jun 2019 21:44:42 +0000 (14:44 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ieb522c4dcc354e5a984dd8cb6f7111fac4c5e8d2
TreeHugger Robot [Tue, 4 Jun 2019 21:34:23 +0000 (21:34 +0000)]
Merge "Add system option to disable lock profiling" into qt-dev
Alex Salo [Thu, 30 May 2019 22:24:54 +0000 (15:24 -0700)]
Don't call ActivityManagerService on main thread
AttentionManagerService is getting called from PMS with its mLock held.
PowerManagerService can't up-call to the system, thus AMS can't call
into ActivityManagerService via bindService() - put it on another
thread.
Bug:
133077390
Test: manually
Change-Id: I373163c188bc8dbbd3d4f708073a875a57cfed73
Winson Chung [Tue, 4 Jun 2019 20:56:37 +0000 (20:56 +0000)]
Merge "Expose keyguard showing-but-occluded state to launcher" into qt-dev
Brad Ebinger [Thu, 30 May 2019 23:31:57 +0000 (16:31 -0700)]
Switch DDS during MSIM emergency call
Add carrier config to force DDS switch if device
does not support SUPL on non DDS for emergency and
also does not support control plane fallback.
Fixes:
131203278
Merged-In: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
Change-Id: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
Mathieu Chartier [Tue, 4 Jun 2019 20:11:16 +0000 (13:11 -0700)]
Fix some bugs in dumpsys meminfo attribution
ART image files can end with either .art or .art] depending on where
they are loaded from, add handling for this.
Also fix subheap attribution to HEAP_ART_BOOT and HEAP_ART_APP for
the app image case.
Test: adb shell dumpsys meminfo `pid system_server`
Bug:
134509632
Change-Id: I98882466d7c2f31179b095b803af67d21c17306c
Andrii Kulian [Thu, 16 May 2019 20:18:04 +0000 (13:18 -0700)]
Always start launcher when empty home stack is being resumed
If home stack becomes empty for some reason and we're trying to find
and resume an activity in it - make sure to start home instead of
looking for the next top focusable stack. This will make sure that
home stack won't be left empty if a different display is currently
focused or higher in z-order.
There may be no activity in a home stack if launcher crashed, or at
boot when it switches between different activities.
Bug:
131440583
Test: atest WmTests:RootActivityContainerTests#testResumeFocusedStacksStartsHomeActivity_NoActivities
Test: atest WmTests:RootActivityContainerTests#testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen
Change-Id: I955d7d4827b2598f9c98cb30ec3fedac4e403a9d
Jovana Knezevic [Tue, 4 Jun 2019 20:10:43 +0000 (20:10 +0000)]
Merge "Removing requirement for FEATURE_DEVICE_ADMIN in DPMS.setActivePasswordState()." into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 19:11:52 +0000 (19:11 +0000)]
Merge "Post finishing after transition in onBackPressed" into qt-dev
Wale Ogunwale [Tue, 4 Jun 2019 19:04:53 +0000 (19:04 +0000)]
Merge "Revert "Collect NeededUriGrants without holding locks."" into qt-dev
Lucas Dupin [Tue, 4 Jun 2019 18:40:42 +0000 (11:40 -0700)]
Fix issue where panel opacity could be wrong
Test: manual
Fixes:
133317529
Change-Id: I642df0999a9552be33f0385a42cbfcfb84bafaa1
TreeHugger Robot [Tue, 4 Jun 2019 18:03:32 +0000 (18:03 +0000)]
Merge "Rendering fixes for assist handles." into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 18:00:31 +0000 (18:00 +0000)]
Merge "Allow passing in acceptUnvalidated without explicitlySelected" into qt-dev
Jorim Jaggi [Tue, 4 Jun 2019 17:51:45 +0000 (19:51 +0200)]
Do not hold lock when trying to get snapshot
Also never hit the disk for content suggestions, that doesn't
make any sense.
Test: Trace
Fixes:
134482630
Change-Id: Ie79da77152782973e1188e854fd6ebb3ca1df9cc
Winson Chung [Tue, 4 Jun 2019 17:25:50 +0000 (10:25 -0700)]
Expose keyguard showing-but-occluded state to launcher
Bug:
133871965
Test: Verify with sysui dump in various states
Change-Id: I39c99712d525e0823a86d32510beb0a35103dd5e
Wale Ogunwale [Tue, 4 Jun 2019 13:44:14 +0000 (13:44 +0000)]
Revert "Collect NeededUriGrants without holding locks."
This reverts commit
344ce7ce703f806f50ea253047d6dbbb10eaa424.
Bug:
115619667
Bug:
134494852
Reason for revert: Causes "Permission Denial: opening provider" error
Change-Id: I9986618b6e338fef9843b2103da6a728a36c6ea6
Makoto Onuki [Tue, 4 Jun 2019 16:57:23 +0000 (16:57 +0000)]
Merge "Fix slow query log." into qt-dev
Hongyi Zhang [Tue, 4 Jun 2019 16:47:35 +0000 (16:47 +0000)]
Merge "Fix location API usage for API_ADD_GNSS_MEASUREMENTS_LISTENER" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 16:39:34 +0000 (16:39 +0000)]
Merge "Skip legacy-fs-verity setup if file already has it" into qt-dev
Matt Casey [Mon, 3 Jun 2019 17:59:47 +0000 (13:59 -0400)]
Rendering fixes for assist handles.
Compute the arc angle based upon a fixed distance along the perimeter.
If that angle exceeds 90 degrees, add "arms" extending from the 90
degree corner and lighten the stroke slightly.
Fixes corner display on small-radius phones.
Bug:
134487710
Fixes:
133834204
Test: Visual inspection with UX across several devices.
Change-Id: I6ce625d14bd7224114da311e54c86b87e92533a1
TreeHugger Robot [Tue, 4 Jun 2019 15:38:18 +0000 (15:38 +0000)]
Merge "Fix cannot create Nat-T keepalive on mobile data" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 15:06:08 +0000 (15:06 +0000)]
Merge "Fix atoi build errors" into qt-dev
Lorenzo Colitti [Tue, 4 Jun 2019 05:37:26 +0000 (14:37 +0900)]
Allow passing in acceptUnvalidated without explicitlySelected
This will allow wifi to tell ConnectivityService that partial
connectivity is acceptable even if the network is not explicitly
selected.
This is needed when the user selects a partial connectivity
network and tells the system to connect to the network, and never
to ask again. In such cases, the system must switch to the
network even if it is not explicitly selected.
Bug:
130766237
Test: atest FrameworksNetTests
Test: unit tests in an upcoming CL
Change-Id: I13465090b7b1c0bf5dc83362387a5428d77b7e1d
Michael Wright [Tue, 4 Jun 2019 14:26:25 +0000 (15:26 +0100)]
Uncanonicalize URIs when searching for audio-coupled haptics.
It's possible that the Ringtone URIs will be pre-canonicalized, which
don't maintain equality when compared to uncanonicalized URIs. In order
to handle this case, we just need to uncanonicalize both URIs before
comparing.
Fixes:
134394754
Test: manual, verified audio-coupled haptics works again on B1C1
Change-Id: I2e216db1013d5bc0db0a1622e0670853663f0db8
Alan Stokes [Tue, 21 May 2019 13:54:28 +0000 (14:54 +0100)]
Cleanup background activity starts for release.
This removes the parts of the feature that were only needed in beta
releases:
- Toast when a start is or would be blocked.
- Configurable whitelist of exempt apps.
- Global setting to disable.
Not to be submitted until after beta 5 is cut.
Bug:
131747138
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest
Change-Id: I3d8b9c72c8fac86b93ac57a8a1988f4133043af8
Bill Yi [Tue, 4 Jun 2019 14:18:02 +0000 (07:18 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ie4cd11a6eda1033396c3cf7dc824128f580a4665
junyulai [Tue, 4 Jun 2019 12:26:38 +0000 (05:26 -0700)]
Fix cannot create Nat-T keepalive on mobile data
Currently phone process fail to unparcel NattKeepalivePacketData
since it is not in framework. Moves NattKeepalivePacketData to
framework to make it can be utilized by telephony.
This change also removes the error feedback triggered by calling
add keepalive packet filter to an unsupported network agent. This
is misinterpreted by KeepaliveTracker that start keepalive is
failing.
Bug:
134048171
Test: 1. atest android.net.cts.ConnectivityManagerTest#testSocketKeepaliveLimitTelephony
2. atest android.net.cts.ConnectivityManagerTest
3. atest FrameworksNetTests
4. atest FrameworksTelephonyTests
Merged-In: If630d5b339aa722717258c721daa8ead8c431e2d
Change-Id: Ic0f168be6f5a6263a5e0565b6381dcb5c645660f
(cherry picked from commit
9ede677bb2c081ccdc41c8c3c19c949114bcc138)
TreeHugger Robot [Tue, 4 Jun 2019 12:36:12 +0000 (12:36 +0000)]
Merge "Fix loading classloader for plugins whitelisted by component name" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 12:35:42 +0000 (12:35 +0000)]
Merge "Dismiss all snoozed notifications upon swiping another" into qt-dev
Alan Stokes [Tue, 4 Jun 2019 07:46:52 +0000 (07:46 +0000)]
Merge "Do not allow app to start background activity after stop app switches triggered" into qt-dev
Ryan Mitchell [Tue, 4 Jun 2019 06:01:34 +0000 (23:01 -0700)]
Fix atoi build errors
Use strtol instead of atoi to check vendor partition version.
Bug:
119390857
Test: manual
Change-Id: I49c5963d8bbc5a803b3ccc0dd41d7bd7f2a42226
Lorenzo Colitti [Tue, 4 Jun 2019 03:57:07 +0000 (03:57 +0000)]
Merge "Revert "[DO NOT MERGE] Handle config override via settings correctly"" into qt-dev
Yao Chen [Tue, 4 Jun 2019 03:31:15 +0000 (03:31 +0000)]
Merge "Fix a bug in saving local history of the metrics report." into qt-dev
Lorenzo Colitti [Tue, 4 Jun 2019 03:18:12 +0000 (03:18 +0000)]
Revert "[DO NOT MERGE] Handle config override via settings correctly"
This reverts commit
aa5ba4f75ff8391ce14f8b357450ca4be98c589c.
Reason for revert: Breaks presubmits. Bootloops blueline on qt-dev.
Bug:
134445287
Change-Id: I6ad17fa66a1ddc681339966acd007ebd43d7ba3b
TreeHugger Robot [Tue, 4 Jun 2019 02:27:26 +0000 (02:27 +0000)]
Merge "Ignore setAssistHintVisible if overlays are not available." into qt-dev
Kevin Yao [Tue, 4 Jun 2019 01:29:21 +0000 (01:29 +0000)]
Merge "User education support on disambiguation dialog" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 01:20:51 +0000 (01:20 +0000)]
Merge "Fix regression in swiping up from lockscreen" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 00:54:05 +0000 (00:54 +0000)]
Merge "AudioService: hearing aid volume updates for voice vs media" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 23:58:17 +0000 (23:58 +0000)]
Merge "Don't auto-connect to networks that have no/limited connectivity." into qt-dev
Matt Casey [Mon, 3 Jun 2019 23:21:34 +0000 (19:21 -0400)]
Ignore setAssistHintVisible if overlays are not available.
Fixes:
134066197
Test: TBD
Change-Id: If18322aa939e3433f5c3543699f91d06af7989e1
TreeHugger Robot [Mon, 3 Jun 2019 22:52:59 +0000 (22:52 +0000)]
Merge "RootViewImpl: Fix measure size hint for WRAP_CONTENT windows" into qt-dev
Svetoslav Ganov [Mon, 3 Jun 2019 22:38:35 +0000 (22:38 +0000)]
Merge "[DO NOT MERGE] Handle config override via settings correctly" into qt-dev
Chavi Weingarten [Mon, 3 Jun 2019 22:22:49 +0000 (22:22 +0000)]
Merge "Clear VISIBLE_FOR_USER flag when isHiddenFromUser is true" into qt-dev
Winson Chung [Mon, 3 Jun 2019 21:29:20 +0000 (14:29 -0700)]
Fix regression in swiping up from lockscreen
Bug:
134391878
Test: Swipe up to assistant from lockscreen
Change-Id: I32fe638de507775c5744344bc5e71509e4a5b0e1
Yao Chen [Mon, 3 Jun 2019 21:45:54 +0000 (14:45 -0700)]
Fix a bug in saving local history of the metrics report.
A condition was reversed in code refactoring during previous code review.
Test: unit tests added for all 4 combination cases.
Bug:
134417583
Change-Id: Id79a827ec7a5404b9006769f9595de773b4724ef
Victor Hsieh [Fri, 31 May 2019 18:07:28 +0000 (11:07 -0700)]
Skip legacy-fs-verity setup if file already has it
Test: 1. put com.foo.apk in /system/priv-app
2. adb install-multiple -r -p com.foo split.apk
3. adb install-multiple -r -p com.foo split.apk (second time, only
succeed with this change)
Test: update a priv app (no regression)
Bug:
129509604
Change-Id: I591dd4504e3ba6f1499ebd045dc4f1adbd88d4e3
TreeHugger Robot [Mon, 3 Jun 2019 21:48:24 +0000 (21:48 +0000)]
Merge "Revert "Offload role manager work to background thread"" into qt-dev
Hongyi Zhang [Mon, 3 Jun 2019 21:27:39 +0000 (14:27 -0700)]
Fix location API usage for API_ADD_GNSS_MEASUREMENTS_LISTENER
fix a typo when comparing gnssDataProvider, which leads to a bug of
logging API usage of add/remove NavigationMessageListener as API_ADD_GNSS_MEASUREMENTS_LISTENER
Test: toggling button "Measurements" in apk Gnssloger
Bug:
133906682
Change-Id: I81c386ebba01ec89d73347a979d307fbcd7b3617
Jean-Michel Trivi [Fri, 31 May 2019 23:21:59 +0000 (16:21 -0700)]
AudioService: hearing aid volume updates for voice vs media
Fix interactions between hearing aid volume control and Sound
Settings and Slice UIs with the following changes:
When receiving volume change, only change the hearing aid volume
if the device is hearing aid and the stream type to change matches
the stream type returned by AudioService.getHearingAidStreamType().
Modify AudioService.getHearingAidStreamType() to rely on the
audio mode OR the activity of the VOICE_COMMUNICATION* usage.
Add a listener of audio playback activity to monitor the start
and end of the use of VOICE_COMMUNICATION* to reset the hearing
aid volume to that of media.
Do this only when HEARING_AID device is connected: register/unregister
callback for playback activity according to hearing aid connections.
Bug:
129163231
Test: use Sound Settings UI to control voice vol outside of call, verify
volume is unchanged when listening to media later.
Change-Id: I7af9554d04139e1a3929efa53cdcb04e37878571
Tracy Zhou [Mon, 3 Jun 2019 05:57:39 +0000 (22:57 -0700)]
Fix the logic of canceling previous scheduled fade in animation.
animateBoundsImpl() gets called twice when swiping up to home in
portrait mode (one time for initial pip, one time for replacing it above
shelf), while it only gets called once in other scenarios. The current
implementation assumes that it gets called twice, so it doesn't
correctly handle those one standalone call scenarios.
Test: Manual
Test: atest PinnedStackTests
Fixes:
133507275
Change-Id: I3df26ac8ed2c85ff4f1a8c4410a9a8a8f0d70f28
TreeHugger Robot [Mon, 3 Jun 2019 21:29:16 +0000 (21:29 +0000)]
Merge "Sharesheet - Adjust dark mode colors for GAR" into qt-dev
Hui Yu [Mon, 3 Jun 2019 20:58:20 +0000 (13:58 -0700)]
Only set mStartClockTime when device is fully charged.
The mStartClockTime represents the time device is fully charged.
Currently mStartClockTime is set again whenever the device clock
changes. Since the device clock could change many times, we lost
original mStartClockTime value, unreasonable mStartClockTime values
for example 26 days could be returned (because the device clock changes)
when getStartClockTime() is called.
A better solution is to only set mStartClockTime when device is fully
charged, the value is persisted across device reboot. When getStartClockTime()
is called, we return adjusted value according to current time.
Change-Id: I49ded1519bc31daf1a51a572325cbbe67f1abd09
Fix:
132914064
Test: Manual test, checking Settings--Battery--Last full Charge
Heemin Seog [Mon, 3 Jun 2019 21:17:01 +0000 (21:17 +0000)]
Merge "Small fixes to CarSysUI Volume Dialog" into qt-dev
Makoto Onuki [Mon, 3 Jun 2019 20:57:21 +0000 (20:57 +0000)]
Merge "Remove STOPSHIP (disable debug flag) in WatchDog.java" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 20:31:59 +0000 (20:31 +0000)]
Merge "Remove stopship for idmap2 vendor sdk checking" into qt-dev
Jeff Sharkey [Mon, 3 Jun 2019 20:11:33 +0000 (20:11 +0000)]
Merge "Collect NeededUriGrants without holding locks." into qt-dev
Ritwika Mitra [Mon, 3 Jun 2019 19:15:49 +0000 (19:15 +0000)]
Merge "Initializing the Telephony Sms DB based on RoleManager.ROLE_SMS" into qt-dev
Hai Zhang [Mon, 3 Jun 2019 18:50:33 +0000 (18:50 +0000)]
Revert "Offload role manager work to background thread"
This reverts commit
f105c93c4aa6d1cbebe94c5c8d7d6297258f6fc9.
Reason for revert: b/
132974796#23 the offloaded thread will be holding a lock for a noticeable period of time and cause contention.
Bug:
132974796
Change-Id: Ic81a2e3ee7226266c8f97b606fc1a2834240f689
TreeHugger Robot [Mon, 3 Jun 2019 18:29:30 +0000 (18:29 +0000)]
Merge changes from topic "SoftHardStoragePerm" into qt-dev
* changes:
Link to SoftRestrictedPermissionPolicy twin
Pre-Q storage perm should behave hard restricted
Factor out soft restricted permissions policy
Ryan Mitchell [Mon, 3 Jun 2019 17:48:48 +0000 (10:48 -0700)]
Remove stopship for idmap2 vendor sdk checking
Idmap now checks if the version of the vendor partition is greater than
or equal to 29 or a development codename to enable enforcement of
overlayable resources.
Bug:
119390857
Test: manual
Change-Id: Ica25800432993beb7464436d4fba7cb391e621ef
Ned Burns [Mon, 3 Jun 2019 18:21:19 +0000 (18:21 +0000)]
Merge "Allow notification reordering after user adjusts importance" into qt-dev
TreeHugger Robot [Mon, 3 Jun 2019 18:09:34 +0000 (18:09 +0000)]
Merge "Fix a bug about missing onConfigurationChanged" into qt-dev
Steve Elliott [Fri, 31 May 2019 20:55:03 +0000 (16:55 -0400)]
Fix loading classloader for plugins whitelisted by component name
Fixes:
134162974
Test: manual
Change-Id: I1e6df38b455eb0038f1b255724619ba53561ff2a
chaviw [Wed, 29 May 2019 00:05:28 +0000 (17:05 -0700)]
Clear VISIBLE_FOR_USER flag when isHiddenFromUser is true
The current code was clearing the LEGACY_POLICY_VISIBILITY flag when
isHiddenFromUser was returning true. This was causing issues since there was no
path to add that flag when the Window was visible for that user. The correct
way is to clear the VISIBLE_FOR_USER flag since that flag will get added again
when the window is visible for that user.
Fixes:
133235040
Test: Switch from one user to another and back. Launcher is visible.
Change-Id: I5161dd83a7a0811a7e3a6ab2af439f352f967a6c
Ritwika Mitra [Wed, 29 May 2019 20:05:01 +0000 (13:05 -0700)]
Initializing the Telephony Sms DB based on RoleManager.ROLE_SMS
Fix:
133356079
Test: manual
Change-Id: I49dcdc450e1113ffae887ad488d39f74a96787ed
Fabian Kozynski [Mon, 3 Jun 2019 17:41:12 +0000 (17:41 +0000)]
Merge "Revert "Change carrier name shown No Service to ECO"" into qt-dev
Makoto Onuki [Fri, 31 May 2019 23:03:50 +0000 (16:03 -0700)]
Fix slow query log.
SQLiteDebug.Const isn't supposed to be preloaded.
Fix:
134176355
Test: "setprop db.log.slow_query_threshold.10045 0" and make sure ...
it works for UID 10045
Change-Id: I06ca1531e968faa2378d0cb7f627e2c6a87cf502