OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Remove quick switch and simplify quickstep code for scrub" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:28:17 +0000 (23:28 +0000)]
Merge "Remove quick switch and simplify quickstep code for scrub" into pi-dev

6 years agoMerge "Fix SurfaceView Background" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:21:04 +0000 (23:21 +0000)]
Merge "Fix SurfaceView Background" into pi-dev

6 years agoMerge "Parse SMS locally upon error to get message ref" into pi-dev
Brad Ebinger [Fri, 23 Mar 2018 23:19:26 +0000 (23:19 +0000)]
Merge "Parse SMS locally upon error to get message ref" into pi-dev

6 years agoMerge "Fixed AutofillServiceHelper.assertValid() so it throws the right exception...
TreeHugger Robot [Fri, 23 Mar 2018 23:18:27 +0000 (23:18 +0000)]
Merge "Fixed AutofillServiceHelper.assertValid() so it throws the right exception." into pi-dev

6 years agoMerge "Notify all running users for global settings change" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:17:21 +0000 (23:17 +0000)]
Merge "Notify all running users for global settings change" into pi-dev

6 years agoMerge "Split the DownloadStateCallback class into two" into pi-dev
Hall Liu [Fri, 23 Mar 2018 23:11:46 +0000 (23:11 +0000)]
Merge "Split the DownloadStateCallback class into two" into pi-dev

6 years agoMerge "Add string for 'snooze' action to use in local context menu" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 23:11:30 +0000 (23:11 +0000)]
Merge "Add string for 'snooze' action to use in local context menu" into pi-dev

6 years agoMerge "Revert the low battery warning title to previous version." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:57:34 +0000 (22:57 +0000)]
Merge "Revert the low battery warning title to previous version." into pi-dev

6 years agoMerge "Properly set input type on autofill compat mode." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:49:25 +0000 (22:49 +0000)]
Merge "Properly set input type on autofill compat mode." into pi-dev

6 years agoMerge "Fix AOD styling when pulsing" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:18:25 +0000 (22:18 +0000)]
Merge "Fix AOD styling when pulsing" into pi-dev

6 years agoMerge "insert exif info for HEIF files" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:17:35 +0000 (22:17 +0000)]
Merge "insert exif info for HEIF files" into pi-dev

6 years agoMerge "Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev am:...
Android Build Merger (Role) [Fri, 23 Mar 2018 22:11:57 +0000 (22:11 +0000)]
Merge "Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev am: 5b0a4eea8d" into pi-dev

6 years agoMerge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev
Todd Kopriva [Fri, 23 Mar 2018 22:11:38 +0000 (22:11 +0000)]
Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev
am: 5b0a4eea8d

Change-Id: Iff4044c52e7ccdf6f7f879b9d5457ce1458b21bd

6 years agoMerge "Add flag to control blocking Smart Replies for apps targeting an Android versi...
TreeHugger Robot [Fri, 23 Mar 2018 22:07:15 +0000 (22:07 +0000)]
Merge "Add flag to control blocking Smart Replies for apps targeting an Android version below P." into pi-dev

6 years agoMerge "Added TestApi for default focus highlight" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 22:04:04 +0000 (22:04 +0000)]
Merge "Added TestApi for default focus highlight" into pi-dev

6 years agoMerge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev
Todd Kopriva [Fri, 23 Mar 2018 21:48:55 +0000 (21:48 +0000)]
Merge "docs: fixing bug 36982027 and 30636712, typos" into oc-mr1-dev

6 years agoMerge "Add RECOVER_KEYSTORE permission check to all IPC calls in RecoveryController...
Dmitry Dementyev [Fri, 23 Mar 2018 21:33:50 +0000 (21:33 +0000)]
Merge "Add RECOVER_KEYSTORE permission check to all IPC calls in RecoveryController." into pi-dev

6 years agoMerge "rename neq_all_string to neq_any_string in statsd_config" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 21:15:02 +0000 (21:15 +0000)]
Merge "rename neq_all_string to neq_any_string in statsd_config" into pi-dev

6 years agoMerge "Ensure TileQueryHelper#mTiles is thread safe." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 21:14:45 +0000 (21:14 +0000)]
Merge "Ensure TileQueryHelper#mTiles is thread safe." into pi-dev

6 years agoAdd flag to control blocking Smart Replies for apps targeting an Android version...
Richard Ledley [Mon, 26 Feb 2018 10:36:00 +0000 (10:36 +0000)]
Add flag to control blocking Smart Replies for apps targeting an Android version below P.

Bug: 73802997

Test: atest SmartReplyConstantsTest

Change-Id: Id340cba09da7931ff6a4689802b3a5f594852a72
(cherry picked from commit 28944cbdcf15128b664ccdaed44c59d3fc64d1db)

6 years agoFixed AutofillServiceHelper.assertValid() so it throws the right exception.
Felipe Leme [Fri, 23 Mar 2018 20:54:22 +0000 (13:54 -0700)]
Fixed AutofillServiceHelper.assertValid() so it throws the right exception.

Test: atest FillResponseTest SaveInfoTest
Bug: 76097200

Change-Id: Id643007e2d038cc6948cdb8d66c5454048d5f632

6 years agoProperly set input type on autofill compat mode.
Felipe Leme [Fri, 23 Mar 2018 18:45:38 +0000 (11:45 -0700)]
Properly set input type on autofill compat mode.

Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.VirtualContainerActivityTest#testAutofillSync\
CtsAutoFillServiceTestCases:android.autofillservice.cts.VirtualContainerActivityCompatModeTest#testAutofillSync

Fixes: 76173462

Change-Id: Ie400ed5d4426febc34b02f68d6be4d86bc11034f

6 years agoMerge "HIDD: Address API Review concerns" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 21:03:34 +0000 (21:03 +0000)]
Merge "HIDD: Address API Review concerns" into pi-dev

6 years agoRevert the low battery warning title to previous version.
Salvador Martinez [Fri, 23 Mar 2018 20:53:27 +0000 (13:53 -0700)]
Revert the low battery warning title to previous version.

This CL removes the "Turn on Battery Saver" text from the title
since this is already added as an action to the notification.

Test: SysUI tests pass
Bug: 76205767
Change-Id: I7b7f612101c67df994e51dfa824c5af057e02f18

6 years agoMerge "Fix apct test." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 20:52:22 +0000 (20:52 +0000)]
Merge "Fix apct test." into pi-dev

6 years agoFix SurfaceView Background
Robert Carr [Fri, 23 Mar 2018 20:46:39 +0000 (13:46 -0700)]
Fix SurfaceView Background

When refactoring to not use global transaction when setting
position  I failed to account for the forwarding done by the
background wrapper.

Bug: 76099976
Bug: 76110573
Test: Manual. go/wm-smoke
Change-Id: I2cff8e571f12e69cefbd1ea35538fd71beaf1ec4

6 years agoMerge "Revert "Add extra strings for 'tomorrow' text"" into pi-dev
Salvador Martinez [Fri, 23 Mar 2018 20:43:10 +0000 (20:43 +0000)]
Merge "Revert "Add extra strings for 'tomorrow' text"" into pi-dev

6 years agoRevert "Add extra strings for 'tomorrow' text"
Salvador Martinez [Fri, 23 Mar 2018 20:39:58 +0000 (20:39 +0000)]
Revert "Add extra strings for 'tomorrow' text"

This reverts commit 5d9af4f746ec73f1efb099d56d5e00f6867b6f84.

Reason for revert: Just kidding, we don't actually want the word "tomorrow" in the text

Bug: 74413266
Change-Id: If823fd7dab9ab468dc7b1446206a6587fcbd2e53

6 years agoMerge "Add extra strings for 'tomorrow' text" into pi-dev
Salvador Martinez [Fri, 23 Mar 2018 20:34:11 +0000 (20:34 +0000)]
Merge "Add extra strings for 'tomorrow' text" into pi-dev

6 years agoMerge "Maintain order in GlobalActions when rotating to/from seascape." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 20:32:12 +0000 (20:32 +0000)]
Merge "Maintain order in GlobalActions when rotating to/from seascape." into pi-dev

6 years agoMerge "Update buttons to use proper styles." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 20:18:47 +0000 (20:18 +0000)]
Merge "Update buttons to use proper styles." into pi-dev

6 years agoMerge "Do not throw KeystoreException for when a key does not exist" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 20:03:45 +0000 (20:03 +0000)]
Merge "Do not throw KeystoreException for when a key does not exist" into pi-dev

6 years agoMerge "Remove 1dp between mobile signal and battery icons." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 19:42:35 +0000 (19:42 +0000)]
Merge "Remove 1dp between mobile signal and battery icons." into pi-dev

6 years agoMerge "Add isPivotSet/resetPivot" into pi-dev
John Reck [Fri, 23 Mar 2018 19:26:50 +0000 (19:26 +0000)]
Merge "Add isPivotSet/resetPivot" into pi-dev

6 years agoEnsure TileQueryHelper#mTiles is thread safe.
Amin Shaikh [Wed, 21 Mar 2018 12:13:47 +0000 (08:13 -0400)]
Ensure TileQueryHelper#mTiles is thread safe.

- Ensure TileQueryHelper#mTiles is only modified on the background
thread and a send a copy to listeners.
- Do not call onTilesChanged until all stock tiles are loaded (as
opposed to after each tile) to reduce tile spec recalculation.
- Remove completion callback and instead maintain query state in
TileQueryHelper

Bug: 75415415
Test: manually
Change-Id: I2a20bd916dae0ee9f4c422ec4e2ac3f2d47da3dc

6 years agoAdd RECOVER_KEYSTORE permission check to all IPC calls in
Dmitry Dementyev [Fri, 23 Mar 2018 19:10:09 +0000 (12:10 -0700)]
Add RECOVER_KEYSTORE permission check to all IPC calls in
RecoveryController.

Bug: 76116351
Test: GTS tests under development.
Change-Id: Ia4b01eb790a55e587f5719b94ff6cf2482a8eae1

6 years agoMerge "Revert "Bluetooth: preserve one advertisement slot for GMS core"" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 19:18:41 +0000 (19:18 +0000)]
Merge "Revert "Bluetooth: preserve one advertisement slot for GMS core"" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 19:18:34 +0000 (19:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Provide app launch count in UsageStats" into pi-dev
Amith Yamasani [Fri, 23 Mar 2018 19:13:22 +0000 (19:13 +0000)]
Merge "Provide app launch count in UsageStats" into pi-dev

6 years agoFix apct test.
Yi Jin [Fri, 23 Mar 2018 19:05:32 +0000 (12:05 -0700)]
Fix apct test.

Bug: 76208934
Test: atest incidentd_test
Change-Id: Ibc101aa3c523398b1e9dd6cff3d6735b4d704667

6 years agoMerge "Handle null user in deletePackageLIF" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 19:03:27 +0000 (19:03 +0000)]
Merge "Handle null user in deletePackageLIF" into pi-dev

6 years agoMerge "Change null behavior of getCellBandwidths" into pi-dev
Eric Schwarzenbach [Fri, 23 Mar 2018 18:31:43 +0000 (18:31 +0000)]
Merge "Change null behavior of getCellBandwidths" into pi-dev

6 years agoMerge "Hearing Aid Profile: set and get activeDevice" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 18:22:27 +0000 (18:22 +0000)]
Merge "Hearing Aid Profile: set and get activeDevice" into pi-dev

6 years agoMerge "Remove EBS notification" into pi-dev
Makoto Onuki [Fri, 23 Mar 2018 18:14:30 +0000 (18:14 +0000)]
Merge "Remove EBS notification" into pi-dev

6 years agoAdd string for 'snooze' action to use in local context menu
Mady Mellor [Fri, 23 Mar 2018 18:14:17 +0000 (11:14 -0700)]
Add string for 'snooze' action to use in local context menu

Just getting string in for translation; work to add to
local context menu will come in follow up

Test: make
Bug: 34840333
Change-Id: Id23c0f5cc708bb8847601f792f12f1365bca674b

6 years agoMerge "Add setting for disabling swap." into pi-dev
Alice Sheng [Fri, 23 Mar 2018 18:11:12 +0000 (18:11 +0000)]
Merge "Add setting for disabling swap." into pi-dev

6 years agorename neq_all_string to neq_any_string in statsd_config
Yao Chen [Fri, 23 Mar 2018 18:10:13 +0000 (11:10 -0700)]
rename neq_all_string to neq_any_string in statsd_config

Bug: 73897465
Test: statsd_test
Change-Id: I1d020de873fc26fbb502f0b3487b85fdb3896753

6 years agoMerge "Allow specifying a network for SNTP time sync" into pi-dev
Kurt Marcinkiewicz [Fri, 23 Mar 2018 18:02:19 +0000 (18:02 +0000)]
Merge "Allow specifying a network for SNTP time sync" into pi-dev

6 years agoMerge "Force sentence case for free form edit preferences" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 18:01:13 +0000 (18:01 +0000)]
Merge "Force sentence case for free form edit preferences" into pi-dev

6 years agoMerge "Make NLP/FLP location request behavior consistent" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 18:00:53 +0000 (18:00 +0000)]
Merge "Make NLP/FLP location request behavior consistent" into pi-dev

6 years agoMerge "Fix IME is not working after reboot in kiosk mode" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:55:06 +0000 (17:55 +0000)]
Merge "Fix IME is not working after reboot in kiosk mode" into pi-dev

6 years agoFix IME is not working after reboot in kiosk mode
Tony Mak [Wed, 21 Mar 2018 15:45:52 +0000 (15:45 +0000)]
Fix IME is not working after reboot in kiosk mode

Problem:
If there is no secure lock screen and the device is in kiosk mode,
ime is not working after reboot

Reason:
Reboot -> starting kiosk activity in lock task mode -> AMS tries to
disable the keyguard while the "swipe to unlock" keyguard is showing.
mNeedToReshowWhenReenabled is set to be True, and system still considers
the keyguard is On (i.e. keyguardOn returns True). Thus, IME is not
allowed to bring up the window.
For the seucre lock screen case, it is fine because:
Reboot -> DE storage -> user enters credentail to unlock it ->
CE storage -> bring up kiosk activity in lock task mode -> AMS
disables keyguard while keyguard is already dismissed.

Solution:
Special handling the non secure case.
Dismiss the keyguard before disabling it.

FIXES: 74381063
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testLockTaskAfterReboot_deviceOwnerUser
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser

Change-Id: I31ea924fff6f63741e74c36ef3c90c6b78fc9fe9

6 years agoMerge "Fix resource by name lookup" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:51:24 +0000 (17:51 +0000)]
Merge "Fix resource by name lookup" into pi-dev

6 years agoMerge "Annotate RemoteInput#SOURCE_* with @IntDef" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:40:56 +0000 (17:40 +0000)]
Merge "Annotate RemoteInput#SOURCE_* with @IntDef" into pi-dev

6 years agoMerge "Fix statsd dropping metrics data." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:40:18 +0000 (17:40 +0000)]
Merge "Fix statsd dropping metrics data." into pi-dev

6 years agoMerge "[Magnifier-34] Keep magnifier inside its surface" into pi-dev
Mihai Popa [Fri, 23 Mar 2018 17:39:04 +0000 (17:39 +0000)]
Merge "[Magnifier-34] Keep magnifier inside its surface" into pi-dev

6 years agoMerge "Whitelist com.android.perftests.core in am instrument." into pi-dev
David Brazdil [Fri, 23 Mar 2018 17:34:19 +0000 (17:34 +0000)]
Merge "Whitelist com.android.perftests.core in am instrument." into pi-dev

6 years agoRevert "Bluetooth: preserve one advertisement slot for GMS core"
Zach Johnson [Fri, 23 Mar 2018 17:26:29 +0000 (17:26 +0000)]
Revert "Bluetooth: preserve one advertisement slot for GMS core"

This reverts commit 7020b015e91f7df4915a14783a6c6317a97cef35.

Reason for revert: This breaks platforms that only support a single advertising slot.

Bug: 76135219
Test: advertising does not work, revert change, advertising works
Change-Id: Ib8c823eb9990cc06bad95c8c3ad0129afb245e00

6 years agoMerge "Prepare KeyChainSnapshot to removing deprecated getTrustedHardwarePublicKey...
Dmitry Dementyev [Fri, 23 Mar 2018 17:16:17 +0000 (17:16 +0000)]
Merge "Prepare KeyChainSnapshot to removing deprecated getTrustedHardwarePublicKey method." into pi-dev

6 years agoMerge changes from topic "bug73953366_bug74605221" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:16:00 +0000 (17:16 +0000)]
Merge changes from topic "bug73953366_bug74605221" into pi-dev

* changes:
  Camera: Complete transition from handlers to executors
  Camera: Camera shouldn't throw 'RejectedExecutionException'
  Revert "Revert "Camera: SessionConfiguration should use Executors""

6 years agoMerge "Clear the frame buffer for F16 pixel format" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:14:01 +0000 (17:14 +0000)]
Merge "Clear the frame buffer for F16 pixel format" into pi-dev

6 years agoHandle null user in deletePackageLIF
Amith Yamasani [Fri, 23 Mar 2018 15:44:05 +0000 (08:44 -0700)]
Handle null user in deletePackageLIF

Assume null is USER_ALL for checking suspending apps.

Bug: 76170601
Test: atest InstallSessionParamsUnitTest
Change-Id: Idf804dcdd7fe8c8fa02ea5eef524dc1ecd1ad6e1

6 years agoMerge "Remove 17 bytes length restriction for vaultHandler." into pi-dev
Dmitry Dementyev [Fri, 23 Mar 2018 17:08:48 +0000 (17:08 +0000)]
Merge "Remove 17 bytes length restriction for vaultHandler." into pi-dev

6 years agoMerge "Update RecoverableKeyStoreManager methods to throw NullPointerException when...
Dmitry Dementyev [Fri, 23 Mar 2018 17:06:18 +0000 (17:06 +0000)]
Merge "Update RecoverableKeyStoreManager methods to throw NullPointerException when null is passed as @NonNull argument." into pi-dev

6 years agoMerge "Support CATEGORY_LEANBACK_LAUNCHER on tv devices." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 17:06:02 +0000 (17:06 +0000)]
Merge "Support CATEGORY_LEANBACK_LAUNCHER on tv devices." into pi-dev

6 years agoParse SMS locally upon error to get message ref
Brad Ebinger [Mon, 19 Mar 2018 21:30:32 +0000 (14:30 -0700)]
Parse SMS locally upon error to get message ref

Parse the SMS locally to get the message ref when
onSmsReceived fails due to the platform being
unavailable. This allows the correct message ref
to be sent back via acknowledgeSms, instead of
the incorrect "0" value.

Bug: 74551838
Test: Manual
Change-Id: I2f8128d8ff4e07bb3720a344cee70fa5fd5d7535

6 years agoMerge "Trigger ACTION_AUDIO_BECOMING_NOISY when Hearing Aid is disconnected" into...
TreeHugger Robot [Fri, 23 Mar 2018 16:56:31 +0000 (16:56 +0000)]
Merge "Trigger ACTION_AUDIO_BECOMING_NOISY when Hearing Aid is disconnected" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Mar 2018 16:09:56 +0000 (09:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iecf6c5066f0444651365755cc2a81fe2e653abbc

6 years agoMerge "Use sha256 of a string as seed in RapporEncoder.insecureEncoder" into pi-dev
Ricky Wai [Fri, 23 Mar 2018 15:55:28 +0000 (15:55 +0000)]
Merge "Use sha256 of a string as seed in RapporEncoder.insecureEncoder" into pi-dev

6 years agoAnnotate RemoteInput#SOURCE_* with @IntDef
Petr Cermak [Fri, 16 Mar 2018 10:23:00 +0000 (10:23 +0000)]
Annotate RemoteInput#SOURCE_* with @IntDef

This patch addresses a request from the API Council (http://b/74409378).
It defines a new RemoteInput.Source annotation for RemoteInput source
constants.

Bug: 74409378
Test: atest RemoteInputTest
Change-Id: I78a006b6a600ea0c0603b2591d1a29596074a44e

6 years agoMerge "Add hidden API on light greylist" into pi-dev
David Brazdil [Fri, 23 Mar 2018 15:41:11 +0000 (15:41 +0000)]
Merge "Add hidden API on light greylist" into pi-dev

6 years agoMerge "Permissions: Don't autogrant all permissions on Android Things" into pi-dev
Ralph Nathan [Fri, 23 Mar 2018 15:26:55 +0000 (15:26 +0000)]
Merge "Permissions: Don't autogrant all permissions on Android Things" into pi-dev

6 years agoMerge "Unhide the enum/function for the password hashing algorithm scrypt" into pi-dev
Bo Zhu [Fri, 23 Mar 2018 15:25:36 +0000 (15:25 +0000)]
Merge "Unhide the enum/function for the password hashing algorithm scrypt" into pi-dev

6 years agoWhitelist com.android.perftests.core in am instrument.
Nicolas Geoffray [Fri, 23 Mar 2018 15:00:50 +0000 (15:00 +0000)]
Whitelist com.android.perftests.core in am instrument.

Test is using private APIs.

Bug: 64382372
Bug: 74963051
Bug: 76162083
Test: make
Change-Id: I053b89327944e3722f2c11a9bc83ed1676fa9f85

6 years agoMerge "Add debug logs for TransferOwnershipMetadataManagerTest cases." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 15:05:14 +0000 (15:05 +0000)]
Merge "Add debug logs for TransferOwnershipMetadataManagerTest cases." into pi-dev

6 years agoClear the frame buffer for F16 pixel format
Stan Iliev [Fri, 23 Mar 2018 14:50:11 +0000 (10:50 -0400)]
Clear the frame buffer for F16 pixel format

This is a workaround for Qualcomm bug and should be reverted
after a proper fixed is found.

Bug: 74976293
Test: Ran Photo app
Change-Id: I9e0a4634f02c3553635f058eb588b510a63273ba

6 years agoMerge "DisplayCutout: do not animate cutout (and rounded corner) overlay during rotat...
TreeHugger Robot [Fri, 23 Mar 2018 14:45:44 +0000 (14:45 +0000)]
Merge "DisplayCutout: do not animate cutout (and rounded corner) overlay during rotation" into pi-dev

6 years agoMerge "Deprecating unused fields from GnssMeasurement" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 13:41:46 +0000 (13:41 +0000)]
Merge "Deprecating unused fields from GnssMeasurement" into pi-dev

6 years agoAdd hidden API on light greylist
David Brazdil [Fri, 23 Mar 2018 13:39:32 +0000 (13:39 +0000)]
Add hidden API on light greylist

Used by a CTS test

Bug: 64382372
Bug: 76166763
Bug: 76117220
Test: atest CtsActivityManagerDeviceTestCases:DisplaySizeTest
Change-Id: I37ccb7bc820e467d1cc5fd7f3c0dc696b466ff32

6 years agoMerge "Fix mini-debug-info generation for apps with wrap.sh script." into pi-dev
David Srbecky [Fri, 23 Mar 2018 13:27:21 +0000 (13:27 +0000)]
Merge "Fix mini-debug-info generation for apps with wrap.sh script." into pi-dev

6 years agoMerge "Hide user switcher from QS on phones." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 13:09:30 +0000 (13:09 +0000)]
Merge "Hide user switcher from QS on phones." into pi-dev

6 years agoMerge "Add 1dp between mobile type and signal icons." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 13:08:28 +0000 (13:08 +0000)]
Merge "Add 1dp between mobile type and signal icons." into pi-dev

6 years agoMerge "Add new key from Settings.java to settings.proto." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 12:54:28 +0000 (12:54 +0000)]
Merge "Add new key from Settings.java to settings.proto." into pi-dev

6 years agoDisplayCutout: do not animate cutout (and rounded corner) overlay during rotation
Adrian Roos [Wed, 21 Mar 2018 18:52:09 +0000 (19:52 +0100)]
DisplayCutout: do not animate cutout (and rounded corner) overlay during rotation

Moves the rounded corner overlay to the overlay layer to prevent it
from getting rotated, since physical features of the display cannot
rotate.

Note that they are still below the screenshot, so not visible during
the transition (because the buffers are not synchronized to the rotation
properly yet).

Also makes sure that only priviliged processes can do this, because the
overlay layer can obscure SystemUI.

Bug: 76102595
Test: Enable cutouts, rotate screen, verify cutout overlay does not participate in the animation
Change-Id: I65dd0bc5b038cca2ba4265c7e7dc93f3264c4d89

6 years agoMerge "Fix NPE when animation doesn't get started" into pi-dev
Jorim Jaggi [Fri, 23 Mar 2018 12:11:19 +0000 (12:11 +0000)]
Merge "Fix NPE when animation doesn't get started" into pi-dev

6 years ago[Magnifier-34] Keep magnifier inside its surface
Mihai Popa [Wed, 21 Mar 2018 18:05:13 +0000 (18:05 +0000)]
[Magnifier-34] Keep magnifier inside its surface

Before this CL, the magnifier window was sometimes displayed partially
out of screen or overlapping with the system bar. This CL prevents this
issue by clamping the magnifier inside its parent surface, also taking
into account the system window insets of this surface.

Also, the CL fixes two kindof unrelated small bugs:
- remembers to reset the previous show and pixel copy coordinates on
  #dismiss()
- when clamping the pixel copy coordinates inside surface, consider the
  size of the copied content rather than the size of the window where
  this is scaled and then copied

Bug: 74234779
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Iec3404123145aa95b37c88f4fbfa3918cbf24f9d

6 years agoMerge "detect api version, and start respecting offsets" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 11:25:19 +0000 (11:25 +0000)]
Merge "detect api version, and start respecting offsets" into pi-dev

6 years agoMerge "Delete unimplemented APIs from RecoveryController." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 11:19:06 +0000 (11:19 +0000)]
Merge "Delete unimplemented APIs from RecoveryController." into pi-dev

6 years agoAdd new key from Settings.java to settings.proto.
Anthony Stange [Wed, 21 Mar 2018 15:04:09 +0000 (15:04 +0000)]
Add new key from Settings.java to settings.proto.

Bug: 71765044
Test: Presubmits

Change-Id: I28f19791e26a07c9bf6846bbf99c774682cdf18f

6 years agoFix mini-debug-info generation for apps with wrap.sh script.
David Srbecky [Wed, 21 Mar 2018 12:58:00 +0000 (12:58 +0000)]
Fix mini-debug-info generation for apps with wrap.sh script.

Debuggable apps enable mini-debug-info after fork, however, this does not
work with apps with wrap.sh script since they follow different code path.

Enable mini-debug-info generation for those as well.

Bug: 74070426
Test: check that app with wrap.sh generates debug info for JIT now

(cherry picked from commit 28a89370f02b0c33d9580e870da086b7391d1500)

Merged-In: I489ac3c82bcced8fc0448ed5666f67009cbb043d
Change-Id: I22db2e889e918eb4b64c722289f7c046bb499d1d

6 years agoMerge "Add multisim notifications for SST" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 09:42:40 +0000 (09:42 +0000)]
Merge "Add multisim notifications for SST" into pi-dev

6 years agoMerge "Have the status bar listen to all macro-users VPN changes." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 09:26:46 +0000 (09:26 +0000)]
Merge "Have the status bar listen to all macro-users VPN changes." into pi-dev

6 years agoMerge "Regenerate counterId when a new cert XML file is successfully imported" into...
TreeHugger Robot [Fri, 23 Mar 2018 08:59:47 +0000 (08:59 +0000)]
Merge "Regenerate counterId when a new cert XML file is successfully imported" into pi-dev

6 years agoMerge "Layer input method on top while transitioning." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 08:42:57 +0000 (08:42 +0000)]
Merge "Layer input method on top while transitioning." into pi-dev

6 years agoMerge "Bluetooth: Enable in-band ringing in vibration mode (1/4)" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 08:22:56 +0000 (08:22 +0000)]
Merge "Bluetooth: Enable in-band ringing in vibration mode (1/4)" into pi-dev

6 years agoMerge "Hearing Aid: pass proper stream type to getStreamVolumeDB" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 08:14:49 +0000 (08:14 +0000)]
Merge "Hearing Aid: pass proper stream type to getStreamVolumeDB" into pi-dev

6 years agoDo not throw KeystoreException for when a key does not exist
Robert Berry [Fri, 23 Mar 2018 08:08:02 +0000 (08:08 +0000)]
Do not throw KeystoreException for when a key does not exist

Bug: 75955240
Test: manual
Change-Id: Ibd2f4d7cd654752b69d2d22e803d4d1cc05c118f

6 years agoMerge "Add new status strings in connected devices for audio switch" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 07:47:40 +0000 (07:47 +0000)]
Merge "Add new status strings in connected devices for audio switch" into pi-dev

6 years agoAdd multisim notifications for SST
Jordan Liu [Thu, 15 Mar 2018 19:19:11 +0000 (12:19 -0700)]
Add multisim notifications for SST

ServiceStateTracker posts notifications for restricted state and
rejection cause for CS registrations which need to be customzied for
multisim cases.

Bug: 69928579
Test: ServiceStateTrackerTest
Change-Id: Ia7db81da6dd858b99113432a97fb489dbebe2436
Merged-In: Ia7db81da6dd858b99113432a97fb489dbebe2436

6 years agoMerge "Use SessionPlaylistAgent in MediaSession2Impl" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 07:08:08 +0000 (07:08 +0000)]
Merge "Use SessionPlaylistAgent in MediaSession2Impl" into pi-dev