Commit Graph

475756 Commits

Author SHA1 Message Date
Aran Ink
d41bdc07ca Merge "Set max items to 4 on lock screen, re-disable overflow." into rvc-dev 2020-04-28 16:57:58 +00:00
TreeHugger Robot
6952230a8d Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-28 16:56:51 +00:00
TreeHugger Robot
05994d3f8b Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-28 16:56:01 +00:00
TreeHugger Robot
a157147d9f Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-28 16:51:31 +00:00
Selim Cinek
755bf9e048 Merge "Pass actual plugin to PluginInstanceManager.MainHandler." into rvc-dev 2020-04-28 16:50:30 +00:00
Sarah Chin
5227e8441d Merge changes from topics "displayinfocontroller", "remove_displayinfo" into rvc-dev
* changes:
  Remove constants for DisplayInfo logic from DcTracker
  Add carrier configs for 5G timer requirements
2020-04-28 16:48:19 +00:00
TreeHugger Robot
ca47e7b0cc Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-28 16:40:20 +00:00
TreeHugger Robot
e01e3a69ad Merge "No scrolling in overflow" into rvc-dev 2020-04-28 16:35:20 +00:00
Mady Mellor
7f042aaada Merge "Revert "Remove bubble when PendingIntent is canceled"" into rvc-dev 2020-04-28 16:34:25 +00:00
Collin Fijalkovich
f2f45653b4 Merge "Cache getDefaultDataSubscriptionId Binder calls" into rvc-dev 2020-04-28 16:23:41 +00:00
Heemin Seog
d5b5453d18 Merge "Make SystemUI config extendable" into rvc-dev 2020-04-28 16:12:00 +00:00
Fan Zhang
b9c9917810 Merge "Add @TestApi to createLaunchEmergencyDialerIntent" into rvc-dev 2020-04-28 16:10:44 +00:00
TreeHugger Robot
33696c1cca Merge "Fix .equals call in ImageDecoder" into rvc-dev 2020-04-28 15:34:37 +00:00
Aran Ink
6b5e161302 Set max items to 4 on lock screen, re-disable overflow.
Bug: 154669090
Test: Manual -- lock screen power menu has max of 4 item, no overflow button.
Change-Id: I03eb8006664445237245bfd9fd0540afd62772dc
2020-04-28 11:32:10 -04:00
Dave Mankoff
59a83b8634 Pass actual plugin to PluginInstanceManager.MainHandler.
Was previously passing PluginInfo where Plugin was needed.

Bug: 146033031
Test: manual
Change-Id: Idf3bf647206f4cc21ea4eeabad93ba8106cf2d17
2020-04-28 11:25:57 -04:00
Miranda Kephart
65225acf1e Merge "Fix screenshot UI entrance animation" into rvc-dev 2020-04-28 14:34:51 +00:00
Eran Messeri
e066b2b131 Merge "Fix work challenge lockscreen being dismissed" into rvc-dev 2020-04-28 14:29:48 +00:00
Riddle Hsu
35f762fb1f Merge "Fix stack reference is not updated if the task is organized" into rvc-dev 2020-04-28 14:18:31 +00:00
Leon Scroggins III
6419ebff5c Fix .equals call in ImageDecoder
Bug: 154954875
Bug: 143231863
Test: I93b01cb60a8c76110ea2ff4250d0048512629d8d

I9229039b752bafa9a9b85b914a62093dff1eec34 switched from "==" to
".equals", but it did not take into account that Uri#getScheme() can
return null. Switch around the .equals check so that it is called on
SCHEME_CONTENT, which will never be null.

Change-Id: I0df5d2407a32fad0e21e597697af293fbc2fb315
Merged-In: I0df5d2407a32fad0e21e597697af293fbc2fb315
2020-04-28 14:14:30 +00:00
TreeHugger Robot
8862ee3891 Merge "Only perform autolaunch if list has completely rebuilt" into rvc-dev 2020-04-28 13:59:33 +00:00
TreeHugger Robot
bc78548368 Merge "Add experience for shortcut-less convos" into rvc-dev 2020-04-28 13:57:14 +00:00
Pavel Grafov
3b8aa15911 Merge "Update personal apps suspension strings." into rvc-dev 2020-04-28 13:41:20 +00:00
Paul Duffin
a780fd9d71 Merge "Rename conscrypt-module-public-api-stubs-source" into rvc-dev 2020-04-28 12:46:27 +00:00
Paul Duffin
c96262a856 Merge "Reference libcore, conscrypt and icu sources directly" into rvc-dev 2020-04-28 12:44:48 +00:00
Julia Reynolds
8582df5cc7 Add experience for shortcut-less convos
- no conversation specific controls
- no 'bubble this' button
- turn off interim placeholder channels
- fix msg tracking - only shortcut-less notifs matter

Test: atest
Bug: 154814754
Change-Id: Ia04ce496d4e7b2f353c71865f338b5229192c395
2020-04-28 12:11:47 +00:00
TreeHugger Robot
8be35ef462 Merge "Add an API to get active icon for screen saver" into rvc-dev 2020-04-28 12:05:16 +00:00
TreeHugger Robot
9fec6af883 Merge "Make the APKs visible to another test apex." into rvc-dev 2020-04-28 12:03:48 +00:00
arangelov
1b11cc1a17 Only perform autolaunch if list has completely rebuilt
Previously we would check for autolaunch the first time
onPostListReady is called, but that is too early in the case
when we start the async task for sorting the targets. In
that case onPostListReady is called twice - once before
task is launched, and once after task is finished.

We fix this by passing the rebuildListCompleted parameter to
the onPostListReady callback and use it to check for autolaunch.

Test: atest ChooserActivity
Test: atest ResolverActivity
Test: manual
Fixes: 154728817
Change-Id: Ib1b049af00d791898b908bdb65971c07c558f3ac
2020-04-28 12:59:18 +01:00
TreeHugger Robot
6b25213d68 Merge "Update prebuilt CTS shim pkgs with the ones built on server" into rvc-dev 2020-04-28 11:00:20 +00:00
Pavel Grafov
0e7d1c49c1 Update personal apps suspension strings.
String resource names were renamed to differ from the old ones
because the text used to require an integer argument.

Also notification update moved out of synchronized block.

Bug: 154912947
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Change-Id: I83997c2cf575f36bb2b53037ed9a68dfecc290a2
2020-04-28 11:16:20 +01:00
TreeHugger Robot
9689eda20f Merge "Tweak the string for battery saving" into rvc-dev 2020-04-28 09:30:32 +00:00
TreeHugger Robot
f6288ea881 Merge "Enforce permission check in getUidStats function" into rvc-dev 2020-04-28 09:13:32 +00:00
Mill Chen
57abc612d3 Add an API to get active icon for screen saver
In order to improve the clarity of current screen saver, we need to get
the active icon from DreamBackend and add it on the left side of current
screen saver preference.

Bug: 129994275
Test: robotests
Change-Id: I844ccdcdccc270f23f1a0f0f0ce5335fce184c5b
2020-04-28 17:10:27 +08:00
Riddle Hsu
9adc55fdc6 Fix stack reference is not updated if the task is organized
There is an additional stack level for split-screen mode, the child
of the organizer may be the instance referenced by task display area.
So if the child is removed, the stack reference should also be updated.

The corresponding operations of removeChild should be put in the
redirected implementation method, otherwise it will be missed when
propagating the removal to parent, that may cause reusing a detached
task and then crash because it does not have parent and display.

Bug: 154679904
Test: ActivityStackTests#testRemoveOrganizedTask_UpdateStackReference
Change-Id: I9c4032409345c772baa055e32da9eaba9a274b53
2020-04-28 17:09:45 +08:00
Alex Johnston
a077a8a0cc Merge "Update setOrganizationColor javadoc" into rvc-dev 2020-04-28 08:36:57 +00:00
Bill Yi
fb4bcaea4c Import translations. DO NOT MERGE
Change-Id: I48c7a54620a2963ee20790972e55c7fcf9cac26c
Auto-generated-cl: translation import
2020-04-28 01:30:08 -07:00
Tsung-Mao Fang
1648c62df2 Tweak the string for battery saving
- Make bullets more visible.
- Add one more empty line.

Test: Rebuilt rom, and see the screen.
Fix: 153851000
Change-Id: I5ead98d84284d269eb674ff4d853fb833734c848
2020-04-28 08:27:33 +00:00
Eran Messeri
145d69a43d Fix work challenge lockscreen being dismissed
Fix the issue of the work challenge lockscreen being dismissed under
the following circumstances:
* The device has a managed (work) profile.
* The work profile has a separate challenge than the primary one.
* The phone is locked, and on the lock screen there's a notification
associated with an activity in the work profile.

In these circumstances, when the user double-taps the notification from
the work profile, they have to enter the primary challenge first and
then the work one.

However, the issue is that the work challenge is shown for a fraction of
a second, after the user enters the primary challenge, and then
dismissed.

The issue is caused by the lock screen still being shown when the
ConfirmDeviceCredentialActivity is started. It is legal to start an
activity when the device is locked, but it will be paused.

The fix is to delay starting the ConfirmDeviceCredentialActivity until
the lock screen is no longer shown.
This is done by listening to the onKeyguardShowingChanged callback from
KeyguardStateController.Callback:
If, in startWorkChallengeIfNecessary, the keyguard is still showing, a
callback listener is added to the KeyguardStateController.
When the callback is invoked the ConfirmDeviceCredentialActivity is
started.

Bug: 141470517
Test: Manual, double-tap on a managed profile notification (see above)
Change-Id: If85a5781cc2054165eb508cd9634980ce228addc
2020-04-28 09:23:31 +01:00
Louis Chang
9af9215db2 Merge "Allow non-leaf task to be moved to top" into rvc-dev 2020-04-28 07:46:16 +00:00
Bill Yi
c06e06d74e Import translations. DO NOT MERGE
Change-Id: I5cbee20a66b07c0e3008ec5b85bcc93a0f9c18c8
Auto-generated-cl: translation import
2020-04-28 00:33:24 -07:00
Bill Yi
d32bf3de9a Import translations. DO NOT MERGE
Change-Id: I99b44add88c44291786372831d8332c96cbafd9e
Auto-generated-cl: translation import
2020-04-27 23:55:53 -07:00
TreeHugger Robot
4502a6b12b Merge "Extend & refactor Statsd TestDrive tool." into rvc-dev 2020-04-28 06:45:05 +00:00
TreeHugger Robot
ae11234c11 Merge "Move post-submit tests of WmTests to pre-submit" into rvc-dev 2020-04-28 06:38:33 +00:00
Bill Yi
22701409d4 Import translations. DO NOT MERGE
Change-Id: I392db6decce92516ee897f85a8419fbb38027149
Auto-generated-cl: translation import
2020-04-27 22:39:27 -07:00
TreeHugger Robot
18f643d4f2 Merge "Avoid division by zero error when AppOps history is empty." into rvc-dev 2020-04-28 05:36:09 +00:00
Chilun
1754620afd Move post-submit tests of WmTests to pre-submit
Move below post-submit tests to pre-submit since they are all passed
consistently.

- ActivityTaskManagerServiceTests
- WindowManagerSettingsTests
- RotationAnimationUtilsTest

Bug: 151621673
Test: Manually run these tests
Change-Id: I11af2fe24dcb36d76e2f9b2b7783a1b562dba937
2020-04-28 04:48:10 +00:00
TreeHugger Robot
c0941a1016 Merge "Show "Device" for remote playback device." into rvc-dev 2020-04-28 04:38:29 +00:00
TreeHugger Robot
8deb22a35b Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-28 04:10:46 +00:00
Chris Li
9859a326c1 Merge "Cache isSystemOrSystemUI on ContextImpl creation" into rvc-dev 2020-04-28 04:02:05 +00:00
TreeHugger Robot
36ea45baa1 Merge "[SettingsState] fix boot loop due to corrupted database file" into rvc-dev 2020-04-28 04:01:56 +00:00