OSDN Git Service
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
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
TreeHugger Robot [Fri, 23 Mar 2018 21:14:45 +0000 (21:14 +0000)]
Merge "Ensure TileQueryHelper#mTiles is thread safe." 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
TreeHugger Robot [Fri, 23 Mar 2018 20:52:22 +0000 (20:52 +0000)]
Merge "Fix apct test." 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
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
Salvador Martinez [Fri, 23 Mar 2018 20:34:11 +0000 (20:34 +0000)]
Merge "Add extra strings for 'tomorrow' text" 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
TreeHugger Robot [Fri, 23 Mar 2018 20:18:47 +0000 (20:18 +0000)]
Merge "Update buttons to use proper styles." 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
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
John Reck [Fri, 23 Mar 2018 19:26:50 +0000 (19:26 +0000)]
Merge "Add isPivotSet/resetPivot" into pi-dev
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
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
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
TreeHugger Robot [Fri, 23 Mar 2018 19:18:34 +0000 (19:18 +0000)]
Merge "Import translations. DO NOT MERGE" 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
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
TreeHugger Robot [Fri, 23 Mar 2018 19:03:27 +0000 (19:03 +0000)]
Merge "Handle null user in deletePackageLIF" 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
TreeHugger Robot [Fri, 23 Mar 2018 18:22:27 +0000 (18:22 +0000)]
Merge "Hearing Aid Profile: set and get activeDevice" into pi-dev
Makoto Onuki [Fri, 23 Mar 2018 18:14:30 +0000 (18:14 +0000)]
Merge "Remove EBS notification" 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
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
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
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
TreeHugger Robot [Fri, 23 Mar 2018 18:00:53 +0000 (18:00 +0000)]
Merge "Make NLP/FLP location request behavior consistent" 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
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
TreeHugger Robot [Fri, 23 Mar 2018 17:51:24 +0000 (17:51 +0000)]
Merge "Fix resource by name lookup" 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
TreeHugger Robot [Fri, 23 Mar 2018 17:40:18 +0000 (17:40 +0000)]
Merge "Fix statsd dropping metrics data." 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
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
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
Dmitry Dementyev [Fri, 23 Mar 2018 17:16:17 +0000 (17:16 +0000)]
Merge "Prepare KeyChainSnapshot to removing deprecated getTrustedHardwarePublicKey method." 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""
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
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
Dmitry Dementyev [Fri, 23 Mar 2018 17:08:48 +0000 (17:08 +0000)]
Merge "Remove 17 bytes length restriction for vaultHandler." into pi-dev
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
TreeHugger Robot [Fri, 23 Mar 2018 17:06:02 +0000 (17:06 +0000)]
Merge "Support CATEGORY_LEANBACK_LAUNCHER on tv devices." into pi-dev
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
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
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
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
David Brazdil [Fri, 23 Mar 2018 15:41:11 +0000 (15:41 +0000)]
Merge "Add hidden API on light greylist" 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
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
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
TreeHugger Robot [Fri, 23 Mar 2018 15:05:14 +0000 (15:05 +0000)]
Merge "Add debug logs for TransferOwnershipMetadataManagerTest cases." into pi-dev
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
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
TreeHugger Robot [Fri, 23 Mar 2018 13:41:46 +0000 (13:41 +0000)]
Merge "Deprecating unused fields from GnssMeasurement" into pi-dev
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
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
TreeHugger Robot [Fri, 23 Mar 2018 13:09:30 +0000 (13:09 +0000)]
Merge "Hide user switcher from QS on phones." 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
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
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
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
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
TreeHugger Robot [Fri, 23 Mar 2018 11:25:19 +0000 (11:25 +0000)]
Merge "detect api version, and start respecting offsets" 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
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
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
TreeHugger Robot [Fri, 23 Mar 2018 09:42:40 +0000 (09:42 +0000)]
Merge "Add multisim notifications for SST" 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
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
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
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
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
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
Aseem Kumar [Fri, 23 Mar 2018 05:09:34 +0000 (22:09 -0700)]
Delete unimplemented APIs from RecoveryController.
Bug:
74859770
Test: make update-api builds
Change-Id: Ic547e0ee2ef13995389a71369ffa736a7d83b78a
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
Svet Ganov [Fri, 23 Mar 2018 03:58:52 +0000 (20:58 -0700)]
Fix resource by name lookup
Test: added: '@' cases to ResourceUtilsTest
pass: ./out/host/darwin-x86/nativetest/libandroidfw_tests/libandroidfw_tests
pass: ./out/host/darwin-x86/nativetest/aapt2_tests/aapt2_tests
pass: cts-tradefed run cts-dev -m CtsAppSecurityHostTestCases
-t android.appsecurity.cts.PermissionsHostTest
Bug:
74612500
Change-Id: I144e4ca1b63b9cce71052fc02089bb6092739889
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
Ralph Nathan [Wed, 21 Mar 2018 21:53:23 +0000 (14:53 -0700)]
Permissions: Don't autogrant all permissions on Android Things
Currently, we're auto granting all requested permissions on Android
Things devices. This cl moves us away from that and allows OEMs to use
the default-permissions flow to explicitly decide which dangerous
permissions they want each app in the OEM partition to have.
Bug:
73007742
Test: manual test
Change-Id: I0c33933c414ccd7b6f766790f2f7ebfebb1ddc4f
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
Bo Zhu [Thu, 22 Mar 2018 03:07:43 +0000 (20:07 -0700)]
Unhide the enum/function for the password hashing algorithm scrypt
Bug:
75024420
Test: none, it's just unhiding APIs
Change-Id: I9cbb327678d334079e2c660d85013f3073d4cb87
Dmitry Dementyev [Thu, 22 Mar 2018 20:56:51 +0000 (13:56 -0700)]
Remove 17 bytes length restriction for vaultHandler.
Update tests.
Bug:
75952916
Test: none
Change-Id: I78786e397a7d2ff95b29d5bc039442a1f6088be6
Jaewan Kim [Fri, 23 Mar 2018 02:47:25 +0000 (02:47 +0000)]
Merge "MediaSession2: Add more detailed documentation for addPlaylistItem()" into pi-dev
Dmitry Dementyev [Wed, 21 Mar 2018 20:52:00 +0000 (13:52 -0700)]
Update RecoverableKeyStoreManager methods to throw NullPointerException when null is passed as @NonNull argument.
Mark serverParams as nullable. Null value can be used to prevent new
snapshots creation.
Bug:
73959762
Test: Test: adb shell am instrument \
-w -e package com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I5c6ddd696b2882b3d27978b0146ff419bedaf5ee
Dmitry Dementyev [Fri, 23 Mar 2018 00:55:27 +0000 (17:55 -0700)]
Prepare KeyChainSnapshot to removing deprecated getTrustedHardwarePublicKey method.
Add null checks to getTrustedHardwareCertPath.
Remove unused and outdated PersistentKeyChainSnapshot class.
Use CertPath instead of public keys in KeySyncTaskTest.
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: Ifabe7d5fa250069ebe0885ce52ec29b01294f63a
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