OSDN Git Service

android-x86/frameworks-base.git
4 years agoMerge "[DO NOT MERGE] Exclude euicc_unsupported_countries from backup test" into...
Jiashen Wang [Fri, 20 Dec 2019 00:15:16 +0000 (00:15 +0000)]
Merge "[DO NOT MERGE] Exclude euicc_unsupported_countries from backup test" into qt-qpr1-dev

4 years agoMerge "DO NOT MERGE Only refresh car notif on language change" into qt-qpr1-dev
Heemin Seog [Fri, 20 Dec 2019 00:09:53 +0000 (00:09 +0000)]
Merge "DO NOT MERGE Only refresh car notif on language change" into qt-qpr1-dev

4 years agoDO NOT MERGE Only refresh car notif on language change
Heemin Seog [Thu, 19 Dec 2019 21:36:12 +0000 (13:36 -0800)]
DO NOT MERGE Only refresh car notif on language change

Refreshing all of status bar causes issues with some listeners being
triggered before it is ready to be called.

Bug: 145946470
Bug: 146163621
Bug: 146521766
Test: manual (flash + change language + watch logcat for sysui crash)
Change-Id: If9b2d0fd81698aba21ed3d5708ac68d09bdba0a7

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 23:12:33 +0000 (23:12 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years ago[DO NOT MERGE] Exclude euicc_unsupported_countries from backup test
SzuWei Lin [Thu, 19 Dec 2019 14:56:56 +0000 (22:56 +0800)]
[DO NOT MERGE] Exclude euicc_unsupported_countries from backup test

Bug: 146550929
Test: atest SettingsBackupTest
Change-Id: I48c255a4e8999be903e5642ca6d7b312b214d05f

4 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 19 Dec 2019 21:52:22 +0000 (13:52 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ic59785b6426a503b06cd1ab16ac7060791dda8ef
Auto-generated-cl: translation import

4 years agoUpdate Ranking's equal method [DO NOT MERGE]
Beverly [Mon, 16 Dec 2019 18:29:08 +0000 (13:29 -0500)]
Update Ranking's equal method [DO NOT MERGE]

[Cherry picked from master]

Include check for whether mVisuallyInterruptive has changed

Test: atest BubbleDataTest
Change-Id: I5c4706667e6ca4cde44ef3671daa24afaf2b14f3
(cherry picked from commit e1541e7ec9c40a81a99ceafe1fba4e594ac53c6c)

4 years agoMerge "Fix drag surface would be stuck (1/2)" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Fix drag surface would be stuck (1/2)" into qt-qpr1-dev

4 years agoMerge "Revert "Fix drag and drop (3/3)"" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Revert "Fix drag and drop (3/3)"" into qt-qpr1-dev

4 years agoMerge "Revert "Fix drag and drop (2/3)"" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Revert "Fix drag and drop (2/3)"" into qt-qpr1-dev

4 years agoMerge "Revert "Fix drag and drop (1/3)"" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 07:49:32 +0000 (07:49 +0000)]
Merge "Revert "Fix drag and drop (1/3)"" into qt-qpr1-dev

4 years agoDO NOT MERGE: Allow nearby sharing to substitute name & icon in chip
Dan Sandler [Wed, 18 Dec 2019 02:20:18 +0000 (21:20 -0500)]
DO NOT MERGE: Allow nearby sharing to substitute name & icon in chip

meta-data bundle keys (values are resids):

    CHIP_LABEL_METADATA_KEY = "android.service.chooser.chip_label"
    CHIP_ICON_METADATA_KEY = "android.service.chooser.chip_icon"

Test: manual, confirm that correct name & icon are used
      and that custom icon is tinted in light/dark theme
      (and that the copy chip is tinted right, too!)
Bug: 144290152
Change-Id: I57157e07630fa8bec3057e6d18336c59944fcb4f

4 years agoDO NOT MERGE: Fix alignment of share chips.
Dan Sandler [Wed, 18 Dec 2019 01:57:59 +0000 (20:57 -0500)]
DO NOT MERGE: Fix alignment of share chips.

Bug: 144290152
Test: visual inspection in landscape & portrait
Change-Id: Ib60b7b56bdf23a45c61416b8309a921451010e8e

4 years agoMerge "Security Fix: Race Condition + NPE" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 00:25:15 +0000 (00:25 +0000)]
Merge "Security Fix: Race Condition + NPE" into qt-qpr1-dev

4 years agoMerge "AudioService: setMasterMute protected by MODIFY_AUDIO_ROUTING" into qt-qpr1-dev
TreeHugger Robot [Thu, 19 Dec 2019 00:23:29 +0000 (00:23 +0000)]
Merge "AudioService: setMasterMute protected by MODIFY_AUDIO_ROUTING" into qt-qpr1-dev

4 years agoMerge "Remove contacts affinity from contact permission descriptions" into qt-qpr1-dev
Walter Jang [Wed, 18 Dec 2019 23:28:13 +0000 (23:28 +0000)]
Merge "Remove contacts affinity from contact permission descriptions" into qt-qpr1-dev

4 years agoAudioService: setMasterMute protected by MODIFY_AUDIO_ROUTING
Jean-Michel Trivi [Fri, 1 Nov 2019 18:07:09 +0000 (11:07 -0700)]
AudioService: setMasterMute protected by MODIFY_AUDIO_ROUTING

Require MODIFY_AUDIO_ROUTING system permission to exercise
hidden (non-SDK, non-SystemApi) method setMasterMute

Bug: 141622311
Test: see bug for POC app
Change-Id: I4ee93276daa1285c55c4c838e2b43833135d76f6

4 years agoSecurity Fix: Race Condition + NPE
Tej Singh [Sat, 21 Sep 2019 02:28:53 +0000 (19:28 -0700)]
Security Fix: Race Condition + NPE

ShellSubscriber is lazily initialized, and multiple threads can attempt
to write the same pointer since it is not initialized in threadsafe
code. Additionally, there is an NPE that crashes statsd when a null
ResultReceiver is passed in, which allows an attacker to repeatedly
crash statsd until the race condition occurs. More details, including a
proof of concept attack, are in the bug.

Bug: 141243101
Test: repro steps in bug no longer crash statsd
Test: with only the lock on iniitiallizing mShellSubscriber, statsd
still crashed but after ~7 minutes, no race condition occurred.

Change-Id: Ib56f888620497fb41d1627c07867693eb251738e

4 years agoMerge "Remove keyguard_indication_area_overlay" into qt-qpr1-dev
Lucas Dupin [Wed, 18 Dec 2019 18:29:07 +0000 (18:29 +0000)]
Merge "Remove keyguard_indication_area_overlay" into qt-qpr1-dev

4 years agoMerge changes from topic "cp-fingerprint" into qt-qpr1-dev
Gavin Corkery [Wed, 18 Dec 2019 17:56:24 +0000 (17:56 +0000)]
Merge changes from topic "cp-fingerprint" into qt-qpr1-dev

* changes:
  Don't mark terminal staged sessions as failed
  Add build fingerprint checks to APK sessions

4 years agoMerge "Do not restart activity when pinned set changes - just re-sort." into qt-qpr1-dev
Alison Cichowlas [Wed, 18 Dec 2019 15:41:33 +0000 (15:41 +0000)]
Merge "Do not restart activity when pinned set changes - just re-sort." into qt-qpr1-dev

4 years agoMerge "Make preview text focusable." into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Dec 2019 04:10:00 +0000 (04:10 +0000)]
Merge "Make preview text focusable." into qt-qpr1-dev

4 years agoMake preview text focusable.
Alison Cichowlas [Wed, 18 Dec 2019 02:50:46 +0000 (21:50 -0500)]
Make preview text focusable.

Otherwise, the parent item gets focus, and Talkback will read
the preview text but perform an Action Row action on click.

Bug: 145720818
Test: Manual per bug repro steps
Change-Id: I8938606882e121b4a86e9e1723e6fba3c6d75eeb

4 years agoDo not restart activity when pinned set changes - just re-sort.
Alison Cichowlas [Wed, 18 Dec 2019 00:42:29 +0000 (19:42 -0500)]
Do not restart activity when pinned set changes - just re-sort.

Bug: 145703939
Test: Share dialog via screenshot, long press for pin, observe behavior.
Change-Id: I6e9e03b77e1486093097ea1488fa589e3c7bd482
Merged-In: I6e9e03b77e1486093097ea1488fa589e3c7bd482

4 years agoMerge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Dec 2019 02:27:28 +0000 (02:27 +0000)]
Merge "[Wi-Fi] Fix transition mode problems" into qt-qpr1-dev

4 years agoBattery Saver capitilized in tile
Jay Aliomer [Tue, 17 Dec 2019 22:59:27 +0000 (17:59 -0500)]
Battery Saver capitilized in tile

When the phone is in battery saver mode, the "Battery Saver" secondary
label should be capitalized

Test: manual

Fixes: 145694753
Change-Id: Ia88547aa05ad441b07da3044e7148e1a918c28b5

4 years agoMerge "DO NOT MERGE: Exclude nearby_sharing_component from backup test" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Dec 2019 01:42:06 +0000 (01:42 +0000)]
Merge "DO NOT MERGE: Exclude nearby_sharing_component from backup test" into qt-qpr1-dev

4 years agoDO NOT MERGE: Exclude nearby_sharing_component from backup test
Dan Sandler [Tue, 17 Dec 2019 03:32:23 +0000 (22:32 -0500)]
DO NOT MERGE: Exclude nearby_sharing_component from backup test

Fixes: 146019461
Test: atest SettingsBackupTest
Change-Id: Ieb953284f2c00d69220e776f2b628f73013140e0

4 years agoMerge "Fix lock screen wallpaper" into qt-qpr1-dev
TreeHugger Robot [Wed, 18 Dec 2019 00:34:12 +0000 (00:34 +0000)]
Merge "Fix lock screen wallpaper" into qt-qpr1-dev

4 years agoMerge "docs: Fixed typo" into qt-dev am: 3e4f4f9933 am: 6231cffbb8
Automerger Merge Worker [Tue, 17 Dec 2019 23:43:26 +0000 (23:43 +0000)]
Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933 am: 6231cffbb8

Change-Id: I1653273a1d9c0eae7b8a8406bc188e2e909ffaa0

4 years agoMerge "docs: Fixed typo" into qt-dev am: 3e4f4f9933
Automerger Merge Worker [Tue, 17 Dec 2019 23:31:47 +0000 (23:31 +0000)]
Merge "docs: Fixed typo" into qt-dev am: 3e4f4f9933

Change-Id: Ic625ffed3ce23a7766a12a153d9794a4abf7a6b5

4 years agoMerge "docs: Fixed typo" into qt-dev
Andrew Solovay [Tue, 17 Dec 2019 23:20:29 +0000 (23:20 +0000)]
Merge "docs: Fixed typo" into qt-dev

4 years agoMerge "Dark theme battery saver tile secondary text" into qt-qpr1-dev
Jay Aliomer [Tue, 17 Dec 2019 21:58:37 +0000 (21:58 +0000)]
Merge "Dark theme battery saver tile secondary text" into qt-qpr1-dev

4 years agoMerge "Avoid lock inversion." into qt-qpr1-dev
TreeHugger Robot [Tue, 17 Dec 2019 21:27:34 +0000 (21:27 +0000)]
Merge "Avoid lock inversion." into qt-qpr1-dev

4 years agoFix lock screen wallpaper
Lucas Dupin [Tue, 17 Dec 2019 21:14:53 +0000 (13:14 -0800)]
Fix lock screen wallpaper

LockscreenWallpaper was set to null on NotificationMediaManager because
StatusBar#mWallpaperSupported was not initialized yet.

Fixes: 146252300
Test: manual
Change-Id: I4c5151ad6b40d0f0996fdbb825745729cc003425
Merged-In: I4c5151ad6b40d0f0996fdbb825745729cc003425

4 years agoDark theme battery saver tile secondary text
Jay Aliomer [Tue, 17 Dec 2019 20:04:15 +0000 (15:04 -0500)]
Dark theme battery saver tile secondary text

Dark theme tile on battery saver should show
"Dark theme" and "Battery saver" on two lines

Test: manual. turn battery saver on while dark theme on auto

Fixes: 146439388
Change-Id: I460b582ca7fcf244b406d6eaf70c10e4edc52d85

4 years agodocs: Removing most of the intro to PowerManager API am: 3fea8d1042 am: f92878e651
Automerger Merge Worker [Tue, 17 Dec 2019 20:18:50 +0000 (20:18 +0000)]
docs: Removing most of the intro to PowerManager API am: 3fea8d1042 am: f92878e651

Change-Id: I07ea69318879ad5c70c99880c6cc6c57a348d76a

4 years agodocs: Removing most of the intro to PowerManager API am: 3fea8d1042
Automerger Merge Worker [Tue, 17 Dec 2019 19:58:53 +0000 (19:58 +0000)]
docs: Removing most of the intro to PowerManager API am: 3fea8d1042

Change-Id: I25c41e4998197ef1df2c95fb1f2360360970389f

4 years agoMerge "[DO NOT MERGE] Better timestamp for shutdown and startup events." into qt...
TreeHugger Robot [Tue, 17 Dec 2019 19:01:59 +0000 (19:01 +0000)]
Merge "[DO NOT MERGE] Better timestamp for shutdown and startup events." into qt-qpr1-dev

4 years agoMerge "[DO NOT MERGE] Reset mTrackingReportedValues in endSample()" into qt-qpr1-dev
Hui Yu [Tue, 17 Dec 2019 19:01:15 +0000 (19:01 +0000)]
Merge "[DO NOT MERGE] Reset mTrackingReportedValues in endSample()" into qt-qpr1-dev

4 years agoRemove contacts affinity from contact permission descriptions
Walter Jang [Wed, 11 Dec 2019 21:01:38 +0000 (13:01 -0800)]
Remove contacts affinity from contact permission descriptions

Bug: 146210091
Bug: 111210683
Test: NOne
Change-Id: I44c80a08e541503c1f910c4410fbcce3dd05a24e
Merged-In: I44c80a08e541503c1f910c4410fbcce3dd05a24e
(cherry picked from commit 1e713c1eabc015a2a45b05c52f81c76d0a7da01b)

4 years agoMerge "DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM." into...
TreeHugger Robot [Tue, 17 Dec 2019 03:21:16 +0000 (03:21 +0000)]
Merge "DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM." into qt-qpr1-dev

4 years ago[DO NOT MERGE] Reset mTrackingReportedValues in endSample()
Hui Yu [Sat, 23 Nov 2019 02:35:12 +0000 (18:35 -0800)]
[DO NOT MERGE] Reset mTrackingReportedValues in endSample()

Otherwise, when next SamplingTimer.update() is called, it will take
zero as start time.

Bug: 142466892
Test: NA.

Change-Id: I04625fadd8fd8bab3ba83b8e7cd10737ad34e60b
(cherry picked from commit c7d49e01dd97aeefd365f2e808c7f5749db0c837)

4 years agodocs: Fixed typo
Andrew Solovay [Mon, 16 Dec 2019 22:52:12 +0000 (14:52 -0800)]
docs: Fixed typo

Fixed a clear copy/paste error, docs had said "call getHeight() to
get the width" when it should have been "...to get the height".

Skipping staging since it's a simple text change.

Change-Id: Ic06557ac38517f409943585054835d774240ccf3
Test: make ds-docs
Exempt-from-owner-approval: Docs-only change
Bug: 144537947

4 years agoDO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM.
Felipe Leme [Thu, 12 Dec 2019 20:17:53 +0000 (12:17 -0800)]
DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM.

That method was throwing a NPE on automotive because it's called before start()

Test: check logcat while running 'adb shell dumpsys car_service suspend'
Fixes: 146144370
Change-Id: Id863acac44f75b06c8cd1a0f0bcd6f23f8ab6fd9
(cherry picked from commit 20e362a92b8376b590d5df615265050dd6838c91)

4 years ago[DO NOT MERGE] Better timestamp for shutdown and startup events.
Hui Yu [Wed, 4 Sep 2019 00:45:49 +0000 (17:45 -0700)]
[DO NOT MERGE] Better timestamp for shutdown and startup events.

Fix the bug that during android P to Q upgrade, DEVICE_SHUTDOWN
event mistakenly gets a newer timestamp than DEVICE_STARTUP event.

Bug: 139656029
Test: flash the device with android P, then upgrade to android Q,
then "adb shell dumpsys usagestats", observe DEVICE_SHUTDOWN
is before DEVICE_STARTUP.

Change-Id: I5429fe7648529be8379270adefd26bd98a31357c

4 years agodocs: Removing most of the intro to PowerManager API
Andrew Solovay [Thu, 5 Dec 2019 21:05:38 +0000 (13:05 -0800)]
docs: Removing most of the intro to PowerManager API

The intro text says PowerManager is discouraged, and almost
all the available wakelock options have long been deprecated.
Given that, I think it makes sense to remove most of that
intro and just point devs to FLAG_KEEP_SCREEN_ON instead.

Staged to:
go/dac-stage/reference/android/os/PowerManager

Test: make ds-docs
Bug: 145699347
Change-Id: I517366903f3d9743166d7edaddc08471af0803d9

4 years agoMerge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev
Alex Lin [Mon, 16 Dec 2019 21:34:45 +0000 (21:34 +0000)]
Merge "[DO NOT MERGE] Add country blacklist support" into qt-qpr1-dev

4 years ago[DO NOT MERGE] Add country blacklist support
Alex Lin [Tue, 10 Dec 2019 19:10:34 +0000 (11:10 -0800)]
[DO NOT MERGE] Add country blacklist support

Adding a country blacklist, except for pixel2(walleye, taimen) will still uses whitelist
Bug: 144702079
Test: manually tested

Change-Id: I21c146556e5406ecf5c72f74767ea8d5fc643aec

4 years agoMerge "Check for wallpaper service on DozeWallpaperState." into qt-qpr1-dev
TreeHugger Robot [Mon, 16 Dec 2019 19:42:05 +0000 (19:42 +0000)]
Merge "Check for wallpaper service on DozeWallpaperState." into qt-qpr1-dev

4 years agoMerge "Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED" into qt-qpr1-dev
Jayachandran Chinnakkannu [Mon, 16 Dec 2019 18:07:07 +0000 (18:07 +0000)]
Merge "Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED" into qt-qpr1-dev

4 years agoMerge "DO NOT MERGE - Do not show Bluetooth icon when headset is not active" into...
TreeHugger Robot [Mon, 16 Dec 2019 11:04:37 +0000 (11:04 +0000)]
Merge "DO NOT MERGE - Do not show Bluetooth icon when headset is not active" into qt-qpr1-dev

4 years agoMerge "more precise definition for undecorated remoteviews" into qt-qpr1-dev
TreeHugger Robot [Sat, 14 Dec 2019 16:49:31 +0000 (16:49 +0000)]
Merge "more precise definition for undecorated remoteviews" into qt-qpr1-dev

4 years agoDO NOT MERGE Fixing build, missing parameter.
Eric Berglund [Fri, 13 Dec 2019 21:10:13 +0000 (13:10 -0800)]
DO NOT MERGE Fixing build, missing parameter.

Bug: 145946470146228232
Test: Builds locally
Change-Id: I7f3632c90ca424d70b1cc6e20f88e741ff25efaa

4 years agoRemove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED
Jayachandran C [Fri, 13 Dec 2019 19:46:48 +0000 (11:46 -0800)]
Remove READ_SMS permission for ACTION_SMS_MMS_DB_CREATED

Bug: 144739528
Test: Build
Change-Id: I27341bf7c1f6fc640ba51360f8a6035cdb86052b
Merged-In: I27341bf7c1f6fc640ba51360f8a6035cdb86052b

4 years agoCheck for wallpaper service on DozeWallpaperState.
Felipe Leme [Thu, 12 Dec 2019 20:17:53 +0000 (12:17 -0800)]
Check for wallpaper service on DozeWallpaperState.

It's disabled by default on automotive builds.

Bug: 146157808
Test: check logcat while running 'adb shell dumpsys car_service suspend'

Change-Id: Ifb0815f260d61bb8307f4b7c7798d9a5684d0d20
(cherry picked from commit 6844c394fbb6e0170f893de58520a73fabaa1229)

4 years agomore precise definition for undecorated remoteviews
Chris Wren [Thu, 12 Dec 2019 20:33:21 +0000 (15:33 -0500)]
more precise definition for undecorated remoteviews

Bug: 145994957
Test: atest NotificationRecordTest
Change-Id: I9427137879dc87f32231fbc5cb8ed34cf5ce787a

4 years agoMerge "DO NOT MERGE Triggering status bar refresh on locale change so that the notifi...
Eric Berglund [Fri, 13 Dec 2019 20:01:18 +0000 (20:01 +0000)]
Merge "DO NOT MERGE Triggering status bar refresh on locale change so that the notifications panel updates to the new language." into qt-qpr1-dev

4 years agoMerge "Put userId at the end of parcel" into qt-dev am: 899f8301e0 am: 056b56c6b7
Automerger Merge Worker [Fri, 13 Dec 2019 19:31:04 +0000 (19:31 +0000)]
Merge "Put userId at the end of parcel" into qt-dev am: 899f8301e0 am: 056b56c6b7

Change-Id: Id17055f72243306cac9e46abff2cf313492f5e7c

4 years agoMerge "Put userId at the end of parcel" into qt-dev am: 899f8301e0
Automerger Merge Worker [Fri, 13 Dec 2019 19:11:21 +0000 (19:11 +0000)]
Merge "Put userId at the end of parcel" into qt-dev am: 899f8301e0

Change-Id: If6ce5c989102c8fb6cdc1fa82cde79817f6c3423

4 years agoMerge "Put userId at the end of parcel" into qt-dev
TreeHugger Robot [Fri, 13 Dec 2019 18:50:54 +0000 (18:50 +0000)]
Merge "Put userId at the end of parcel" into qt-dev

4 years agoMerge "DO NOT MERGE Make fixes to make sysui more customizable" into qt-qpr1-dev
Heemin Seog [Fri, 13 Dec 2019 18:47:31 +0000 (18:47 +0000)]
Merge "DO NOT MERGE Make fixes to make sysui more customizable" into qt-qpr1-dev

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 18:19:00 +0000 (18:19 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours am: 929b23ac43 -s ours am: d98efda2ba am: 0626709062

Change-Id: I80d933328f24433bf7f0b5087feaa25072f4b99a

4 years ago[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881...
Automerger Merge Worker [Fri, 13 Dec 2019 18:18:45 +0000 (18:18 +0000)]
[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours am: 8c5af9b7d9 -s ours am: 1ed77b86cf am: ee0de45fee

Change-Id: I5133d09b6f17678932516ace8650d884e84175d5

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 18:04:31 +0000 (18:04 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours am: 929b23ac43 -s ours am: d98efda2ba

Change-Id: I7feee02b0dfab2d74ee82fee39a2ba5a77c27f99

4 years ago[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881...
Automerger Merge Worker [Fri, 13 Dec 2019 18:04:14 +0000 (18:04 +0000)]
[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours am: 8c5af9b7d9 -s ours am: 1ed77b86cf

Change-Id: Icdc837b6af117638414dea01063a66161ce8465c

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 17:50:17 +0000 (17:50 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours am: 929b23ac43 -s ours
am skip reason: subject contains skip directive

Change-Id: I53d35a4d2f2c517ec50cfdbc22008bda2e4041c5

4 years ago[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881...
Automerger Merge Worker [Fri, 13 Dec 2019 17:49:57 +0000 (17:49 +0000)]
[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours am: 8c5af9b7d9 -s ours
am skip reason: subject contains skip directive

Change-Id: I05c1ed670d07b677a8e6a20b4d50a06b7482cbc6

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 17:37:31 +0000 (17:37 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea am: ad56194783 -s ours
am skip reason: subject contains skip directive

Change-Id: I5b7670226082f60abc45ae023e687a8b0191f20e

4 years ago[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881...
Automerger Merge Worker [Fri, 13 Dec 2019 17:37:15 +0000 (17:37 +0000)]
[automerger skipped] RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d am: e0465e2881 -s ours
am skip reason: subject contains skip directive

Change-Id: I67f8185d1a6d3b75fad924d07e8eb6e8e9db0207

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 17:31:02 +0000 (17:31 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours am: 4505eccb39 -s ours am: 3c352b62af am: 8e3b22b5d7

Change-Id: Ib6b1c893ff93650a06919b3cfe333ba3ac6186f1

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi...
Automerger Merge Worker [Fri, 13 Dec 2019 17:30:35 +0000 (17:30 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev am: 4b6e07283c -s ours am: 2b4b2c3d5a am: 512268ba7b

Change-Id: I129c434e45648047df954e6ef9d2c291f8d2817d

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev am: 1e53d56481 am...
Automerger Merge Worker [Fri, 13 Dec 2019 17:29:54 +0000 (17:29 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev am: 1e53d56481 am: 5830ae29c5

Change-Id: I8f7ad58c68a6aff639ec6e8e394b53f24e33fdfe

4 years agoRESTRICT AUTOMERGE am: b81f269ae2 am: db965097eb
Automerger Merge Worker [Fri, 13 Dec 2019 17:29:38 +0000 (17:29 +0000)]
RESTRICT AUTOMERGE am: b81f269ae2 am: db965097eb

Change-Id: I78c1a49ba6c0b883b506320dbfa2503e4c3c4c5e

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am...
Automerger Merge Worker [Fri, 13 Dec 2019 17:14:42 +0000 (17:14 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea

Change-Id: I197f9d12435267964c84bfcee18c371611fa728c

4 years agoRESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d
Automerger Merge Worker [Fri, 13 Dec 2019 17:14:28 +0000 (17:14 +0000)]
RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d

Change-Id: I490bf47b2c6588da4b28998333fbfb197688d6c0

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 17:07:57 +0000 (17:07 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours am: 4505eccb39 -s ours am: 3c352b62af

Change-Id: Ia263bc63065b686eec529b04036bcd89df0135e4

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi...
Automerger Merge Worker [Fri, 13 Dec 2019 17:07:28 +0000 (17:07 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev am: 4b6e07283c -s ours am: 2b4b2c3d5a

Change-Id: I01afa68e3cea31b7fe868d14fb612718cdf2a257

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev am: 1e53d56481
Automerger Merge Worker [Fri, 13 Dec 2019 17:07:06 +0000 (17:07 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev am: 1e53d56481

Change-Id: I19ff0f27ad95dc5d80a1c6ae444a91befeba9670

4 years agoRESTRICT AUTOMERGE am: b81f269ae2
Automerger Merge Worker [Fri, 13 Dec 2019 17:06:50 +0000 (17:06 +0000)]
RESTRICT AUTOMERGE am: b81f269ae2

Change-Id: Ia2afa630f1df185c6d38775768d9f3dfb54a2f16

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 17:02:27 +0000 (17:02 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours am: 4505eccb39 -s ours
am skip reason: subject contains skip directive

Change-Id: I7a98fa39acee962cf209fa64abdac9a708497d98

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f
Automerger Merge Worker [Fri, 13 Dec 2019 17:02:07 +0000 (17:02 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f

Change-Id: I0b4b6a26b538d6f51780413376d70b6906877893

4 years agoRESTRICT AUTOMERGE am: fe4bf7926e
Automerger Merge Worker [Fri, 13 Dec 2019 17:01:46 +0000 (17:01 +0000)]
RESTRICT AUTOMERGE am: fe4bf7926e

Change-Id: I92627314fc09b129f37b08192084c5b807a00ed2

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi...
Automerger Merge Worker [Fri, 13 Dec 2019 17:01:11 +0000 (17:01 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev am: 4b6e07283c -s ours
am skip reason: subject contains skip directive

Change-Id: I5e7c7ba4ba9d7c460a1e73e9e5b0feb01b5ae31d

4 years ago[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc...
Automerger Merge Worker [Fri, 13 Dec 2019 16:57:18 +0000 (16:57 +0000)]
[automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours
am skip reason: subject contains skip directive

Change-Id: I46e62bd45f14b79772dbb584167a01bef66b314b

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev
Sterling Huber [Fri, 13 Dec 2019 16:44:15 +0000 (16:44 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev
Sterling Huber [Fri, 13 Dec 2019 16:44:15 +0000 (16:44 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev
Sterling Huber [Fri, 13 Dec 2019 16:44:15 +0000 (16:44 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev

4 years agoMerge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev
Sterling Huber [Fri, 13 Dec 2019 16:44:14 +0000 (16:44 +0000)]
Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev

4 years agoDO NOT MERGE Make fixes to make sysui more customizable
Heemin Seog [Wed, 11 Dec 2019 18:54:32 +0000 (10:54 -0800)]
DO NOT MERGE Make fixes to make sysui more customizable

Bug: 144567659
Bug: 145547127
Test: manual
Change-Id: I66a0a7794ecfcdddd47d28ee681c904f799c5928

4 years agoDon't mark terminal staged sessions as failed
Gavin Corkery [Tue, 22 Oct 2019 13:55:54 +0000 (14:55 +0100)]
Don't mark terminal staged sessions as failed

Currently we mark sessions in an already-terminal state (applied
or failed) as failed when there is a build fingerprint change. This
can cause issues with trying to clean a non-existent directory.
Change this logic to check the status of the session when marking
as failed.

Test: atest StagedInstallTest
Bug: 145840157
Change-Id: I163a3c6558117455038608e15065e076e2dd82d2
Merged-in: I163a3c6558117455038608e15065e076e2dd82d2
(cherry picked from commit 67ce22c57b51e7e41c667f51ad3de73cffbeb799)

4 years agoAdd build fingerprint checks to APK sessions
Gavin Corkery [Fri, 27 Sep 2019 14:02:28 +0000 (15:02 +0100)]
Add build fingerprint checks to APK sessions

In order to prevent a staged install taking place after
receiving an OTA, set the status of a staged session to
failed if PackageManagerService.isDeviceUpgrading is
true.

Bug: 145840157
Test: atest StagedInstallTest#testInstallApkChangingFingerprint
Change-Id: I7834bed49b2c7af80f2f07a937f9e15860c13910
Merged-In: I7834bed49b2c7af80f2f07a937f9e15860c13910
(cherry picked from commit de8174b3558953bc368bff618f9837a55f0e742c)

4 years agoFix drag surface would be stuck (1/2)
Arthur Hung [Thu, 29 Aug 2019 04:28:07 +0000 (12:28 +0800)]
Fix drag surface would be stuck (1/2)

- If a window is removing, and perform drag-drop at same time,
  transferTouchFocus would fail because the window can't be found in the
  inputflinger.

- If there is no touch down on the drag window, it should not allow to
  drag.

- If perform drag successful, and a touch up sent out at same time,
  the transferTouchFocus might fail because there is no touch state for
  the calling window.

This patch would add syncInputTransactions to ensure input windows
information has been propagated to native InputManager.
So transferTouchFocus can base on current input windows information
to check if it should allow the drag-drop.

Also use the same transaction to control drag surface to prevent wrong
order cause surface can't be dismissed.

Bug: 137819199
Test: atest WmTests:TaskPositioningControllerTests
Test: atest DragDropTest
Change-Id: I382bc1fb04e1f4469df2c512f9e0f2542bbd2390
Merged-In: I382bc1fb04e1f4469df2c512f9e0f2542bbd2390
(cherry picked from commit b62e500e63e60463adb7b35f7543fd8c82273026)

4 years agoPut userId at the end of parcel
Tony Mak [Tue, 10 Dec 2019 07:22:23 +0000 (07:22 +0000)]
Put userId at the end of parcel

userId is a new field added in ag/8350816, and it is written in between
some old fields when we parcelize it.

That breaks AiAi because some of its code rely on the implementation
details of SelectionEvent.writeToParcel.

In the long run, we may want to update AiAi such that it works
without this assumption, but before that, let's fix that in platform
for now.

Bug: 145962464
Bug: 123232892

Test: atest FrameworksCoreTests:android.view.textclassifier.SelectionEventTest

Merged-In: I98137a095cddf0fb4c600e1e09eef507bb750528
Change-Id: I66f65ac4c81ca964f710404fd081496355276435

4 years agoMerge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev am: e8ba34a851 am: a4967992c1
Automerger Merge Worker [Fri, 13 Dec 2019 00:44:35 +0000 (00:44 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev am: e8ba34a851 am: a4967992c1

Change-Id: I4b60f33db0cb582580f19f82f4af1bebf63a75c1

4 years agoRESTRICT AUTOMERGE am: bf04ea6d3b am: bcdf0aacd5
Automerger Merge Worker [Fri, 13 Dec 2019 00:44:14 +0000 (00:44 +0000)]
RESTRICT AUTOMERGE am: bf04ea6d3b am: bcdf0aacd5

Change-Id: I32a343ab313d8f61d097f8ce2f705fff355777ef

4 years agoMerge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev am: e8ba34a851
Automerger Merge Worker [Fri, 13 Dec 2019 00:26:40 +0000 (00:26 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev am: e8ba34a851

Change-Id: Iefe7ac373d783298f608effd81ae50b21053d69c

4 years agoRESTRICT AUTOMERGE am: bf04ea6d3b
Automerger Merge Worker [Fri, 13 Dec 2019 00:26:31 +0000 (00:26 +0000)]
RESTRICT AUTOMERGE am: bf04ea6d3b

Change-Id: I4c99e09d21cd93af567f186ae1e86ab076c96ce3

4 years agoMerge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev
TreeHugger Robot [Fri, 13 Dec 2019 00:15:10 +0000 (00:15 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev

* changes:
  RESTRICT AUTOMERGE Fixes NPE when preparing app data during init
  RESTRICT AUTOMERGE Use KNOWN_PACKAGES when shared lib consumers
  RESTRICT AUTOMERGE Handles null outInfo in deleteSystemPackageLI

4 years agoDO NOT MERGE Set CarSysUI unprovisioned state depending on SUW progress.
Abhijoy Saha [Tue, 10 Dec 2019 21:52:26 +0000 (13:52 -0800)]
DO NOT MERGE Set CarSysUI unprovisioned state depending on SUW progress.

Use a controller to monitor KEY_SETUP_WIZARD_IN_PROGRESS and USER_SETUP_COMPLETE
flags to know when to set CarSysUI bars in an unprovisioned state and prevent
interactions with notification shade.

Bug: 145616123
Test: Manual
Change-Id: Ie035f049e3e9e7cb411fc9553a20e4c09078c121