OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add more NonNull annotations to RecoveryController API" into pi-dev
Dmitry Dementyev [Sat, 24 Mar 2018 03:48:12 +0000 (03:48 +0000)]
Merge "Add more NonNull annotations to RecoveryController API" into pi-dev

6 years agoMerge "Add a string message for Private DNS strict mode failure" into pi-dev
Erik Kline [Sat, 24 Mar 2018 03:30:30 +0000 (03:30 +0000)]
Merge "Add a string message for Private DNS strict mode failure" into pi-dev

6 years agoMerge "Add accessibility string for FingerprintDialog(impl) authenticated" into pi-dev
Kevin Chyn [Sat, 24 Mar 2018 03:21:24 +0000 (03:21 +0000)]
Merge "Add accessibility string for FingerprintDialog(impl) authenticated" into pi-dev

6 years agoMerge "PlayerBase: log when startWatching fails" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 02:14:38 +0000 (02:14 +0000)]
Merge "PlayerBase: log when startWatching fails" into pi-dev

6 years agoMerge "[QS] Update string name in prep for freeze" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 02:01:17 +0000 (02:01 +0000)]
Merge "[QS] Update string name in prep for freeze" into pi-dev

6 years agoAdd accessibility string for FingerprintDialog(impl) authenticated
Kevin Chyn [Sat, 24 Mar 2018 01:12:19 +0000 (18:12 -0700)]
Add accessibility string for FingerprintDialog(impl) authenticated

Bug: 74456537

Test: builds
Change-Id: I1edb54334bf5e148bac6c9e1583c6fd36bd9095a

6 years agoMerge "Add missing computeOpacity call" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:22:15 +0000 (01:22 +0000)]
Merge "Add missing computeOpacity call" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:21:28 +0000 (01:21 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "JobStore: persist unwanted set of capabilities" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:19:20 +0000 (01:19 +0000)]
Merge "JobStore: persist unwanted set of capabilities" into pi-dev

6 years agoMerge "Unhide ImsReasonInfo Constructor" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 01:12:49 +0000 (01:12 +0000)]
Merge "Unhide ImsReasonInfo Constructor" into pi-dev

6 years agoMerge "Make Assistant stack invisible behind split-screen stacks." into pi-dev
Wale Ogunwale [Sat, 24 Mar 2018 01:06:06 +0000 (01:06 +0000)]
Merge "Make Assistant stack invisible behind split-screen stacks." into pi-dev

6 years agoAdd more NonNull annotations to RecoveryController API
Dmitry Dementyev [Sat, 24 Mar 2018 00:36:58 +0000 (17:36 -0700)]
Add more NonNull annotations to RecoveryController API

Bug: 73959762
Test: none
Change-Id: I648c20a099d4ac1c002f4f467d7189a8bc019560

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 00:29:04 +0000 (00:29 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 00:28:32 +0000 (00:28 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Add NonNull annotation to more parameters in Recovery Controller." into pi-dev
Dmitry Dementyev [Sat, 24 Mar 2018 00:10:30 +0000 (00:10 +0000)]
Merge "Add NonNull annotation to more parameters in Recovery Controller." into pi-dev

6 years agoMerge "Revert "Use transaction for local activity relaunch"" into pi-dev
Andrii Kulian [Fri, 23 Mar 2018 23:36:02 +0000 (23:36 +0000)]
Merge "Revert "Use transaction for local activity relaunch"" into pi-dev

6 years agoMerge "Don't show unsupported sdk warning in test harness." into pi-dev
Wale Ogunwale [Fri, 23 Mar 2018 23:32:54 +0000 (23:32 +0000)]
Merge "Don't show unsupported sdk warning in test harness." into pi-dev

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 agoAdd a string message for Private DNS strict mode failure
Erik Kline [Thu, 22 Mar 2018 19:58:25 +0000 (12:58 -0700)]
Add a string message for Private DNS strict mode failure

Add a message to be displayed whenever a Private DNS provider
hostname is unusable.  It might be that the name fails to resolve
or that network errors prevent us from connecting -- the string
need give no indication of the specific failure mode, only its
unusability.

Test: treehugger
Bug: 64133961
Bug: 74844869
Change-Id: I361291229241854dc3b9b84407baf500e84a1832

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 agoAdd missing computeOpacity call
John Reck [Fri, 23 Mar 2018 22:38:18 +0000 (15:38 -0700)]
Add missing computeOpacity call

Change-Id: I3b668842d4cd072a0625c32cae0a1ade0e322a7d
Fixes: 73285195
Test: GradientDrawableTest#testGetOpacity

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 agoAdd NonNull annotation to more parameters in Recovery Controller.
Dmitry Dementyev [Fri, 23 Mar 2018 18:06:24 +0000 (11:06 -0700)]
Add NonNull annotation to more parameters in Recovery Controller.

Use Builder instead of deprecated constructor for KeyDerivationParams.
Bug: 75952916
Test: adb shell am instrument \
-w -e package com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I223e4dc1aa92cbde60e53b364ed74a452d3f6bbd

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 agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Mar 2018 20:44:40 +0000 (13:44 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9af67e4d56bca9269626dd4da5c0f81822fc2862

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 ago[QS] Update string name in prep for freeze
Rohan Shah [Fri, 23 Mar 2018 20:16:11 +0000 (13:16 -0700)]
[QS] Update string name in prep for freeze

Renaming the night light's "until <time>" string in case the translation
pipeline would re-register it after the freeze.

This is prepping for a change for the DnD secondary label.

Test: Visually/compiles
Bug: 70799372
Change-Id: I83608ce4dbf96c558b05191fc79f69325281e5b9

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 agoRevert "Use transaction for local activity relaunch"
Andrii Kulian [Fri, 23 Mar 2018 17:12:05 +0000 (17:12 +0000)]
Revert "Use transaction for local activity relaunch"

This reverts commit 77d73605979a19e377c97df1c82a2dfd8e3a71cd.

Reason for revert: b/76088057

Bug: 72029061
Bug: 76088057
Change-Id: Ib1212740bcd5dd0fe8de87521e716c17b93c30cd

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 agoImport translations. DO NOT MERGE
Bill Yi [Fri, 23 Mar 2018 18:25:27 +0000 (11:25 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iaaf06a880c141263f6bea9012e97e33e63cde378

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 agoPlayerBase: log when startWatching fails
Jean-Michel Trivi [Fri, 23 Mar 2018 17:34:18 +0000 (10:34 -0700)]
PlayerBase: log when startWatching fails

Bug: 75274546
Test: set DEBUG to true, verify appOps logs in logcat
Change-Id: I19506372188dbaec0976733856513a94da75d2ea

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 agoMake Assistant stack invisible behind split-screen stacks.
Wale Ogunwale [Fri, 23 Mar 2018 15:48:11 +0000 (08:48 -0700)]
Make Assistant stack invisible behind split-screen stacks.

Assistant stack shouldn't be visible behind split-screen stacks. In addition
to this not making sense, it also works around an issue here we boost the
z-order of the assistant window surfaces in window manager whenever it is
visible which makes them appear above the split-screen stacks eventhough
they should be below.

Change-Id: I34220d5aec485ccfd89c9f202367ef8432a88a78
Fixes: 76106972
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests

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