OSDN Git Service
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
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
TreeHugger Robot [Fri, 23 Mar 2018 08:42:57 +0000 (08:42 +0000)]
Merge "Layer input method on top while transitioning." 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
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
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
TreeHugger Robot [Fri, 23 Mar 2018 07:08:08 +0000 (07:08 +0000)]
Merge "Use SessionPlaylistAgent in MediaSession2Impl" into pi-dev
Chalard Jean [Fri, 23 Mar 2018 06:36:47 +0000 (06:36 +0000)]
Merge "Have PermissionMonitor arbiter which app can access background networks" into pi-dev
Jack He [Tue, 13 Feb 2018 05:00:24 +0000 (21:00 -0800)]
Bluetooth: Enable in-band ringing in vibration mode (1/4)
* Add AudioSystem.FOR_VIBRATE_RINGING mode to match the native layer
AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING force mode
* Switch to this mode when Bluetooth SCO is connected
* Modify AudioService.muteRingerModeStreams() method to not mute ringer
volume when Bluetooth SCO is ON. Also, when ringer is unmuted, mirror
speaker ringtone volume on Bluetooth SCO ringer
Bug:
72647074
Test: Call phone in vibration mode and hear ringtone on HFP enabled
headset, verify that ringtone is only played through headset.
Then disconnect headset and call again to verify that ringtone
does not play through phone speaker in vibration mode.
Change-Id: I7d642020710c085f0e1f27c750c74b0e2fb57398
Hyundo Moon [Fri, 23 Mar 2018 06:07:17 +0000 (06:07 +0000)]
Merge "MediaSession2: Protect MediaSessionManager APIs with permission" into pi-dev
Felipe Leme [Fri, 23 Mar 2018 05:48:26 +0000 (05:48 +0000)]
Merge "Improved autofill logging and dumping." into pi-dev
Jakub Pawlowski [Thu, 22 Mar 2018 19:31:21 +0000 (12:31 -0700)]
Hearing Aid: pass proper stream type to getStreamVolumeDB
Bug:
69623109
Test: Connect to Hearing Aid, make phone call, adjust volume to maximum
value.
Change-Id: Ib615d8dee11c48bf8d6e954b84a40ab7a3f3a4ba
Chalard Jean [Tue, 20 Mar 2018 10:13:57 +0000 (19:13 +0900)]
Have PermissionMonitor arbiter which app can access background networks
This will let ConnectivityService send the right callbacks to the
relevant apps.
Test: manual with apps
runtest frameworks-net
cts
new tests for this functionality
Bug:
67408339
Change-Id: I6f08efd9e73c7e191f833d7f307a3bf4c9e2f0b4
TreeHugger Robot [Fri, 23 Mar 2018 04:15:38 +0000 (04:15 +0000)]
Merge "Fixed an issue where notifications were invisible on AOD" into pi-dev
timhypeng [Thu, 22 Mar 2018 09:53:17 +0000 (17:53 +0800)]
Add new status strings in connected devices for audio switch
Bug:
74134939
Test: make -j32 RunSettingsRoboTests
make -j40 RunSettingsLibRoboTests
Change-Id: I4579073572d1dc2d2c6d347efb28161cf718292e
TreeHugger Robot [Fri, 23 Mar 2018 03:43:49 +0000 (03:43 +0000)]
Merge "Performing consistent vibration effects when opening notifications" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 03:39:29 +0000 (03:39 +0000)]
Merge "Fixed an issue where the heads-up icon location was wrong" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 03:23:27 +0000 (03:23 +0000)]
Merge changes I2d09a84e,I111aab35 into pi-dev
* changes:
Do not show bouncer when fading away
KeyguardBouncer#isShowing fix
Jaewan Kim [Fri, 23 Mar 2018 02:47:25 +0000 (02:47 +0000)]
Merge "MediaSession2: Add more detailed documentation for addPlaylistItem()" into pi-dev
Selim Cinek [Fri, 23 Mar 2018 02:10:29 +0000 (19:10 -0700)]
Fixed an issue where notifications were invisible on AOD
Because of the new screen off animation, the shelf would
be positioned wrongly and therefore the icons would
be clipped.
We'll have to revisit this positioning, when we do the real AOD
layout, for now we place the invisible shelf at the bottom
of the last notification.
Change-Id: If2bd7c71957585ac73ace004221e48c5b5f134af
Fixes:
76160478
Test: add ambient notification, observe normal clipping
Bo Zhu [Thu, 22 Mar 2018 03:45:09 +0000 (20:45 -0700)]
Regenerate counterId when a new cert XML file is successfully imported
Bug:
74027192
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I785b49856693d00545b35759181eaa53741b87ab
Chen Xu [Fri, 23 Mar 2018 01:33:08 +0000 (01:33 +0000)]
Merge "new WFC registration failure notification string" into pi-dev
Jean-Michel Trivi [Fri, 23 Mar 2018 01:12:14 +0000 (01:12 +0000)]
Merge "Hide Media*2 APIs" into pi-dev
Christine Franks [Fri, 23 Mar 2018 01:11:22 +0000 (01:11 +0000)]
Merge "Allow developer options in retail mode" into pi-dev
Felipe Leme [Fri, 23 Mar 2018 01:05:29 +0000 (01:05 +0000)]
Merge "Always set FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE on SaveInfo when on compat mode." into pi-dev
Calin Juravle [Fri, 23 Mar 2018 01:05:19 +0000 (01:05 +0000)]
Merge "Add extra checks around the profile file descriptor." into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 01:02:30 +0000 (01:02 +0000)]
Merge "Document CryptoInfo Settings for CENC 2016 & HLS Audio" into pi-dev
TreeHugger Robot [Fri, 23 Mar 2018 00:02:35 +0000 (00:02 +0000)]
Merge "Updated the styling for notifications" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 23:55:10 +0000 (23:55 +0000)]
Merge "Fixed an issue where the roundness of a notification could be wrong" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 23:45:13 +0000 (23:45 +0000)]
Merge "Ensuring that headsups go away when unpinning via active edge" into pi-dev
Felipe Leme [Thu, 22 Mar 2018 22:19:51 +0000 (15:19 -0700)]
Improved autofill logging and dumping.
Bug:
76027553
Test: adb shell dumpsys autofill
Change-Id: I19ef88c71334c62292ed982e43d7a7e89b35f10e
Julien Desprez [Thu, 22 Mar 2018 23:41:29 +0000 (23:41 +0000)]
Merge "Add TestablesTests to device-tests for APCT suite" into pi-dev
fionaxu [Thu, 22 Mar 2018 23:37:54 +0000 (16:37 -0700)]
new WFC registration failure notification string
Bug:
37579327
Test: Manual
Change-Id: I5adaf643b2b2c86cac28dabb944765d0a8bcefd0
Selim Cinek [Thu, 22 Mar 2018 20:16:44 +0000 (13:16 -0700)]
Fixed an issue where the heads-up icon location was wrong
Because of configuration changes, old listeners would still
be influencing the icon location, even after they were detached.
Test: runtest systemui
Test: change density, get heads-ups, observe correct position
Change-Id: I35f4c905ab8a6025476c582dcbc7e85a5eff23f5
Fixes:
76084585
Jean-Michel Trivi [Wed, 21 Mar 2018 00:59:13 +0000 (17:59 -0700)]
Hide Media*2 APIs
Bug:
76121592
Test: make offline-sdk-docs
Change-Id: Ic5eba5ba0b3ef9f11c582ab6db7d8d61934941dd
TreeHugger Robot [Thu, 22 Mar 2018 23:21:54 +0000 (23:21 +0000)]
Merge "Make PrecomputedText Spannable for supporting selection" into pi-dev
Lucas Dupin [Wed, 21 Mar 2018 22:59:15 +0000 (15:59 -0700)]
Do not show bouncer when fading away
Change-Id: I2d09a84ec7cda04dab3095f16f3c6e3acd425c76
Fixes:
76035580
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Test: double tap on notification, dismiss bouncer
Test: swipe up, dismiss bouncer
Test: go to emergency dialer, hit back
Test: fp from lock screen
Test: fp from AOD
Lucas Dupin [Tue, 20 Mar 2018 22:40:14 +0000 (15:40 -0700)]
KeyguardBouncer#isShowing fix
KeyguardBouncer.isShowing should not return
true when the view is hidden.
Change-Id: I111aab356f6fc2367816b2ac132c0c4b140864c3
Fixes:
74583436
Fixes:
76151115
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Test: Swipe up on lock screen
Test: Unlock with fp from AOD, keyguard or bouncer
Test: Unlock from occluded bouncer
Yao Chen [Thu, 22 Mar 2018 23:19:21 +0000 (23:19 +0000)]
Merge "Fix StorageManager stack use after scope." into pi-dev
Robert Carr [Tue, 20 Mar 2018 20:38:16 +0000 (13:38 -0700)]
Layer input method on top while transitioning.
When exiting an app, we need to keep the IME on top of it
for the duration of the closing animation. Previously
this was accomplished by having the app remain as the IME target
based on a comparison of mAnimLayer with the new layer. The new
architecture makes it difficult to do any such direct comparison.
We opt instead for the approach of promoting the IME above all apps
during app transitions.
Bug:
74427597
Test: Manual. go/wm-smoke
Change-Id: I0fb66b4cab8aa474c7a64d0cefd32310151d544e
Mehdi Alizadeh [Tue, 20 Mar 2018 23:51:26 +0000 (16:51 -0700)]
Changes ONN notification texts to re-use with CNN
Changes the notification text for Open Network Notifier generic, to be
able to use the same notifications for both ONN and CNN. Also updates
some comments.
Bug:
76031490
Test: manual test to see the notification and verify the text
Change-Id: Idd921703ab99ded8dc67a31c3409ef8046ff8887
Mehdi Alizadeh [Thu, 15 Mar 2018 20:02:51 +0000 (13:02 -0700)]
Adds entries for Soft AP channel and bandwidth
Bug:
72643031
Test: It builds
Change-Id: I4d6053df5bb9c5d7eee6857bcc097a49922f7966
TreeHugger Robot [Thu, 22 Mar 2018 23:10:11 +0000 (23:10 +0000)]
Merge "Add MANAGE_IPSEC_TUNNELS Permission" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 23:01:31 +0000 (23:01 +0000)]
Merge "Only print out services if they did something." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 23:00:54 +0000 (23:00 +0000)]
Merge "Don't try to create a process group when not root." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 23:00:31 +0000 (23:00 +0000)]
Merge "Allow apps to call startRecognition(UUID, Bundle, ComponentName, RecognitionConfig) via reflection" into pi-dev
John W. Bruce [Mon, 19 Mar 2018 18:38:04 +0000 (11:38 -0700)]
Document CryptoInfo Settings for CENC 2016 & HLS Audio
Adds additional documentation that clarifies how to set up CryptoInfo
objects for CENC 2016 decryption schemes, in particular for the case of
HLS SAMPLE-AES Audio.
Bug:
62503021
Test: make docs
Change-Id: Ia21ef62a4144e7b41b0216ba0b968ff6c52d0297
Selim Cinek [Thu, 22 Mar 2018 22:56:26 +0000 (15:56 -0700)]
Performing consistent vibration effects when opening notifications
The fingerprint gesture now also triggers the tick vibration.
Change-Id: I24d3357371f645f0985ff4e675ca2e3cc43a4223
Fixes:
65161124
Test: expand notification shade with fingerprint drag down
TreeHugger Robot [Thu, 22 Mar 2018 22:56:58 +0000 (22:56 +0000)]
Merge "Fix smart_linkify_enabled flag." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 22:51:09 +0000 (22:51 +0000)]
Merge "QS edit mode fixes." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 22:43:28 +0000 (22:43 +0000)]
Merge "Fixes hiding track for quick scrub" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 22:41:40 +0000 (22:41 +0000)]
Merge "PhoneWindowTest: promote to presubmit" into pi-dev
Rose Liu [Thu, 22 Mar 2018 22:27:50 +0000 (22:27 +0000)]
Merge "Assign -1 as default value of window type and owner uid." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 22:22:30 +0000 (22:22 +0000)]
Merge "Removed urlBarResourceId." into pi-dev
Selim Cinek [Thu, 22 Mar 2018 17:14:32 +0000 (10:14 -0700)]
Fixed an issue where the roundness of a notification could be wrong
When animating away a heads-up, there was no listener in place and
if the view in question wasn't the first notification, it's
roundness could be wrong.
Change-Id: I0676ee18c9fb0c52b190b82b8b9adfa63d584262
Fixes:
76147670
Test: runtest systemUI
TreeHugger Robot [Thu, 22 Mar 2018 22:15:31 +0000 (22:15 +0000)]
Merge "APIs to suspend packages with SUSPEND_APPS permission" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 22:07:37 +0000 (22:07 +0000)]
Merge "Listen to all attached QS pages." into pi-dev
Julia Reynolds [Thu, 22 Mar 2018 22:03:48 +0000 (22:03 +0000)]
Merge "Add vol up + power ringer toggle gesture" into pi-dev
Leon Scroggins [Thu, 22 Mar 2018 21:53:05 +0000 (21:53 +0000)]
Merge changes from topics "DecodeException_ERROR", "AID_autoStart", "onPartialImage" into pi-dev
* changes:
Rename ImageDecoder.ERRORs
Add the ability to autoStart AID from xml
Re-write onPartialImage API
TreeHugger Robot [Thu, 22 Mar 2018 21:41:35 +0000 (21:41 +0000)]
Merge "Fix the heap-after-use in DurationAnomalyTracker" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 21:39:03 +0000 (21:39 +0000)]
Merge "Record Bluetooth Cumulative Stats Properly" into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 21:36:50 +0000 (21:36 +0000)]
Merge "Fix UidMap proto output error. And fix a bug in MaxDurationTracker." into pi-dev
TreeHugger Robot [Thu, 22 Mar 2018 21:34:32 +0000 (21:34 +0000)]
Merge "Disable Bitmap density scaling to Picture" into pi-dev
Felipe Leme [Thu, 22 Mar 2018 21:20:34 +0000 (21:20 +0000)]
Merge "Enable Autofill Field Classification by default." into pi-dev
Jorim Jaggi [Thu, 22 Mar 2018 21:18:49 +0000 (21:18 +0000)]
Merge "Remove old workaround for display issues" into pi-dev
Victor Hsieh [Thu, 22 Mar 2018 21:17:56 +0000 (21:17 +0000)]
Merge "Replace pm.dexopt.priv-apps with existing constant" into pi-dev
Nathan Harold [Wed, 21 Mar 2018 22:32:42 +0000 (15:32 -0700)]
Add MANAGE_IPSEC_TUNNELS Permission
Add a new MANAGE_IPSEC_TUNNELS permission and
protect all IPsec Tunnel mode APIs with it.
This permission is only granted to the system or
through an AppOp.
Bug:
66955045
Test: compilation
Change-Id: I0f618373b500c493ef2211bece681f74652a1833
Nathan Harold [Thu, 22 Mar 2018 21:14:36 +0000 (21:14 +0000)]
Merge "Add AppOp for IpSec Tunnels" into pi-dev
Ying Xu [Thu, 22 Mar 2018 21:14:32 +0000 (21:14 +0000)]
Merge "Add more comments for the isConfigForIdentifiedCarrier()" into pi-dev
Kweku Adams [Thu, 22 Mar 2018 21:12:55 +0000 (14:12 -0700)]
Only print out services if they did something.
This also fixes a failing CTS test.
Bug:
74975371
Bug:
73490092
Test: flash device and check incident.proto output
Change-Id: I4d0f7d1b45b1b620d903f4b46cbdc04dfe314958
Philip P. Moltmann [Thu, 22 Mar 2018 21:06:43 +0000 (14:06 -0700)]
Allow apps to call startRecognition(UUID, Bundle, ComponentName, RecognitionConfig) via reflection
- We don't want to make this a @SystemAPI as this will change
- We need 1st party apps to call this on Pixel devices
Test: Built
Bug:
73829108
Change-Id: I6954767020811ea99ceec17fd17b790c4a1bc0db
Amin Shaikh [Wed, 21 Mar 2018 21:03:37 +0000 (17:03 -0400)]
QS edit mode fixes.
- Remove secondary text for system tiles
- Show app name as secondary text for app tiles
- Fix left side cutoff
Change-Id: I010995c8fc42eb8b77360ade4830049e494c129a
Fixes:
74983414
Test: visual
rongliu [Wed, 14 Mar 2018 22:43:40 +0000 (15:43 -0700)]
Assign -1 as default value of window type and owner uid.
Bug:
74622357
Test: Test with ag/
3738015 together. Layers without buffers have window
type -1 and owner uid -1.
Change-Id: I6f010bf1327671a06874b75bc0a63a3fb010ced7
Dmitry Dementyev [Thu, 22 Mar 2018 20:33:34 +0000 (20:33 +0000)]
Merge "Update RECOVER_KEYSTORE permission documentation." into pi-dev
Felipe Leme [Wed, 21 Mar 2018 01:17:34 +0000 (18:17 -0700)]
Always set FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE on SaveInfo when on compat mode.
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest
Bug:
76027553
Change-Id: I432b4321801ca90a55a24e5e896578d5b2d63014
Yao Chen [Thu, 22 Mar 2018 20:24:41 +0000 (20:24 +0000)]
Merge "Remove unsigned-integer-overflow signed-integer-overflow from sanitizer." into pi-dev
Tyler Gunn [Thu, 22 Mar 2018 20:22:20 +0000 (20:22 +0000)]
Merge "Rename handover failure constant per API review comments." into pi-dev
Mathieu Chartier [Thu, 22 Mar 2018 20:11:07 +0000 (20:11 +0000)]
Merge "Revert "Enable hidden API blacklist"" into pi-dev
David Brazdil [Thu, 22 Mar 2018 18:42:41 +0000 (18:42 +0000)]
Revert "Enable hidden API blacklist"
This reverts commit
16bfa11b73a34be1f1c72d2ffe86702f85378e92.
Reason for revert: Revert until b/
76138670 is fixed
Bug:
64382372
Bug:
76138670
Bug:
76157445
Change-Id: Iaf6c76b773fbea4d4710b38808dee2e7e06f5e78
Julia Reynolds [Thu, 22 Mar 2018 20:04:40 +0000 (20:04 +0000)]
Merge "Update duration text" into pi-dev
Suprabh Shukla [Fri, 9 Mar 2018 02:21:50 +0000 (18:21 -0800)]
APIs to suspend packages with SUSPEND_APPS permission
Changed the existing hidden api setPackagesSuspendedAsUser to a system
api setPackagesSuspended that can be called by apps with either
MANAGE_USERS or SUSPEND_APPS permission. Additionally, the suspending
app can now specify optional extra information meant to be used by the
suspended apps and the launcher to deal with this state.
The following other APIs are added:
- isPackageSuspended(): Apps can query whether they are in a suspended
state
- @SystemApi getPackageSuspendedAppExtras(String): Apps with permission
SUSPEND_APPS can get the appExtras passed to PM when suspending the
app.
- @SystemApi setPackageSuspendedAppExtras(String, PersistableBundle):
Apps with permission SUSPEND_APPS can update app extras for a
suspended package.
- getPackageSuspendedAppExtras(): Apps can call to get the appExtras
passed in to PM when they were suspended.
Test: Can be run via:
atest com.android.server.pm.PackageManagerSettingsTests
atest com.android.server.pm.PackageUserStateTest
atest com.android.server.pm.SuspendPackagesTest
Bug:
74336673
Change-Id: I3b9ed2c8478b34ee2e8986f5f5fddb2839d102e3
Andrew Sapperstein [Thu, 22 Mar 2018 19:31:23 +0000 (19:31 +0000)]
Merge "Revert "Update material_deep_teal_500 to #008577."" into pi-dev
Abodunrinwa Toki [Fri, 16 Mar 2018 21:08:50 +0000 (21:08 +0000)]
Fix smart_linkify_enabled flag.
The flag should only ensure that smart linkify calls behave in the
legacy way instead of totally disabling linkify.
Also, to keep the flag consistent with smart_selection_enabled and
smart_text_share_enabled flags, the flag should only disable the
SmartLinkify (i.e. Linkify.addLinksAsync) feature not TextClassifier
APIs (i.e. TextClassifier.generateLinks).
Also fixes issue with non-focusable TextViews by firing the primary
action instead of showing the floating toolbar. (b/
73156794)
Bug:
75967597
Bug:
73156794
Test: bit FrameworksCoreTests:android.text.util.LinkifyTest
Test: bit CtsTextTestCases:android.text.util.cts.LinkifyTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: manual - checked behaviour turning flag on/off
Test: manual - checked behaviour with TextView.setFocusableInTouchMode(true/false)
Change-Id: I541f60161b9cd63ce7e57235607500f2fb0841e7
yinxu [Fri, 16 Mar 2018 17:16:53 +0000 (10:16 -0700)]
Add more comments for the isConfigForIdentifiedCarrier()
This is a clean cherry-pick from:
https://android-review.git.corp.google.com/c/platform/frameworks/base/+/642231
Bug:
74945742
Test: Compile
Change-Id: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
Merged-in: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
(cherry picked from commit
cea0d8d4883c94482d936abd4d097617921c6fa7)
Felipe Leme [Thu, 22 Mar 2018 03:02:42 +0000 (20:02 -0700)]
Removed urlBarResourceId.
It will be removed before the final P build.
Test: atest FrameworksServicesTests:AutofillManagerServiceTest CtsAutoFillServiceTestCases
Fixes:
74445943
Change-Id: I9bc243a3c1ae78f2c385dbb907d362d8ab16b34c
Nathan Harold [Thu, 22 Mar 2018 18:31:03 +0000 (18:31 +0000)]
Merge "Add NonNull Annotations To IpSec API Surface" into pi-dev
Calin Juravle [Tue, 20 Mar 2018 23:45:08 +0000 (16:45 -0700)]
Add extra checks around the profile file descriptor.
Be prepared for RuntimeExceptions by catching Exception instead of
RemoteException. Also, make an explicit check that the profile fd is not
null and valid.
Test: gts ArtManagerHostTest
Bug:
76028139
Change-Id: Ic8927a69ad8904ddf7f62f0699ebea5aeb30bdac
(cherry picked from commit
06f74f86586313e769cf00d3dbe832c56b02023f)
Makoto Onuki [Thu, 22 Mar 2018 17:42:13 +0000 (17:42 +0000)]
Merge "Move provider access stats to frameworks/base" into pi-dev
Chong Zhang [Thu, 22 Mar 2018 17:39:52 +0000 (17:39 +0000)]
Merge "heif: fix Exif extraction in mtp database" into pi-dev
Felipe Leme [Thu, 22 Mar 2018 17:36:18 +0000 (17:36 +0000)]
Merge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev
Felipe Leme [Thu, 22 Mar 2018 17:33:36 +0000 (17:33 +0000)]
Merge "Fixed autofill service metadata name on javadoc sample." into pi-dev
Bo Zhu [Thu, 22 Mar 2018 17:32:10 +0000 (17:32 +0000)]
Merge "Remove the hard-coded counterId in VaultParams" into pi-dev
Robert Berry [Thu, 22 Mar 2018 17:23:05 +0000 (17:23 +0000)]
Merge "Unhide RecoveryController#getRootCertificates()" into pi-dev
Robert Berry [Thu, 22 Mar 2018 17:19:33 +0000 (17:19 +0000)]
Merge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev
Leon Scroggins III [Thu, 22 Mar 2018 13:21:29 +0000 (09:21 -0400)]
Rename ImageDecoder.ERRORs
Bug:
73788969
Test: I501e8b76aacd785cb994165ab01dc1b39fea3a1c
Move them into ImageDecoder.DecodeException, which is where they are
actually used. This also provides some more context, so that the prefix
"ERROR_" is no longer necessary, fixing the redundancy/awkwardness in
ERROR_SOURCE_ERROR. Further rename that to SOURCE_MALFORMED_DATA, which
is more descriptive, and does not imply a Java Error.
Change-Id: Ied17ad343650f9c33d9a35b0f9d00ccc22264bd6
TreeHugger Robot [Thu, 22 Mar 2018 17:07:01 +0000 (17:07 +0000)]
Merge "Make QSTileImpl#mListeners thread safe." into pi-dev
Adrian Roos [Thu, 22 Mar 2018 16:38:07 +0000 (17:38 +0100)]
PhoneWindowTest: promote to presubmit
Bug:
73807928
Test: atest PhoneWindowTest
Change-Id: I1204f7049b6e182c5dd1f9f236e285ee7b9405ca
Dmitry Dementyev [Thu, 22 Mar 2018 16:32:13 +0000 (09:32 -0700)]
Update RECOVER_KEYSTORE permission documentation.
Previous comment used outdated name for class managing recoverable
keystore.
Bug:
74976894
Test: none
Change-Id: I44460014d0ac5817d48e16bf281d2bb4ffe06823
Leon Scroggins III [Thu, 22 Mar 2018 16:36:22 +0000 (12:36 -0400)]
Disable Bitmap density scaling to Picture
Bug:
76144110
Test: I95165583649a1df86782d3684f7bf9bcd8dab7bd
This matches the behavior of DisplayListCanvas. Not scaling means that
we can draw a Bitmap to a Picture, and then play that back in HW mode
and see the same result.
Change-Id: I7421431bad0531112e06ab5c14814b6b6f1591d9
Victor Hsieh [Wed, 21 Mar 2018 23:49:53 +0000 (16:49 -0700)]
Replace pm.dexopt.priv-apps with existing constant
It was missed before during the rename.
Test: build
Bug:
63920015
Change-Id: Icb20a328b3d8acedca06cf6a781443d5611bb43d