OSDN Git Service
Matt Casey [Thu, 6 Jun 2019 04:47:28 +0000 (04:47 +0000)]
Merge "Updated entrance animation for assistant handles." into qt-dev
Winson Chung [Thu, 6 Jun 2019 03:43:47 +0000 (03:43 +0000)]
Merge "Fix regressions in PiP movement bounds handling" into qt-dev
Bryan Ferris [Thu, 6 Jun 2019 03:42:48 +0000 (20:42 -0700)]
[automerger skipped] Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev am:
7af053390a am:
21cd2569bf am:
4871c475b2 -s ours
am:
459844b640 -s ours
am skip reason: change_id Ib032f800edb0416cc15f01a34954340d0d0ffa78 with SHA1
27d4734049 is in history
Change-Id: Ib3882a5188685a508d17d519f065a8676bc74652
Michael Wachenschwanz [Thu, 6 Jun 2019 03:40:51 +0000 (20:40 -0700)]
[automerger skipped] [automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618 am:
2ca66d4d10 am:
1c8a632ad2 am:
7eec0a8448
am:
57f6c0deb2 -s ours
am skip reason: change_id Iaf80a0ad711762992b8ae60f76d861c97a403013 with SHA1
06041db074 is in history
Change-Id: Ic15424d4bb5a2bcaf0d04bd302a36a376b814022
Bryan Ferris [Thu, 6 Jun 2019 03:07:23 +0000 (20:07 -0700)]
[automerger skipped] Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev am:
7af053390a am:
21cd2569bf
am:
4871c475b2 -s ours
am skip reason: change_id Ib032f800edb0416cc15f01a34954340d0d0ffa78 with SHA1
27d4734049 is in history
Change-Id: I73474b928179591981f7dde4520fb3f6695d9e3f
Michael Wachenschwanz [Thu, 6 Jun 2019 03:05:28 +0000 (20:05 -0700)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618 am:
2ca66d4d10 am:
1c8a632ad2
am:
7eec0a8448
Change-Id: Ic2cc203ee994927ec0b7f355917a15010f6e2a7c
TreeHugger Robot [Thu, 6 Jun 2019 01:46:13 +0000 (01:46 +0000)]
Merge "Remove alarms of cancelled pending intents" into qt-dev
Sudheer Shanka [Thu, 6 Jun 2019 01:32:03 +0000 (01:32 +0000)]
Merge "Fix Environment.isExternalStorageLegacy() impl." into qt-dev
TreeHugger Robot [Thu, 6 Jun 2019 01:24:23 +0000 (01:24 +0000)]
Merge "Fixed an issue where the insets of the cutout weren't respected" into qt-dev
Bryan Ferris [Thu, 6 Jun 2019 00:41:32 +0000 (17:41 -0700)]
Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev am:
7af053390a
am:
21cd2569bf
Change-Id: If444013b7d35152ca49ccc20a89841b1e5582c62
Chalard Jean [Thu, 6 Jun 2019 00:40:52 +0000 (17:40 -0700)]
[automerger skipped] [RESTRICT AUTOMERGE] Protect VPN dialogs against overlay.
am:
27d4734049 -s ours
am skip reason: subject contains skip directive
Change-Id: Iee025417ba496ea02b6c68ef2c7bf4422f77c6a0
Michael Wachenschwanz [Thu, 6 Jun 2019 00:38:43 +0000 (17:38 -0700)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618 am:
2ca66d4d10
am:
1c8a632ad2
Change-Id: I6cc244c8e40d66d639faef43ec8d3a23bfc11df7
Bryan Ferris [Thu, 6 Jun 2019 00:34:26 +0000 (17:34 -0700)]
Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev
am:
7af053390a
Change-Id: Ie90797e6c620819b92b2bd32ad8a07363fbee947
Michael Wachenschwanz [Thu, 6 Jun 2019 00:07:58 +0000 (17:07 -0700)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618
am:
2ca66d4d10
Change-Id: I452bc18a9cebc417e7c4499c2bebf8fd3cc0f1ce
Bryan Ferris [Thu, 6 Jun 2019 00:01:53 +0000 (00:01 +0000)]
Merge changes from topic "am-
641f3aa3-ebd9-46aa-8f39-
1f4ec4f86eb3" into oc-dev
* changes:
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2 am:
caf19dfbb8 am:
8c3a23e6b1 am:
22a1644e1f
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2 am:
caf19dfbb8 am:
8c3a23e6b1
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2 am:
caf19dfbb8
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab am:
e2100ac8f2
[automerger] Protect VPN dialogs against overlay. am:
016c72c8ab
Protect VPN dialogs against overlay.
Winson Chung [Wed, 5 Jun 2019 04:20:41 +0000 (21:20 -0700)]
Fix regressions in PiP movement bounds handling
- When we return early when detecting when to skip applying the bounds
the stored bounds and rotation weren't being updated
- In landscape, the addition of the nav bar inset in the bottom pushed
the movement bounds to be out of range, which cause an incorrect
offset to be calculated
- Simplified the logic to calculate the offset for the adjustment for
IME and shelf -- keep track of the previous offset, check the previous
movement+offset bounds with the next movement+offset bounds and only
update if the PIP is currently between those two bounds
- Tweak to landscape policy, if there isn't enough space for the ime
offset, then don't apply it as a part of the shift
Bug:
126199952
Test: Go to landscape + pip, open IME and dismiss IME and ensure the
PIP is pushed off and restored correctly
Test: In portrait, test going from app/home/ime and verify that the right
offsets are applied, and then if the stack is not in the bounds of
the offset change, that it is not applied
Change-Id: I67eee7d321995f403137db940b06f685d0c919af
Suprabh Shukla [Fri, 31 May 2019 22:57:05 +0000 (15:57 -0700)]
Remove alarms of cancelled pending intents
When a pending intent is cancelled, the alarm is essentially defunct.
Keeping around this alarm takes unneeded memory and unreasonably counts
towards the per-uid cap of pending alarms.
Test: Unit test:
atest com.android.server.AlarmManagerServiceTest
Existing CTS:
atest CtsAlarmManagerTestCases
Bug:
132379078
Change-Id: I4c6d59d9ac79708d8daf40657e9773c715271f1e
Joe Onorato [Wed, 5 Jun 2019 22:13:55 +0000 (22:13 +0000)]
Merge "Do not include specific_mention sections in bugreports either." into qt-dev
Kevin Chyn [Wed, 5 Jun 2019 22:05:08 +0000 (22:05 +0000)]
Merge "Partial revert of ag/
7508382 to retain back button responsiveness in BiomtericPrompt" into qt-dev
Winson Chung [Wed, 5 Jun 2019 21:31:32 +0000 (21:31 +0000)]
Merge "Ensure that the IME switcher button is always touchable" into qt-dev
Matt Casey [Wed, 5 Jun 2019 21:14:09 +0000 (17:14 -0400)]
Updated entrance animation for assistant handles.
Implemented piecewise overshoot-like interpolation in collaboration with
UX. Visually, the animation works the same, it's just broken up into
several chained animations for simpler tweaking.
Test: Visual evaluation
Bug:
134487710
Change-Id: Ifd1f16393014f7c30413adf91aea7407fb526992
Kevin Chyn [Wed, 5 Jun 2019 20:43:58 +0000 (13:43 -0700)]
Partial revert of ag/
7508382 to retain back button responsiveness in BiomtericPrompt
The layout should be focusable and be set to focused in order for the
back button events to be received, since the key listener is set on
the layout.
Fixes:
133781042
Test: Back button cancels authentication
Test: No regression in tests mentioned in the CL above
Change-Id: I7d78bea400e8791e296a53603414095cfca62ec1
TreeHugger Robot [Wed, 5 Jun 2019 20:36:42 +0000 (20:36 +0000)]
Merge "Clarify documentation for sensor placement" into qt-dev
Fabian Kozynski [Wed, 5 Jun 2019 20:10:09 +0000 (20:10 +0000)]
Merge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 20:00:32 +0000 (20:00 +0000)]
Merge "Read the subtext of noti guts field on selection" into qt-dev
Selim Cinek [Wed, 5 Jun 2019 01:40:31 +0000 (18:40 -0700)]
Fixed an issue where the insets of the cutout weren't respected
Both the sampled region as well as the detection if it's in the
swipeable region did not factor in the cutout insets and
would calculate the wrong thing.
Bug:
132394665
Test: atest SystemUITests
Change-Id: I9d84f7c76bd987587546b69de6c2875dc5cb303b
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
Joe Onorato [Wed, 5 Jun 2019 18:57:05 +0000 (11:57 -0700)]
Do not include specific_mention sections in bugreports either.
Test: adb bugreport & manually verify
Bug:
134583922
Change-Id: I6b4df17fc729f78e70e126882bce611a33c8ef9a
TreeHugger Robot [Wed, 5 Jun 2019 18:50:32 +0000 (18:50 +0000)]
Merge "Always prompt for limited connectivity." into qt-dev
Brian Duddie [Wed, 5 Jun 2019 18:41:40 +0000 (11:41 -0700)]
Clarify documentation for sensor placement
Update documentation to be in sync with new language added to HAL
interface, which better explains the expected payload, format, and
usage.
Fixes:
133264933
Test: make docs, view HTML
Change-Id: Ib602674d395cb8c8e6431d23b051685c8d172560
Julia Reynolds [Wed, 5 Jun 2019 18:30:05 +0000 (14:30 -0400)]
Read the subtext of noti guts field on selection
When using a11y services
Test: manual with Talkback
Bug:
133649570
Change-Id: Id022e47bef9848e4c5237808659531f8d1c0c953
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
Android Build Merger (Role) [Wed, 5 Jun 2019 17:32:04 +0000 (17:32 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df am:
31737b4618
Change-Id: I780fc62bcad56b4f1518a9a84ff7a77914f5c722
Android Build Merger (Role) [Wed, 5 Jun 2019 17:32:01 +0000 (17:32 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f am:
d944d907df
Change-Id: Ia92e1831963623df7931de17b029a92bab7f9374
Android Build Merger (Role) [Wed, 5 Jun 2019 17:31:57 +0000 (17:31 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251 am:
6d72c0681f
Change-Id: I38fbeaf20d21dd174e2b022196446631c20b2367
Android Build Merger (Role) [Wed, 5 Jun 2019 17:31:54 +0000 (17:31 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21 am:
86c9bdd251
Change-Id: I16e96c2b33f18459189bfff359ae85483667a202
Android Build Merger (Role) [Wed, 5 Jun 2019 17:31:48 +0000 (17:31 +0000)]
[automerger] Clear the Parcel before writing an exception during a transaction am:
f8ef5bcf21
Change-Id: I416ed302e6c680fd006bd9b38565ebfc8b132084
Michael Wachenschwanz [Thu, 16 May 2019 05:58:15 +0000 (22:58 -0700)]
Clear the Parcel before writing an exception during a transaction
This prevents any object data from being accidentally overwritten by the
exception, which could cause unexpected malformed objects to be sent
across the transaction.
Test: atest CtsOsTestCases:ParcelTest#testExceptionOverwritesObject
Bug:
34175893
Change-Id: Iaf80a0ad711762992b8ae60f76d861c97a403013
Merged-In: Iaf80a0ad711762992b8ae60f76d861c97a403013
Winson Chung [Wed, 5 Jun 2019 16:57:01 +0000 (09:57 -0700)]
Ensure that the IME switcher button is always touchable
Bug:
134521910
Test: Manual, plug in external keyboard and ensure the IME
switcher is tappable
Change-Id: Ic76fc3f85f2862a628810888b651ecaa284a4a5f
Fabian Kozynski [Wed, 5 Jun 2019 16:42:06 +0000 (12:42 -0400)]
Update KeyguardMonitor when UnlockMethod changes
If UnlockMethodChanges but StatusBarState does not, KeyguardMonitor was
not updated. This happened when user changed and may have made
KeyguardMonitor believe it was not secure.
Test: manual: Create another user and and have "Add users on lock
screen" off. Switch from secondary to owner without going out of
KEYGUARD
Fixes:
134447252
Change-Id: Id39bf876d6e573002965d0aa14fd6e54c323aba9
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
Sudheer Shanka [Tue, 4 Jun 2019 23:46:57 +0000 (16:46 -0700)]
Fix Environment.isExternalStorageLegacy() impl.
Earlier, this API only used to consider op_legacy_storage
appop to decide whether an app will get legacy storage view
or not but there are few other factors it needs to consider
like whether the app has WRITE_MEDIA_STORAGE permission or
whether app was allowed to be an installer in which case it
will get legacy access.
Bug:
132760141
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Change-Id: I227a171bf40e43e135e1a6dbc819cfad21d91520
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