OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Increase height of silent section header to meet GAR" into qt-dev
Ned Burns [Tue, 21 May 2019 02:02:45 +0000 (02:02 +0000)]
Merge "Increase height of silent section header to meet GAR" into qt-dev

5 years agoReduce parcel size to avoid binder transaction failure
Po-Chien Hsueh [Fri, 17 May 2019 07:08:20 +0000 (15:08 +0800)]
Reduce parcel size to avoid binder transaction failure

Reduce buffer size to 8192 to avoid binder transaction failures.
According to our previous tests. Reducing the buffer size to 8K
doesn't show negative impact on performance.

Bug: 132923636
Test: Successfully install a DSU
Change-Id: Ibe51ab748b4f6c1d3c3ac8286519380ea8afc184

5 years agoCheck if DSU is in use before feature flag
Po-Chien Hsueh [Tue, 14 May 2019 08:57:18 +0000 (16:57 +0800)]
Check if DSU is in use before feature flag

We are using a feature flag to protect DSU and the device. But when
a Dynamic System is in use, feature flag is set as false by default.

This CL makes DSU bypass feature flag and start GSI service on boot
completed, check if the device is currently running a Dynamic System,
then, stop GSI service if the device isn't.

Bug: 132575851
Test: restart into DSU, check if the "In Use" notification is shown.
Change-Id: I9dabf9bc1716ef18d513278415c6544a5467d510

5 years agoMerge "Not showing menu buttons for any headsup notification" into qt-dev
Shawn Lin [Tue, 21 May 2019 01:15:17 +0000 (01:15 +0000)]
Merge "Not showing menu buttons for any headsup notification" into qt-dev

5 years agoMerge "Hide pointer on create" into qt-dev
TreeHugger Robot [Tue, 21 May 2019 00:57:25 +0000 (00:57 +0000)]
Merge "Hide pointer on create" into qt-dev

5 years agoMerge "Add support for LearnMore option" into qt-dev
Badhri Jagan Sridharan [Tue, 21 May 2019 00:31:45 +0000 (00:31 +0000)]
Merge "Add support for LearnMore option" into qt-dev

5 years agoMerge "Move bubbles top, manage button below" into qt-dev
TreeHugger Robot [Tue, 21 May 2019 00:30:35 +0000 (00:30 +0000)]
Merge "Move bubbles top, manage button below" into qt-dev

5 years agoIncrease height of silent section header to meet GAR
Ned Burns [Mon, 20 May 2019 22:02:19 +0000 (18:02 -0400)]
Increase height of silent section header to meet GAR

Also removes the night-specific layout in favor of a color selector.

Test: manual
Fixes: 132401519
Change-Id: I336aa3e5cf3d4c9b09f8e985d5c1389cd935d7a5

5 years agoMerge changes I256e6ed1,I97d41ed0,I6b4177e4 into qt-dev
TreeHugger Robot [Tue, 21 May 2019 00:15:56 +0000 (00:15 +0000)]
Merge changes I256e6ed1,I97d41ed0,I6b4177e4 into qt-dev

* changes:
  System apps are not allowed to record better then 16kHz mono
  Fix permission check when registering an audio policy
  Refactor security checks to register policies

5 years agoMerge "Fling should only be allowed when touched the view from bottom of the list...
TreeHugger Robot [Mon, 20 May 2019 23:24:45 +0000 (23:24 +0000)]
Merge "Fling should only be allowed when touched the view from bottom of the list" into qt-dev

5 years agoMerge "Fix parcelling issue for certain fields." into qt-dev
Brad Ebinger [Mon, 20 May 2019 23:21:54 +0000 (23:21 +0000)]
Merge "Fix parcelling issue for certain fields." into qt-dev

5 years agoHide pointer on create
Lyn Han [Mon, 20 May 2019 23:08:48 +0000 (16:08 -0700)]
Hide pointer on create

Pointer shows up at left edge of expanded view before
snapping to correct position. This change hides the pointer initially,
and shows it after it points to the selected bubble.

Bug: 132907741
Test: manual
Change-Id: I7c9282b3f4c46afee109cae926a6e3970458d399

5 years agoMove bubbles top, manage button below
Lyn Han [Wed, 15 May 2019 17:55:07 +0000 (10:55 -0700)]
Move bubbles top, manage button below

Bug: 131849856
Test: manual
Change-Id: I75a0a66d8d8177d1426f6951287986e37128243e

5 years agoMerge "Move GradientDrawable stroke fields back to grey list" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 22:40:54 +0000 (22:40 +0000)]
Merge "Move GradientDrawable stroke fields back to grey list" into qt-dev

5 years agoSystem apps are not allowed to record better then 16kHz mono
Kevin Rocard [Wed, 3 Apr 2019 19:37:32 +0000 (12:37 -0700)]
System apps are not allowed to record better then 16kHz mono

This privacy requirement was documented but was not implemented.

Test: atest android.media.cts.AudioPlaybackCaptureTest#testCaptureMediaUsage
Bug: 129948989
Change-Id: I256e6ed1965263416a893393d5462ec73099751e
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoFix permission check when registering an audio policy
Kevin Rocard [Fri, 17 May 2019 23:58:22 +0000 (16:58 -0700)]
Fix permission check when registering an audio policy

The current checks were allowing public apps to register an audio policy
with an APC mix as intended, but the policy could also have focus
listener and volume controller which are not intended to be used by
public apps.

Test: atest android.media.cts.AudioPlaybackCaptureTest
Bug: 129948989
Change-Id: I97d41ed08faff05e59ae6b495ee62ae11f4a09c1

5 years agoRefactor security checks to register policies
Kevin Rocard [Wed, 3 Apr 2019 19:37:32 +0000 (12:37 -0700)]
Refactor security checks to register policies

There is no functional changes in this patch

The checks were much more complex then needed.

The behaviour on empty mix was not explicit, it depended on non trivial behaviour
of anyMatch and allMatch and the code flow.
There was an early positive return leading to the rest of the permission
check to be skipped. Which was correct but prone to bugs if the code was
changed.
The code in general was hard to change without introducing security bug
as well as difficult to review.

Change it to a two part section, first the permissions needed are
determined explicitly.
Then those permissions are checked.
Early return is only used for permission denial.

Test: atest android.media.cts.AudioPlaybackCaptureTest#testCaptureMediaUsage
Bug: 129948989
Change-Id: I6b4177e47025af983ba6c980d58ea308c4c378f1
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoMerge "Clear the Parcel before writing an exception during a transaction" into qt-dev
Michael Wachenschwanz [Mon, 20 May 2019 22:23:12 +0000 (22:23 +0000)]
Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev

5 years agoMerge "Null check for early watchdog-caught thread hangs" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 22:18:19 +0000 (22:18 +0000)]
Merge "Null check for early watchdog-caught thread hangs" into qt-dev

5 years agoMerge "Changes to notification shade." into qt-dev
TreeHugger Robot [Mon, 20 May 2019 21:54:49 +0000 (21:54 +0000)]
Merge "Changes to notification shade." into qt-dev

5 years agoMerge "Add onAssistantGestureCompletion to SystemUiProxy" into qt-dev
Miranda Kephart [Mon, 20 May 2019 21:48:19 +0000 (21:48 +0000)]
Merge "Add onAssistantGestureCompletion to SystemUiProxy" into qt-dev

5 years agoMerge "MemoryIntArray: dup in writeToParcel." into qt-dev
TreeHugger Robot [Mon, 20 May 2019 21:31:13 +0000 (21:31 +0000)]
Merge "MemoryIntArray: dup in writeToParcel." into qt-dev

5 years agoMerge "Hide silent notifications section header on lockscreen" into qt-dev
Ned Burns [Mon, 20 May 2019 21:27:53 +0000 (21:27 +0000)]
Merge "Hide silent notifications section header on lockscreen" into qt-dev

5 years agoMerge "Support RTL in notification section header" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 21:27:05 +0000 (21:27 +0000)]
Merge "Support RTL in notification section header" into qt-dev

5 years agoMerge "Update battery saver suggestion to go to right page" into qt-dev
Salvador Martinez [Mon, 20 May 2019 21:22:57 +0000 (21:22 +0000)]
Merge "Update battery saver suggestion to go to right page" into qt-dev

5 years agoMerge "Add function to query last estimate time to Estimate" into qt-dev
Salvador Martinez [Mon, 20 May 2019 21:22:23 +0000 (21:22 +0000)]
Merge "Add function to query last estimate time to Estimate" into qt-dev

5 years agoMerge "Refresh should always update the field" into qt-dev
Lucas Dupin [Mon, 20 May 2019 21:14:57 +0000 (21:14 +0000)]
Merge "Refresh should always update the field" into qt-dev

5 years agoMerge "Use new non-deprecated constructor for AppTarget.Builder" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 20:58:28 +0000 (20:58 +0000)]
Merge "Use new non-deprecated constructor for AppTarget.Builder" into qt-dev

5 years agoMerge "Revert "Instant apps should have default view of storage?"" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 20:45:39 +0000 (20:45 +0000)]
Merge "Revert "Instant apps should have default view of storage?"" into qt-dev

5 years agoMove GradientDrawable stroke fields back to grey list
Nader Jawad [Mon, 20 May 2019 20:37:43 +0000 (13:37 -0700)]
Move GradientDrawable stroke fields back to grey list

The following fields are still lacking public getters:
Landroid/graphics/drawable/GradientDrawable$GradientState;->mStrokeDashGap:F
Landroid/graphics/drawable/GradientDrawable$GradientState;->mStrokeDashWidth:F
Landroid/graphics/drawable/GradientDrawable$GradientState;->mStrokeWidth:I

Removed the maxTargetSdk from the @UnsupportedAppUsage
annotation.

Bug: 132971065
Test: N/A
Change-Id: Id19452a8db6cda43c7d1b3c3c5ee74468c6de4e1

5 years agoMerge "Fixes multiuser GNSS Bug." into qt-dev
TreeHugger Robot [Mon, 20 May 2019 20:19:38 +0000 (20:19 +0000)]
Merge "Fixes multiuser GNSS Bug." into qt-dev

5 years agoMerge "Revert to basic icons in notification info." into qt-dev
Ned Burns [Mon, 20 May 2019 20:16:44 +0000 (20:16 +0000)]
Merge "Revert to basic icons in notification info." into qt-dev

5 years agoMerge "Add ExplicitHealthCheckServiceImplTest" into qt-dev
Zimuzo Ezeozue [Mon, 20 May 2019 20:16:22 +0000 (20:16 +0000)]
Merge "Add ExplicitHealthCheckServiceImplTest" into qt-dev

5 years agoChanges to notification shade.
Priyank Singh [Thu, 16 May 2019 22:19:53 +0000 (15:19 -0700)]
Changes to notification shade.

1. Clip the shade with the glass pane
2. Add handle bar to bottom
3. Change the background color to #DD0000

Bug: 132908271
Test: Manual
Change-Id: I577ec7132d9ad37e951e07c6f1ce3c5a2a814d90

5 years agoFling should only be allowed when touched the view from bottom of the list
Priyank Singh [Fri, 17 May 2019 23:33:57 +0000 (16:33 -0700)]
Fling should only be allowed when touched the view from bottom of the list

Bug:133168136
Test: Manual
Change-Id: I5ccb58b1c8f9b04bb9bead25b12373ce33b6ffdc
(cherry picked from commit 61bf685b7a1fa41944cd92e68a4b03af79ad86a8)

5 years agoMerge "Fixed layout of quick_settings_header_info" into qt-dev
Fabian Kozynski [Mon, 20 May 2019 19:21:59 +0000 (19:21 +0000)]
Merge "Fixed layout of quick_settings_header_info" into qt-dev

5 years agoMerge "Force system ApplicationInfo update and notify DisplayManager" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 19:12:20 +0000 (19:12 +0000)]
Merge "Force system ApplicationInfo update and notify DisplayManager" into qt-dev

5 years agoSupport RTL in notification section header
Steve Elliott [Mon, 20 May 2019 19:01:37 +0000 (15:01 -0400)]
Support RTL in notification section header

Fixes: 132444640
Test: Have gentle notifications in the shade, change to any RTL
      language, view notification shade

Change-Id: Iffe00be0f60fb7c6315d050c60351fe7a0ab2e1f

5 years agoUse the SubId in the TM.getNetworkType if Valid
Nathan Harold [Fri, 17 May 2019 02:39:12 +0000 (19:39 -0700)]
Use the SubId in the TM.getNetworkType if Valid

If the TM instance has a specific subid that was
added using TM.createForSubscriptionId(), honor that
subId in getNetworkType().

Bug: 132466954
Test: compilation + manual
Merged-In: Ice4f673750ab3b374644750113e5b9b2a4f5ba63
Change-Id: Ice4f673750ab3b374644750113e5b9b2a4f5ba63
(cherry picked from commit 0aca4313139fb707158f6017c6ad7f62af4ce5e6)

5 years agoMerge "Android Q is API 29" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 18:32:59 +0000 (18:32 +0000)]
Merge "Android Q is API 29" into qt-dev

5 years agoRefresh should always update the field
Lucas Dupin [Mon, 20 May 2019 16:29:31 +0000 (09:29 -0700)]
Refresh should always update the field

Otherwise it's hard to keep track of things happening or not, since
the request would be postponed, leading to bugs elsewhere.

Test: Wait for time to pass on lock screen
Test: Enter/leave AOD
Fixes: 132955195
Change-Id: I54f806f9dd2d1cf4acac420bab08d4579f867a5f

5 years agoMerge "Ensure the Bubble settings intent is started as the correct user" into qt-dev
Mark Renouf [Mon, 20 May 2019 18:26:48 +0000 (18:26 +0000)]
Merge "Ensure the Bubble settings intent is started as the correct user" into qt-dev

5 years agoHide silent notifications section header on lockscreen
Ned Burns [Wed, 15 May 2019 18:50:11 +0000 (14:50 -0400)]
Hide silent notifications section header on lockscreen

Change things so we remove the gentle header when we're on the lock
screen. We still want to show the break between sections, so we
also modify beginsSection() to count either the header or the first
gentle child if there is no header.

Test: manual
Bug: 132689331
Change-Id: I02708a3a532cc2b9df2d1cec8192387dff132152

5 years agoMerge "Set the strong auth requirement based on flags when the user is stopped" into...
Erin Yan [Mon, 20 May 2019 17:11:21 +0000 (17:11 +0000)]
Merge "Set the strong auth requirement based on flags when the user is stopped" into qt-dev

5 years agoMerge "Run addtl. perm tests when system server changes" into qt-dev
Philip P. Moltmann [Mon, 20 May 2019 16:44:05 +0000 (16:44 +0000)]
Merge "Run addtl. perm tests when system server changes" into qt-dev

5 years agoFixed layout of quick_settings_header_info
Fabian Kozynski [Fri, 17 May 2019 18:06:38 +0000 (14:06 -0400)]
Fixed layout of quick_settings_header_info

The layout now allocates as much as it needs to QSCarrierGroup, and then
allocates leftover space to the status info Views.

The containing View (QSHeaderInfoLayout) splits the width between both
status (if both are visible) by allocating as much as they need. If the
total amount needed is more than what is available, it splits equally
unless a view requires less than half.

Test: Visual, using multiple Display sizes and Font sizes and Japanese
language (for some long strings)
Fixes: 132742416

Change-Id: I9f8ce68fa25fbe7d00451e59503575a07c3fd5f4

5 years agoMerge "Adds setCornerRadius to ActivityView & SurfaceView" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 16:30:20 +0000 (16:30 +0000)]
Merge "Adds setCornerRadius to ActivityView & SurfaceView" into qt-dev

5 years agoMerge "Whitelist background activity starts from device admin in #sendAdminCommandLoc...
Jonathan Scott [Mon, 20 May 2019 16:25:33 +0000 (16:25 +0000)]
Merge "Whitelist background activity starts from device admin in #sendAdminCommandLocked." into qt-dev

5 years agoMerge "Report AUTO_SELECTION as a smart selection event." into qt-dev
Abodunrinwa Toki [Mon, 20 May 2019 16:09:43 +0000 (16:09 +0000)]
Merge "Report AUTO_SELECTION as a smart selection event." into qt-dev

5 years agoMerge "Add a factoryReset method to IIpMemoryStore, and freeze api." into qt-dev
TreeHugger Robot [Mon, 20 May 2019 15:52:29 +0000 (15:52 +0000)]
Merge "Add a factoryReset method to IIpMemoryStore, and freeze api." into qt-dev

5 years agoAdd onAssistantGestureCompletion to SystemUiProxy
Miranda Kephart [Fri, 17 May 2019 17:55:37 +0000 (13:55 -0400)]
Add onAssistantGestureCompletion to SystemUiProxy

Allows passing the incoming velocity for gestures. This lets
SystemUI react differently to flings vs drags.

Bug: 132356358
Test: manual
Change-Id: I91df5801eb3399c94320307ccdbeca7763075984

5 years agoMerge "End transitions before starting new transition." into qt-dev
TreeHugger Robot [Mon, 20 May 2019 14:15:25 +0000 (14:15 +0000)]
Merge "End transitions before starting new transition." into qt-dev

5 years agoMerge "Ignore tests that are more flaky after start pos fixes." into qt-dev
TreeHugger Robot [Mon, 20 May 2019 14:05:35 +0000 (14:05 +0000)]
Merge "Ignore tests that are more flaky after start pos fixes." into qt-dev

5 years agoMerge "Revert "Set parent for WindowProcessController"" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 13:58:25 +0000 (13:58 +0000)]
Merge "Revert "Set parent for WindowProcessController"" into qt-dev

5 years agoMerge "Revert "Override process config for cold start on secondary screens"" into...
TreeHugger Robot [Mon, 20 May 2019 13:58:25 +0000 (13:58 +0000)]
Merge "Revert "Override process config for cold start on secondary screens"" into qt-dev

5 years agoWhitelist background activity starts from device admin in #sendAdminCommandLocked.
Jonathan Scott [Thu, 16 May 2019 14:13:17 +0000 (15:13 +0100)]
Whitelist background activity starts from device admin in #sendAdminCommandLocked.

Test: cts-verifier > Device Owner Tests > Managed User Test
Fixes: 131815491
Change-Id: I818348159a0b501638ecf06e0621923ebc03d1fa

5 years agoMerge "Fixes QSCustomizer header height" into qt-dev
Fabian Kozynski [Mon, 20 May 2019 13:36:46 +0000 (13:36 +0000)]
Merge "Fixes QSCustomizer header height" into qt-dev

5 years agoMerge "Sets Tile default state to INACTIVE" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 13:34:25 +0000 (13:34 +0000)]
Merge "Sets Tile default state to INACTIVE" into qt-dev

5 years agoEnsure the Bubble settings intent is started as the correct user
Mark Renouf [Mon, 20 May 2019 13:29:44 +0000 (09:29 -0400)]
Ensure the Bubble settings intent is started as the correct user

Bug: 128891021
Test: app w/bubble notification in work profile only, click settings
Change-Id: If3421542d9487011f7c1f581758c1ffd8e2dedb9

5 years agoMerge "Make ResourceIcon#get thread safe" into qt-dev
Fabian Kozynski [Mon, 20 May 2019 13:19:13 +0000 (13:19 +0000)]
Merge "Make ResourceIcon#get thread safe" into qt-dev

5 years agoMerge "Add 2 attributes for list_divider_material" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 13:15:45 +0000 (13:15 +0000)]
Merge "Add 2 attributes for list_divider_material" into qt-dev

5 years agoAdd a factoryReset method to IIpMemoryStore, and freeze api.
Lorenzo Colitti [Mon, 20 May 2019 12:36:27 +0000 (05:36 -0700)]
Add a factoryReset method to IIpMemoryStore, and freeze api.

Currently unimplemented. Implementation will be in a future CL.

Test: m
Bug: 128499160
Change-Id: Ia11ecd33f528d01667b1baeb8671b7213a31eef5
Merged-In: Ia11ecd33f528d01667b1baeb8671b7213a31eef5
(cherry picked from commit 10ddc681cf8ffc2c189ff975ad5885b32e670cb9)

5 years agoRevert "Set parent for WindowProcessController"
Andrii Kulian [Mon, 20 May 2019 12:18:09 +0000 (12:18 +0000)]
Revert "Set parent for WindowProcessController"

This reverts commit 33ab86910e9090d10dd91d760d2dc53e1f3e99e6.

Reason for revert: b/132986140
Bug: 132986140
Bug: 131915789
Change-Id: I75824cd02d4c6a557c6997ebca01354155f8cd93

5 years agoRevert "Override process config for cold start on secondary screens"
Andrii Kulian [Mon, 20 May 2019 12:18:01 +0000 (12:18 +0000)]
Revert "Override process config for cold start on secondary screens"

This reverts commit ceef7461c2b082d450040b22872e691424095fc6.

Reason for revert: b/132986140
Bug: 132986140
Bug: 131915789
Change-Id: I95b28fb4d5eca1927be213e070177f8f3626d9b7

5 years agoAdd 2 attributes for list_divider_material
Mill Chen [Wed, 8 May 2019 10:50:05 +0000 (18:50 +0800)]
Add 2 attributes for list_divider_material

We added two attributes for list divider, one gets set up the color of list
divider and the other gets set up the opacity of its color. This
approach facilitates updating the color of the list divider for device
default themes.

Bug: 129943610
Test: visual
Change-Id: Ia319a31e223a86d71720e2dab63dce200ca824df

5 years agoMerge "Add dumpsys network_stack version" into qt-dev
Remi NGUYEN VAN [Mon, 20 May 2019 10:00:24 +0000 (10:00 +0000)]
Merge "Add dumpsys network_stack version" into qt-dev

5 years agoMerge "Add Standby Bucket and job duration to ScheduledJobStateChanged atom." into...
Ben Murdoch [Mon, 20 May 2019 08:18:34 +0000 (08:18 +0000)]
Merge "Add Standby Bucket and job duration to ScheduledJobStateChanged atom." into qt-dev

5 years agoMerge "Revise metrics for emergency dialer" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 08:16:09 +0000 (08:16 +0000)]
Merge "Revise metrics for emergency dialer" into qt-dev

5 years agoAdd dumpsys network_stack version
Remi NGUYEN VAN [Mon, 20 May 2019 07:47:48 +0000 (16:47 +0900)]
Add dumpsys network_stack version

This is necessary to allow testing for the network stack version and the
version it is getting from the system server.

Test: flashed, WiFi working
Test: dumpsys network_stack version shows data (although version numbers
      being fixed)
Bug: 133124190

Change-Id: I9ea85c29667d4510225637071990732360841db6

5 years agoMerge "SettingsLib: Add an API method to query whether a package is a system module...
Narayan Kamath [Mon, 20 May 2019 07:42:53 +0000 (07:42 +0000)]
Merge "SettingsLib: Add an API method to query whether a package is a system module." into qt-dev

5 years agoMerge "Changes to MediaProjection UX." into qt-dev
Narayan Kamath [Mon, 20 May 2019 07:41:48 +0000 (07:41 +0000)]
Merge "Changes to MediaProjection UX." into qt-dev

5 years agoMerge "Change warning logs to debug logs" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 07:19:29 +0000 (07:19 +0000)]
Merge "Change warning logs to debug logs" into qt-dev

5 years agoRevise metrics for emergency dialer
Leo Hsu [Fri, 3 May 2019 13:28:07 +0000 (21:28 +0800)]
Revise metrics for emergency dialer

Add new metrics constants and deprecate old ones for Emergency Dialer.

Bug: 124427605
Test: Manually. Check the result of
'adb logcat -b events | grep -e sysui_multi_action'

Change-Id: Ia72709a237a78e3a80540cb8f18c80f2bfe37adc

5 years agoMerge "Support vendor color modes for sf mode sysprop" into qt-dev
Christine Franks [Mon, 20 May 2019 04:51:18 +0000 (04:51 +0000)]
Merge "Support vendor color modes for sf mode sysprop" into qt-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 20 May 2019 04:44:52 +0000 (21:44 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 72ecec0909 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifd0dd8cb6441b000dc2030b35d6ad135dec2a953

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Mon, 20 May 2019 04:42:17 +0000 (04:42 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 20 May 2019 04:25:27 +0000 (04:25 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 20 May 2019 01:26:23 +0000 (18:26 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2b9eb3a2f4543f79debd422951609abfad6b42f3

5 years agoMerge "[wm]: Fixed TaskPositioner leak" into qt-dev
TreeHugger Robot [Sun, 19 May 2019 23:12:25 +0000 (23:12 +0000)]
Merge "[wm]: Fixed TaskPositioner leak" into qt-dev

5 years agoAdd ExplicitHealthCheckServiceImplTest
Zimuzo [Tue, 14 May 2019 17:51:32 +0000 (18:51 +0100)]
Add ExplicitHealthCheckServiceImplTest

Test: atest
android.ext.services.watchdog.ExplicitHealthCheckServiceImplTest
Bug: 132640467

Change-Id: I2d1820a38adce238a157e925512898c184dadec0

5 years agoMerge "Fix handling multiple staged rollback sessions ready signal" into qt-dev
Zimuzo Ezeozue [Sun, 19 May 2019 18:33:45 +0000 (18:33 +0000)]
Merge "Fix handling multiple staged rollback sessions ready signal" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 19 May 2019 15:42:07 +0000 (08:42 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3f1a1c2c797ee233efa4db9c137f70493aa5e029

5 years agoMerge "Fix dropped rotation events when unlocking orientation" into qt-dev
TreeHugger Robot [Sun, 19 May 2019 14:23:32 +0000 (14:23 +0000)]
Merge "Fix dropped rotation events when unlocking orientation" into qt-dev

5 years agoFix dropped rotation events when unlocking orientation
Steve Elliott [Fri, 17 May 2019 18:39:53 +0000 (14:39 -0400)]
Fix dropped rotation events when unlocking orientation

When unlocking orientation on the same frame as a rotation takes place
(example: orientation is locked to landscape, but phone is physically
oriented to portrait), onConfigurationChange is not invoked, and so
Global Actions is positioned as if it were in the locked orientation,
even though it has been rotated.

We work around this by post()ing the rotation unlock, so that it
happens on the next frame, at which point onConfigurationChange is
correctly invoked and the layout is re-oriented properly.

Fixes: 132581161
Test: manual
Change-Id: I1c11844e24bea115f9f44560fef8db863d19d7af

5 years agoNot showing menu buttons for any headsup notification
shawnlin [Wed, 15 May 2019 12:06:10 +0000 (20:06 +0800)]
Not showing menu buttons for any headsup notification

Since swipe to remove notification behavior was rolled back to P which allows user to
remove a notification in both direction. We should not showing menu
buttons for any heads up notification either as in P.

Now it depends on the mIsUsingBidirectionalSwipe flag of NotificationMenuRow
to show menu buttons & the background.

Bug: 132668574
Test: send headsup notifications and swipe left/right
case and swipe left/right to check the background.

Change-Id: I5b96faed05d6184e02a8ede08f5e7c04ba5c456a

5 years agoMerge "Fix issue with wrong user task being resolved" into qt-dev
Winson Chung [Sun, 19 May 2019 03:54:23 +0000 (03:54 +0000)]
Merge "Fix issue with wrong user task being resolved" into qt-dev

5 years agoIgnore tests that are more flaky after start pos fixes.
Joshua Tsuji [Sun, 19 May 2019 03:44:17 +0000 (23:44 -0400)]
Ignore tests that are more flaky after start pos fixes.

Test: atest SystemUITests
Fixes: 133035560
Change-Id: Ic0b9d7cd6231e7fa4f925e6a490a4d120f92fb7d

5 years agoMerge "Revert "Align bubble behavior with DND settings."" into qt-dev
Josh Tsuji [Sun, 19 May 2019 03:11:35 +0000 (03:11 +0000)]
Merge "Revert "Align bubble behavior with DND settings."" into qt-dev

5 years agoMerge "Adds a PhoneStateMonitor to the AssistManager" into qt-dev
TreeHugger Robot [Sat, 18 May 2019 18:26:13 +0000 (18:26 +0000)]
Merge "Adds a PhoneStateMonitor to the AssistManager" into qt-dev

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 18 May 2019 14:57:23 +0000 (07:57 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: d1ab5aced6 -s ours
am skip reason: subject contains skip directive

Change-Id: I0c65f5c6aaf40e69e29bba12f8aa470169e12302

5 years agoMerge "Add throttling by job run session." into qt-dev
Kweku Adams [Sat, 18 May 2019 14:38:56 +0000 (14:38 +0000)]
Merge "Add throttling by job run session." into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 18 May 2019 14:27:54 +0000 (14:27 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoFix issue with wrong user task being resolved
Winson Chung [Fri, 17 May 2019 00:36:05 +0000 (17:36 -0700)]
Fix issue with wrong user task being resolved

- Setup wizard used to finish itself and start home automatically, but now
  we have the Tips app show afterwards which requires the user to swipe
  up to go home as a part of learning the gesture. Previously that would
  have created the home task for the secondary user and subsequent swipes
  would work, but in the new flow, the creation of the secondary user
  home task would never happen because the recents animation logic tries
  to find the primary user's home task. This is only an issue on the first
  launch for the secondary user, subsequent launches after completing SUW
  will start home as a part of switching users.

  This change ensures that we account for the user when trying to resolve
  an existing target activity.

Bug: 132410734
Test: atest RecentsAnimationTest
Change-Id: If14ad535948c5aadd83af528592b320dba62c40e

5 years agoMerge "Ensure that we use the current user context when adding nav mode listeners...
Winson Chung [Sat, 18 May 2019 14:24:16 +0000 (14:24 +0000)]
Merge "Ensure that we use the current user context when adding nav mode listeners" into qt-dev

5 years agoFix handling multiple staged rollback sessions ready signal
Zimuzo [Thu, 16 May 2019 17:09:23 +0000 (18:09 +0100)]
Fix handling multiple staged rollback sessions ready signal

After we stage a session for rollback, we need to wait for the
session to be ready and then reboot. To ensure we don't miss the
ready signal, we register a BroadcastReceiver to listen to session changes
and also check for session ready right away. This caused a race condition
where we may handle post-ready twice. This caused a crash because we
attempt to unregister the receiver twice, it's also a problem because
we could log the same event twice.

Now, we store the rollback ids we are about to handle and ensure we never
handle post-ready more than once.

Test: Manual test && atest StagedRollbackTest
Bug: 132866890
Change-Id: I5187ff20fb83b29f7a00a28bf6ad8105ca4f0067

5 years agoMerge "Allow updates to importance of default apps" into qt-dev
TreeHugger Robot [Sat, 18 May 2019 09:25:23 +0000 (09:25 +0000)]
Merge "Allow updates to importance of default apps" into qt-dev

5 years agoMerge "Remove assist status stuff from StatusBar." into qt-dev
Matt Casey [Sat, 18 May 2019 09:21:58 +0000 (09:21 +0000)]
Merge "Remove assist status stuff from StatusBar." into qt-dev

5 years agoMerge "Add workaround for b/124210145" into qt-dev
TreeHugger Robot [Sat, 18 May 2019 06:16:21 +0000 (06:16 +0000)]
Merge "Add workaround for b/124210145" into qt-dev

5 years agoMerge "Add DeviceConfig flags to Privacy Indicators" into qt-dev
TreeHugger Robot [Sat, 18 May 2019 06:14:40 +0000 (06:14 +0000)]
Merge "Add DeviceConfig flags to Privacy Indicators" into qt-dev

5 years agoMerge "Aggresive performance optimizations." into qt-dev
Jeff Sharkey [Sat, 18 May 2019 05:48:35 +0000 (05:48 +0000)]
Merge "Aggresive performance optimizations." into qt-dev