Commit Graph

417353 Commits

Author SHA1 Message Date
Kevin Chyn
d1cdc3abc5 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
2019-06-05 20:46:11 +00:00
TreeHugger Robot
6e9c0741b5 Merge "Clarify documentation for sensor placement" into qt-dev 2019-06-05 20:36:42 +00:00
Fabian Kozynski
15e2d7e50b Merge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev 2019-06-05 20:10:09 +00:00
TreeHugger Robot
8ef8577391 Merge "Read the subtext of noti guts field on selection" into qt-dev 2019-06-05 20:00:32 +00:00
Matt Casey
92d7f42baa Merge "Always show ScreenDecorations when in gesture nav mode." into qt-dev 2019-06-05 19:02:35 +00:00
TreeHugger Robot
4a5a129fb2 Merge "Always prompt for limited connectivity." into qt-dev 2019-06-05 18:50:32 +00:00
Brian Duddie
086d840d74 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
2019-06-05 11:44:44 -07:00
Julia Reynolds
daab21a050 Read the subtext of noti guts field on selection
When using a11y services

Test: manual with Talkback
Bug: 133649570
Change-Id: Id022e47bef9848e4c5237808659531f8d1c0c953
2019-06-05 18:33:38 +00:00
Xiangyu/Malcolm Chen
b613fec2f8 Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev 2019-06-05 18:03:17 +00:00
TreeHugger Robot
183eacab16 Merge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev 2019-06-05 17:36:41 +00:00
Fabian Kozynski
521e283d91 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
2019-06-05 12:42:06 -04:00
Andrii Kulian
331eb26c1c Merge "Always start launcher when empty home stack is being resumed" into qt-dev 2019-06-05 16:38:17 +00:00
Makoto Onuki
a478c5f9aa Merge "Avoid creating multiple death recipients for same observer" into qt-dev 2019-06-05 15:54:05 +00:00
Lorenzo Colitti
dff977d091 Always prompt for limited connectivity.
Bug: 130766237
Test: See subsequent CL in same patch series.
Change-Id: I45b4a7ba2e21c0be868939d8c7bb78891d69c48b
2019-06-06 00:32:57 +09:00
Gavin Corkery
33946144bd Merge "Perform userdata backup for all matching rollbacks" into qt-dev 2019-06-05 15:29:22 +00:00
Antoan Angelov
dad55ca4fe Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev 2019-06-05 14:17:39 +00:00
Matt Casey
97193c2c2a 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
2019-06-05 09:28:57 -04:00
TreeHugger Robot
35885e0769 Merge "Do not resume activities that were launched behind" into qt-dev 2019-06-05 13:17:33 +00:00
TreeHugger Robot
83375a391c Merge "Sharesheet - Adjust button bar insets" into qt-dev 2019-06-05 13:02:51 +00:00
Richard Uhler
1c9c5d26c5 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
2019-06-05 13:43:26 +01:00
Gavin Corkery
237dd8123b 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
2019-06-05 13:39:26 +01:00
TreeHugger Robot
c5d71fc809 Merge "Fix a bug about missing committing app visibility" into qt-dev 2019-06-05 11:45:42 +00:00
TreeHugger Robot
eeffe0c9dd Merge "Uncanonicalize URIs when searching for audio-coupled haptics." into qt-dev 2019-06-05 11:31:25 +00:00
Matt Pietal
78fdbd492f 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
2019-06-05 07:09:17 -04:00
Tiger Huang
c9d0d00392 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
2019-06-05 18:02:04 +08:00
Jorim Jaggi
beee882cdf Merge "Do not hold lock when trying to get snapshot" into qt-dev 2019-06-05 10:00:16 +00:00
TreeHugger Robot
fcc6df7c6d Merge "Switch DDS during MSIM emergency call" into qt-dev 2019-06-05 05:08:02 +00:00
TreeHugger Robot
d10a92f20c Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-05 04:40:45 +00:00
TreeHugger Robot
9d6d37ad3a Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-05 04:40:36 +00:00
Bill Yi
5af4271086 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I356f6734d4c95d538271eabbc649bca4d2eb848b
2019-06-04 20:14:30 -07:00
Bill Yi
ecd816bb9c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If4bcd8bbd4cfea27f62b11f628420aaff2cd02d3
2019-06-04 20:09:14 -07:00
Louis Chang
7cf8460c66 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
2019-06-05 10:18:30 +08:00
TreeHugger Robot
30e9b45cd9 Merge "Fix issue where panel opacity could be wrong" into qt-dev 2019-06-05 01:11:38 +00:00
Alex Salo
9a01bb4280 Merge "Don't call ActivityManagerService on main thread" into qt-dev 2019-06-05 00:50:14 +00:00
Mathieu Chartier
652b445c07 Merge "Fix some bugs in dumpsys meminfo attribution" into qt-dev 2019-06-05 00:22:39 +00:00
Makoto Onuki
ad1291e749 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
2019-06-04 17:06:39 -07:00
TreeHugger Robot
0906e02aa3 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-04 23:03:29 +00:00
TreeHugger Robot
452be4963c Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-04 22:55:34 +00:00
Tracy Zhou
289583ec1a Merge "Fix the logic of canceling previous scheduled fade in animation." into qt-dev 2019-06-04 22:05:36 +00:00
Hui Yu
28d28a4ee5 Merge "Only set mStartClockTime when device is fully charged." into qt-dev 2019-06-04 21:59:52 +00:00
Bill Yi
2c6aa0491d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ieb522c4dcc354e5a984dd8cb6f7111fac4c5e8d2
2019-06-04 14:44:42 -07:00
TreeHugger Robot
10d9320c3a Merge "Add system option to disable lock profiling" into qt-dev 2019-06-04 21:34:23 +00:00
Alex Salo
042e43a717 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
2019-06-04 13:59:16 -07:00
Winson Chung
c8120d6d6a Merge "Expose keyguard showing-but-occluded state to launcher" into qt-dev 2019-06-04 20:56:37 +00:00
Brad Ebinger
1faea364d3 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
2019-06-04 20:44:28 +00:00
Mathieu Chartier
8da8cbfefc 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
2019-06-04 13:22:35 -07:00
Andrii Kulian
3ff5a0b44d 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
2019-06-04 13:15:20 -07:00
Jovana Knezevic
e45e09fcee Merge "Removing requirement for FEATURE_DEVICE_ADMIN in DPMS.setActivePasswordState()." into qt-dev 2019-06-04 20:10:43 +00:00
TreeHugger Robot
57854d3b90 Merge "Post finishing after transition in onBackPressed" into qt-dev 2019-06-04 19:11:52 +00:00
Wale Ogunwale
2aa255a746 Merge "Revert "Collect NeededUriGrants without holding locks."" into qt-dev 2019-06-04 19:04:53 +00:00