Commit Graph

469857 Commits

Author SHA1 Message Date
JianYang Liu
05649fcf17 Updated Fullscreen user switcher to not use fitsSystemWindows.
fitsSystemWindows="true" has default behavior of setting padding of the
view to ensure contents don't overlay system windows. In the case of the
fullscreen user switcher, we don't need this behavior.

Bug: 150302361
Test: Manual (set lockscreen, restart, click "Cancel")
Change-Id: Ifc597c2b96862abc3283d6af1a0c2765431c71af
2020-03-06 14:04:37 -08:00
Taran Singh
b092cecbd3 Merge "Fix navigation bar appearance" into rvc-dev 2020-03-06 21:18:48 +00:00
Youngjun Kwak
91b4f26c5b Merge "DO NOT MERGE Create KeyguardViewController that extracts view-related logic in KeyguardViewMediator and re-wire Dagger accordingly." into rvc-dev 2020-03-06 20:55:29 +00:00
John Reck
e2e7cd5d4c Merge "Deprecate long-obsolete android:anyDensity" into rvc-dev 2020-03-06 20:37:53 +00:00
Fabian Kozynski
6bb7ecf725 Merge "Add dialog for recommended controls" into rvc-dev 2020-03-06 20:01:13 +00:00
Matt Pietal
8ebe5c222d Merge "Control API review changes" into rvc-dev 2020-03-06 19:55:03 +00:00
Mathieu Chartier
644dac75e5 Merge "Make BootImageProfileTest less flaky" into rvc-dev 2020-03-06 19:45:05 +00:00
Darryl Johnson
7afae41a1d Merge "Protect against assumptions of a top focused stack." into rvc-dev 2020-03-06 19:37:57 +00:00
Yan Yan
d3c7f0c2cb Merge changes from topic "ikeparams-api-change-rvc-dev" into rvc-dev
* changes:
  Pass server address directly to IKE.
  Remove UdpEncapsulationSocket references in VPNs
2020-03-06 19:30:17 +00:00
Winson Chiu
cb3d162c0f Merge "Copy over PkgState in PackageSetting updateFrom" into rvc-dev 2020-03-06 19:23:57 +00:00
TreeHugger Robot
a95769b719 Merge "Update SyncStorageEngine#DELETE_LEGACY_PARCEL_FILES." into rvc-dev 2020-03-06 19:14:24 +00:00
Darryl L Johnson
1e3885c4c7 Protect against assumptions of a top focused stack.
RootWindowContainer#getTopDisplayFocusedStack() has the potential to
return null when there are no focusable stacks. This guards against
many assumptions that a top focused stack exists.

Bug: 144085050
Bug: 148125390
Bug: 150754510
Fixes: 144085050
Test: ActivityStarterTests
Test: ActivityStackTests
Test: ActivityTaskManagerServiceTests
Test: RootWindowContainerTests

Change-Id: Ibefc3a802aba5a90898837359ec59a48f39834dc
2020-03-06 19:00:08 +00:00
Eugene Susla
8f562219c8 Merge "Generate @NonNull setter args and @MaySetToNull to opt out" into rvc-dev 2020-03-06 18:53:24 +00:00
TreeHugger Robot
5957853da6 Merge "Remove binder threadpool init from puller tests" into rvc-dev 2020-03-06 18:51:03 +00:00
Tej Singh
8651b62518 Merge "Address Puller API Feedback" into rvc-dev 2020-03-06 18:43:31 +00:00
Sarah Chin
42d2031cc9 Merge "Update AccessNetworkConstants to uses values from HAL" into rvc-dev 2020-03-06 18:39:05 +00:00
TreeHugger Robot
dd6103c0bb Merge "Enable presubmit CtsJobSchedulerTestCases." into rvc-dev 2020-03-06 18:37:55 +00:00
Hui Yu
24ebb4f96f Merge "Remove Google Assistant from FGS while-in-use restriction white list." into rvc-dev 2020-03-06 18:12:18 +00:00
TreeHugger Robot
496c5548ff Merge "Stopgap fix for credential change of unified-challenge profile" into rvc-dev 2020-03-06 17:58:44 +00:00
Fabian Kozynski
04e7bdef04 Add dialog for recommended controls
The dialog can only be requested if the package of the controls provider is
currently in the foreground.

This is accomplished by querying Activity Manager about the
UidImportance of that package. Added
android.permission.PACKAGE_USAGE_STATS to SystemUI for this.

Test: atest
Test: manual
Fixes: 149410221

Change-Id: Ifdf479d8dbc70502da95d362e3bfd60ad3c561fb
2020-03-06 12:55:35 -05:00
TreeHugger Robot
8f15e287e9 Merge "Autolaunch if one app in active profile and empty state in the inactive." into rvc-dev 2020-03-06 17:41:44 +00:00
TreeHugger Robot
8a34b90f7a Merge "Enable work tab in share sheet and intent resolver feature flag" into rvc-dev 2020-03-06 17:38:32 +00:00
TreeHugger Robot
9f63e946d1 Merge "Controls Ui - Remove temporary 'success' msg" into rvc-dev 2020-03-06 17:24:23 +00:00
Zhen Zhang
973ec1172b Merge "Fix Sharesheet nest scrolling issue introduced by using RecyclerView" into rvc-dev 2020-03-06 17:22:11 +00:00
Mathieu Chartier
d5d442ddd9 Make BootImageProfileTest less flaky
Number one flake is when the system server process is killed before
SIGUSR1. Change this case to be non fatal.

Increase number of retry iterations in case the package manager
is very slow to start and get a JIT sample. Hopefully fixes the
other flake where PackageManagerService.<init> is not seen in the
profile.

Test: atest BootImageProfileTest
Bug: 149802360
Change-Id: I52ac80f15d8efe152dea81b75a82faa4da1b8600
2020-03-06 09:19:42 -08:00
Danning Chen
24a1ea3f03 Merge "Fix the bug that queries UsageStatsService for locked users" into rvc-dev 2020-03-06 17:16:44 +00:00
TreeHugger Robot
eaebc6540c Merge "Inline controls redesign" into rvc-dev 2020-03-06 16:56:42 +00:00
Winson Chung
e85727200d Merge "Ensure that task org updates all happen off the main thread" into rvc-dev 2020-03-06 16:53:35 +00:00
Evan Rosky
320ecaca3f Merge "Fix config change on secondary split adjustment" into rvc-dev 2020-03-06 16:50:09 +00:00
arangelov
85974ed070 Enable work tab in share sheet and intent resolver feature flag
Test: rigorous testing by my team, manual QA and myself
Fixes: 150937704
Change-Id: I025e0b64c7c12ecb8eb0290d8bb8c6f3b4f41dcd
2020-03-06 16:38:52 +00:00
Automerger Merge Worker
fadcd80471 [automerger skipped] Merge "Frameworks/base: Support dex2oat cpu-set system property" into qt-qpr1-dev am: 1756b8ec84 -s ours
am skip reason: Change-Id Ica6a39048292d3d43aeb58d25f79f1398a7d5a79 with SHA-1 870ce3f6d7 is in history

Change-Id: Iff397fb73c534db6e95059fdfa4baf5fd139ce81
2020-03-06 16:19:26 +00:00
Automerger Merge Worker
2fea0b147f Merge "Revert "[automerger skipped] Merge "DO NOT MERGE - Kill apps out..."" into qt-qpr1-dev am: f4f30312fa -s ours
am skip reason: subject contains skip directive

Change-Id: Ie22def6bf2c3953aac5c91b6ad79c6f6eecdad01
2020-03-06 16:18:57 +00:00
Automerger Merge Worker
9e37e79bf3 [automerger skipped] Merge "DO NOT MERGE - Kill apps outright for API contract violations" into pi-dev am: 4bcf846f7a -s ours am: a032a689a3 -s ours am: 344eb282cc -s ours
am skip reason: subject contains skip directive

Change-Id: I91334ed009a4025cc93f342a3ef3df7ee570aba9
2020-03-06 16:17:58 +00:00
Automerger Merge Worker
a81df45f22 [automerger skipped] Merge "DO NOT MERGE - Kill apps outright for API contract violations" into qt-dev am: 97f5b4092a -s ours am: b79affb6d9 -s ours
am skip reason: subject contains skip directive

Change-Id: I203e73823d42e0e82c5b0bd331e9e7baca21f4e4
2020-03-06 16:17:35 +00:00
TreeHugger Robot
00035a963f Merge "resolve merge conflicts of 364742e712 to rvc-dev" into rvc-dev 2020-03-06 16:15:58 +00:00
Lucas Dupin
5658e36476 resolve merge conflicts of 364742e712 to rvc-dev
Bug: 145095085
2020-03-06 16:15:35 +00:00
Fabian Kozynski
95dcd2444b Control API review changes
* Add documentation to Device types
* Replace singletons in ControlAction and ControlTemplate to getter
static functions.
* Add javadoc for MODES and FLAG_MODE in TemperatureControlTemplate.
* Removed ThumbnailTemplate instead of updated javadocs. Determined
not necessary anymore
* Remove MultiFloatAction - no longer needed
* Removed reliant sysui code

Bug: 150630500
Test: atest ControlTemplateTest ControlActionTest
Change-Id: Ic4f60c789ce959205137944380e78622d76581a4
2020-03-06 11:15:24 -05:00
Rubin Xu
0090c5857f Stopgap fix for credential change of unified-challenge profile
LockSettingsService regressed in Android 11 that it no longer always
discard the original credential parameter when performing credential
changes for unified-challenge profile. Add a stopgap fix to restore
that behaviour and document idea for long term fix.

Bug: 147663267
Test: Fire ACTION_SET_NEW_PASSWORD from profile to set a separate
      work challenge. Verify the flow succeeds.
Change-Id: Idc7f67c6cd021a779fdcd1992cd5cbbd337c4e52
2020-03-06 15:39:28 +00:00
Miranda Kephart
9ffb084059 Merge "Turn screenshot corner flow on" into rvc-dev 2020-03-06 15:36:28 +00:00
Dave Mankoff
831ddd860f Merge changes from topic "b150393918-lock-icon-controller" into rvc-dev
* changes:
  Move DockEventListener from LockIcon to Controller
  Move KeyguardUpdateMonitorCallback from LockIcon to Controller.
  Remove OnHeadsUpChangedListener from LockIcon.
  Move WakeUpListener from LockIcon to Controller.
  Remove KeyguardStateController.Callback from LockIcon.
2020-03-06 15:35:53 +00:00
arangelov
4c0513d8c7 Prevent intent resolver from changing height when no app targets
If we select the inactive tab, and there are no resolved targets,
the intent resolver changes its height for a few frames.
This is because first we show and reload the list view as we
switch to the other, and then in onPostListReady we show the
empty state screen for no apps available. There are few frames
between these two events, when the list view has a height of 0.
That's when the ResolverViewPager recalculates its height and
thus reduces the intent resolver height. Then as the empty state
screen is shown, the proper intent resolver height is restored.
The fix is to move the showListView call to onPostListReady.

Test: manual
Fixes: 150888674
Change-Id: I685568e183bbd5708242e1228195ec6b09023272
2020-03-06 15:34:34 +00:00
arangelov
b91d08f1a8 Autolaunch if one app in active profile and empty state in the inactive.
Fixes: 150883045
Test: manual
Change-Id: I2fbc862cc73c5763de9aaff436c01de8dbc83efb
2020-03-06 15:34:21 +00:00
TreeHugger Robot
fff2d76ccb Merge "Update notification display buckets." into rvc-dev 2020-03-06 15:33:50 +00:00
Jay Aliomer
e95887d548 Merge "Dark theme upgrade broken" into rvc-dev 2020-03-06 15:28:11 +00:00
TreeHugger Robot
780782b750 Merge "Controls API - Add support for routines" into rvc-dev 2020-03-06 14:50:04 +00:00
Anna Trostanetski
e9e7d56cd9 Merge "Add support for LoggingOnly changes" into rvc-dev 2020-03-06 14:38:28 +00:00
Matt Pietal
cf1e5e8b8f Controls Ui - Remove temporary 'success' msg
This message was meant as a placeholder for action responses. Apps are
starting to send their own control updates and no longer need this
msg.

Bug: 150872080
Test: visual
Change-Id: I9c29250be9c3aeeb508c10305fc052b767617bcf
2020-03-06 09:32:10 -05:00
TreeHugger Robot
e4a1a3b8a2 Merge "Add GTS tests as presubmit blocker for integrity component." into rvc-dev 2020-03-06 14:22:54 +00:00
TreeHugger Robot
ac8a5397bc Merge "Update strings related to intent resolver and share sheet." into rvc-dev 2020-03-06 13:48:02 +00:00
Tiger Huang
e218e4282f Fix navigation bar appearance
The navigation bar appearance wasn't handled correctly. This CL fixes
the behavior. The logic will be refined when we are removing the legacy
insets mode.

Fix: 149951146
Test: Manual
Change-Id: Ie344d86dbf727e71a9adcf3ceb4e45822575f632
2020-03-06 21:41:23 +08:00