OSDN Git Service
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
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
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
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
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
Christine Franks [Fri, 23 Mar 2018 01:11:22 +0000 (01:11 +0000)]
Merge "Allow developer options in retail mode" into pi-dev
Yu-Han Yang [Wed, 21 Feb 2018 21:08:37 +0000 (13:08 -0800)]
Make NLP/FLP location request behavior consistent
Bug:
73716887
Test: locally added a cts test and a test API in LocationManager to
trigger the flow.
Change-Id: I83f0918b144a6de030d233a061848b78789b4d89
(cherry picked from commit
563712a91cb40422fcb50bc2d26a464e6958fd97)
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
Eric Schwarzenbach [Thu, 22 Mar 2018 20:49:25 +0000 (13:49 -0700)]
Change null behavior of getCellBandwidths
Returns empty array instead of null when there are
no cell bandwidths.
Bug:
73751023
Test: make, runtest
Change-Id: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
David Chen [Thu, 22 Mar 2018 23:31:40 +0000 (16:31 -0700)]
Fix statsd dropping metrics data.
We can increase the buffer of metrics we store in statsd memory, but
we still request the clients to call getData when the metrics memory
exceeds 128 KB (previously was 90% of 128 KB).
Bug:
76171061
Test: Test that unit-tests still pass.
Change-Id: I901545b364ed313af8c033ce9b40d3cfadb93213
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