OSDN Git Service
Rohan Shah [Thu, 10 May 2018 03:32:15 +0000 (20:32 -0700)]
Allow keep showing to bypass bouncer
User experience improvement that alleviates the current bouncer bug with
the blocking helper (where users can't swipe after interacting with the
blocking helper).
Bug:
78222122
Test: Added test case, verified on device with lock screen pin + helper
Change-Id: I54806df8b960ea305b120aef6217a6b90f30590b
android-build-team Robot [Wed, 9 May 2018 18:08:46 +0000 (18:08 +0000)]
Merge "Move libstatssocket to system/ so that lmkd can build on PDK." into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:07:24 +0000 (18:07 +0000)]
Merge "Fix partial bucket unit tests." into pi-dev
Matthew Ng [Fri, 4 May 2018 22:42:54 +0000 (15:42 -0700)]
Update the snap targets in minimized mode to reflect the correct targets
In minimized mode there is only 1 split snap target compared to regular
portrait that has 30%, 50%, 70% targets. Update the accessibility options
for minimized mode to reflect the correct targets. Also removed the
middle target if there is only 1 split snap target.
Test: using talkback, see custom options on divider handle in minimized
mode
Fixes:
78304300
Change-Id: I8421499616cf0fe503c1f6a081a2151098640a9c
Calin Juravle [Wed, 9 May 2018 17:41:00 +0000 (17:41 +0000)]
Merge "Allow the shell user to snapshot profiles for debuggable apps" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:29:06 +0000 (17:29 +0000)]
Merge "Change the root of trust for CryptAuth Vault Service" into pi-dev
Nathan Harold [Wed, 9 May 2018 17:27:13 +0000 (17:27 +0000)]
Merge "[DO NOT MERGE] Use INetd Constant for IpSec Interface Prefix" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:20:02 +0000 (17:20 +0000)]
Merge "Set app name when notification is updated" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:13:26 +0000 (17:13 +0000)]
Merge "Greylist updates, Wednesday edition." into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:06:33 +0000 (17:06 +0000)]
Merge "Fix a typo in the API doc of TextView#setKeyListener()" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:01:27 +0000 (17:01 +0000)]
Merge "Print correct version code when skipping outdated system packages" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:55:26 +0000 (16:55 +0000)]
Merge changes I5851dd16,Id196307f into pi-dev
* changes:
OMS: harden permission checks
Add missing fields to OverlayInfo.hashCode
android-build-team Robot [Wed, 9 May 2018 16:54:17 +0000 (16:54 +0000)]
Merge "Changed doze-light timeouts" into pi-dev
Leon Scroggins [Wed, 9 May 2018 16:40:01 +0000 (16:40 +0000)]
Merge "Allow AssetStreamAdaptor to be seekable" into pi-dev
Leon Scroggins [Wed, 9 May 2018 16:38:41 +0000 (16:38 +0000)]
Merge "Use filtering when drawing nine-patches" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:20:20 +0000 (16:20 +0000)]
Merge "AudioService: Do not disconnect SCO started externally" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:15:45 +0000 (16:15 +0000)]
Merge "Fix NPE in package manager when asserting overlays" into pi-dev
Rubin Xu [Wed, 9 May 2018 16:06:43 +0000 (16:06 +0000)]
Merge "Allow profile owner to disable iris/face on personal keyguard" into pi-dev
Rohan Shah [Wed, 9 May 2018 15:33:04 +0000 (15:33 +0000)]
Merge "[Notif] Rename/reset blocking helper stats file" into pi-dev
android-build-team Robot [Wed, 9 May 2018 15:30:44 +0000 (15:30 +0000)]
Merge "[Notif] Revert dismiss-to-view threshold to .8" into pi-dev
Jiyong Park [Wed, 9 May 2018 14:48:45 +0000 (14:48 +0000)]
Merge "Basedir of a bundled app is added to the permitted paths" into pi-dev
Mathew Inwood [Wed, 9 May 2018 13:58:03 +0000 (14:58 +0100)]
Greylist updates, Wednesday edition.
Bug:
74002300
Bug:
79199145
Test: m
Change-Id: If21248dafb69423edeb04b7763a63433f40d832a
android-build-team Robot [Wed, 9 May 2018 11:55:26 +0000 (11:55 +0000)]
Merge "Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA" into pi-dev
Nicolas Geoffray [Wed, 9 May 2018 08:35:56 +0000 (08:35 +0000)]
Merge "More light grey additions." into pi-dev
android-build-team Robot [Wed, 9 May 2018 08:10:32 +0000 (08:10 +0000)]
Merge "Increase timemout for dumpsys meminfo --unreachable" into pi-dev
android-build-team Robot [Wed, 9 May 2018 08:07:50 +0000 (08:07 +0000)]
Merge "Camera: Specify session parameter build requirements" into pi-dev
Calin Juravle [Sat, 28 Apr 2018 00:47:24 +0000 (17:47 -0700)]
Allow the shell user to snapshot profiles for debuggable apps
This is needed in order to be able to CTS test the profile infrastructure
via adb shell commands.
Test: atest ArtManagerHostTest
Bug:
74081010
Change-Id: I116dee2c36d712c0cd067d42994149c734f9edcd
felkachang [Fri, 4 May 2018 08:25:45 +0000 (16:25 +0800)]
Fix Clock flickers after reboot with strong authentication
After boot, the device request the strong authentication but
finger print is not strong. The keyguard will appear after collapsing
NotificationPanelView.
Because StatusBarKeyguardViewManager.mExpansionCallback.onFullyShown
->updateStates should call mStatusBar.setBouncerShowing(true)
before PanelBar.mExpanded = false but
StatusBarKeyguardViewManager.mBouncer.isShowing() return false,
StatusBarKeyguardViewManager.updateStates doesn't call
mStatusBar.setBouncerShowing.
After PanelBar.mExpanded = false, PhoneStatusBarView post runnable
mHideExpandedRunnable to show the Bouncer and make the Bouncer to be
showing and then change the NotificationPanelView to be VISIBLE.
The solution is to call
mStatusBarKeyguardViewManager.showBouncer(false) before calling
mStatusBarKeyguardViewManager.animateCollapsePanels(
FINGERPRINT_COLLAPSE_SPEEDUP_FACTOR). To make the
KeyguardBouncer.mRoot to be VISIBLE by KeyguardBouncer.mShowRunnable.
Bug:
78490344
Test: atest SystemUITests
Change-Id: Ia8770cd3ca98007574c0ba18c0464fc2f58b7973
Michael Kwan [Wed, 9 May 2018 01:53:50 +0000 (01:53 +0000)]
Merge "Add watch specific tweaks to global actions layouts." into pi-dev
Nathan Harold [Thu, 26 Apr 2018 18:47:14 +0000 (11:47 -0700)]
[DO NOT MERGE] Use INetd Constant for IpSec Interface Prefix
Convert to using a constant in INetd to ensure
that there is a consistent tunnel prefix between
Java and native code.
Bug:
74560705
Test: atest FramworksNetTest; atest CtsNetTestCases
Change-Id: Ida233aac2e6c6b26567463964e0ebac9d52eff1e
Jack He [Tue, 8 May 2018 21:51:07 +0000 (14:51 -0700)]
AudioService: Do not disconnect SCO started externally
* AudioService should not disconnect Bluetooth SCO if it is started
externally
* When SCO has already started externally, all SCO connection attempts
through AudioManager API will fail with SCO_AUDIO_STATE_DISCONNECTED
intent
* Remove SCO_STATE_DEACTIVATE_EXT_REQ state since AudioService could no
longer disconnect SCO audio that is started externally
* Change SCO_STATE_* values so that they are consecutive
Bug:
79407565
Test: With Bluetooth HFP device connected:
Test1: make a outgoing call
Test2: make VoIP call during cellular call
Test3: make a VoIP call during another VoIP call
Change-Id: I1e0a10aeb0eac59d4826f9defa595aebd85f534c
Chenjie Yu [Wed, 9 May 2018 00:53:09 +0000 (00:53 +0000)]
Merge "fix cts error on x86 simulator" into pi-dev
Suprabh Shukla [Wed, 9 May 2018 00:39:24 +0000 (17:39 -0700)]
Changed doze-light timeouts
Being more aggressive while entering doze light.
Test: "adb shell dumpsys deviceidle" should show
light_after_inactive_to=+3m0s0ms
light_pre_idle_to=+3m0s0ms
Bug:
79418894
Change-Id: I58c854e191f488f71830272ae36642acb5305999
android-build-team Robot [Wed, 9 May 2018 00:25:31 +0000 (00:25 +0000)]
Merge "Fix statsd returning uidmap with empty reports." into pi-dev
Yohei Yukawa [Wed, 9 May 2018 00:11:33 +0000 (17:11 -0700)]
Fix a typo in the API doc of TextView#setKeyListener()
Fix:
79436805
Test: make -j docs
Then check out/target/common/docs/offline-sdk/reference/android/widget/TextView.html#setKeyListener(android.text.method.KeyListener)
Change-Id: I6c0d2a3af9434240c4e6e931185bc4f21b2e2b52
Bo Zhu [Tue, 1 May 2018 00:15:56 +0000 (17:15 -0700)]
Change the root of trust for CryptAuth Vault Service
Change-Id: I99899e7e6c090cf22cf31b0b4d5fd3e33dcb2f8f
Bug:
78920513
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
android-build-team Robot [Tue, 8 May 2018 23:31:40 +0000 (23:31 +0000)]
Merge "Should not use the absolute value when the value does not change." into pi-dev
Mårten Kongstad [Thu, 16 Nov 2017 12:07:30 +0000 (13:07 +0100)]
OMS: harden permission checks
The IOverlayManager.aidl interface is protected by certain permissions.
The overlay manager implements the permission checks by calling
enforceCallingOrSelfPermission, but this method needlessly includes the
permissions of system_server in the check.
Harden the permission checks by switching from
enforceCallingOrSelfPermission to enforceCallingPermission.
Bug:
78809702
Test: atest OverlayHostTests OverlayDeviceTests
Change-Id: I5851dd1683adf644ea8e5a58dce4d7377664342e
Mårten Kongstad [Wed, 21 Feb 2018 08:54:33 +0000 (09:54 +0100)]
Print correct version code when skipping outdated system packages
When a newer version of a package exists on /data, the package manager
will skip scanning the outdated version on /system. As part of this the
following is printed to logcat:
Package <name> at <path> ignored: updated version <new-version>
better than this <old-version>
Teach the package manager to read <new-version> from the correct
variable (it used to be identical to <old-version>).
Bug:
78871949
Test: manual (upgrade a pre-installed app, check logcat on reboot)
Change-Id: Iaa4e43d2f91ca33a0e56e90c233d5d02abed781e
Mårten Kongstad [Wed, 21 Feb 2018 09:43:13 +0000 (10:43 +0100)]
Fix NPE in package manager when asserting overlays
When a newer version of a package exists on /data, the package manager
will skip scanning the outdated version on /system. This means the
PackageSetting.pkg corresponding to the outdated version will be null.
This will cause an NPE when asserting that an upgraded overlay is
non-static (<overlay isStatic="false">). Prevent the exception by
checking for null, and, if needed, explicitly scan the outdated version
of the overlay within the scope of the assertion.
Bug:
78871949
Test: manual (have a pre-installed overlay, adb install a newer version, reboot)
Change-Id: I74d12c913705309dbb34f837b6806bb0fef25086
android-build-team Robot [Tue, 8 May 2018 22:53:48 +0000 (22:53 +0000)]
Merge "Fade in/out onboarding tips." into pi-dev
android-build-team Robot [Tue, 8 May 2018 22:42:24 +0000 (22:42 +0000)]
Merge "Add null check before checking overlay" into pi-dev
Chenjie Yu [Wed, 18 Apr 2018 23:25:36 +0000 (16:25 -0700)]
fix cts error on x86 simulator
Bug:
78242568
Fix:
78242568
Test: cts test
Change-Id: I235991c7c5b7c5a0d660ebaaff1356cc69fd1854
Mårten Kongstad [Mon, 9 Apr 2018 12:29:36 +0000 (14:29 +0200)]
Add missing fields to OverlayInfo.hashCode
OverlayInfo.category was inadvertently omitted when calculating the hash
code for an OverlayInfo.
Bug:
78809702
Test: atest OverlayHostTests OverlayDeviceTests
Change-Id: Id196307f75569d851503ffd8ef778aec50c2de37
Yangster [Tue, 8 May 2018 22:12:30 +0000 (15:12 -0700)]
Should not use the absolute value when the value does not change.
Test: statsd test
BUG: b/
79265262
Change-Id: Ic654e1a07a505ec0e073a41fb41bcd38a29b125e
David Brazdil [Tue, 8 May 2018 21:53:45 +0000 (21:53 +0000)]
Merge "Greylist cloned SDK fields" into pi-dev
android-build-team Robot [Tue, 8 May 2018 21:41:34 +0000 (21:41 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Patrick Baumann [Tue, 8 May 2018 21:31:45 +0000 (14:31 -0700)]
Add null check before checking overlay
This change prevents an NPE that was occurring when the package
for a given setting was assumed to be non-null while dumping
package information for e.g. adb shell dumpsys package
Test: manual - adb shell dumpsys package is no longer malformed
Change-Id: Idaf6a6b82f1fb450848faa15f19ee08085605bdb
Fixes:
79268525
Rohan Shah [Tue, 8 May 2018 21:23:43 +0000 (14:23 -0700)]
[Notif] Revert dismiss-to-view threshold to .8
Lower how frequently users will see the blocking helper in preparation
for the experiment + file reset.
Test: Manual val change, tests pass
Bug:
77143005
Change-Id: Ie49dc5c08e7a5a6c30b3f38356e312d6fb28574e
Tracy Zhou [Tue, 8 May 2018 21:09:44 +0000 (14:09 -0700)]
Fade in/out onboarding tips.
Bug:
79431649
Test: Manual test
Change-Id: I8054f4626f261f6620021b909982276428ccd673
Rohan Shah [Tue, 8 May 2018 21:00:07 +0000 (21:00 +0000)]
Merge "Add knobs for tweaking blocking helper thresholds" into pi-dev
Phil Weaver [Tue, 8 May 2018 20:59:27 +0000 (20:59 +0000)]
Merge "Revert Nav bar contrast under magnification" into pi-dev
Makoto Onuki [Tue, 8 May 2018 20:25:11 +0000 (20:25 +0000)]
Merge "Pre-cache more system servers" into pi-dev
Ying Zheng [Tue, 8 May 2018 20:22:09 +0000 (20:22 +0000)]
Merge "Deprecate UserManagerHelper in SettingsLib, use CarUserManagerHelper." into pi-dev
Alex Chau [Mon, 30 Apr 2018 16:51:56 +0000 (17:51 +0100)]
Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA
- EXTRA_PROVISIONING_USE_MOBILE_DATA is to indicate mobile data should be used for device owner provisioning
- This constant is hidden as API for P is already frozen. The constant hardcoded by developers in a QR code or NFC payload, which should work in P regardless if the constant is hidden.
- Our team will be responsible of communicating this new extra to developers desposite it's not appearing in public javadoc
Bug:
78594515
Test: None
Change-Id: I06000cf9156ef54adc3c8fe12fdb3fa73075a859
android-build-team Robot [Tue, 8 May 2018 19:27:47 +0000 (19:27 +0000)]
Merge "Use the non-chained interface for mobile/wifi power atoms." into pi-dev
Bill Yi [Tue, 8 May 2018 19:01:09 +0000 (12:01 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I96be3cc38b6c433685e187b85303a1ed584b6108
Beverly [Tue, 8 May 2018 18:56:03 +0000 (14:56 -0400)]
Set app name when notification is updated
- Setting app name updates the content description for a11y
Change-Id: I77cc7e3299802dec4284b800086d313c41b1056b
Fixes:
75282248
Test: manual
Philip P. Moltmann [Tue, 8 May 2018 18:51:19 +0000 (18:51 +0000)]
Merge "Disable throttling of SoundTrigger" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:45:30 +0000 (18:45 +0000)]
Merge "Adding a utility class for listening disable rotation changes" into pi-dev
David Brazdil [Tue, 8 May 2018 18:27:13 +0000 (19:27 +0100)]
Greylist cloned SDK fields
Doclava will expose a field from a hidden interface if it is inherited
by an SDK class by temporarily creating a new FieldInfo object which
pretends the field is in fact declared in the SDK class.
This mechanism was missed by the routine which prints non-SDK APIs
and the fields are considered non-SDK. Until this is fixed, put the
affected fields on the light greylist to unblock CTS tests.
Bug:
64382372
Bug:
73082683
Test: atest CtsCurrentApiSignatureTestCases
Change-Id: Ic10d26b82ad8f324280e0198f1d3e8b0ab824d35
android-build-team Robot [Tue, 8 May 2018 18:25:21 +0000 (18:25 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
David Brazdil [Tue, 8 May 2018 18:22:05 +0000 (18:22 +0000)]
Merge changes I8b20e03c,Id1ef4ab5,Ie34adb8b into pi-dev
* changes:
Manualy blacklist certain hidden APIs
Populate hidden API dark greylist
Refactor build rules for hidden API lists
android-build-team Robot [Tue, 8 May 2018 18:21:49 +0000 (18:21 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:18:25 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Makoto Onuki [Tue, 8 May 2018 18:09:56 +0000 (18:09 +0000)]
Merge "Show "in parole?" in dumpsys jobscheduler" into pi-dev
Dianne Hackborn [Tue, 8 May 2018 17:59:32 +0000 (17:59 +0000)]
Merge "Make android:cantSaveState an optional feature." into pi-dev
android-build-team Robot [Tue, 8 May 2018 17:58:24 +0000 (17:58 +0000)]
Merge "EBS: Don't disable vibration when accessibility is on" into pi-dev
android-build-team Robot [Tue, 8 May 2018 17:26:31 +0000 (17:26 +0000)]
Merge "Count launching the same app as an app launch for Quickstep onboarding" into pi-dev
Sunny Goyal [Tue, 8 May 2018 00:30:10 +0000 (17:30 -0700)]
Adding a utility class for listening disable rotation changes
Bug:
79376298
Test: Verified the library with Launcher
Change-Id: I2682f97f323438db0d19a2eba1a8328b7af5e3f0
Leon Scroggins III [Mon, 23 Apr 2018 15:15:00 +0000 (11:15 -0400)]
Use filtering when drawing nine-patches
Bug:
77917978
Test: Look at toggles; CtsUiRenderingTestCases
Prior to this change, the toggles look pixelated due to using a
"nearest" filter instead of a "bilerp".
This matches the behavior of the hwui renderer.
Depends on changes in Skia (Ib7d0abdd51981bddf36ec5c3fd84bb651f405f0f)
to respect the filter quality when drawing to a GPU canvas and to
remove the resulting "bleeding" effect from drawImageLattice.
Change-Id: I59d81a17f351e18574539479a38a580a02e1619b
Ryan Mitchell [Tue, 8 May 2018 17:17:17 +0000 (17:17 +0000)]
Merge "AAPT: Fixed split resource dumping" into pi-dev
Makoto Onuki [Mon, 7 May 2018 21:43:05 +0000 (14:43 -0700)]
Pre-cache more system servers
Bug:
78792330
Test: Boot system
Change-Id: Id65d9f7d9a697e3c85b410e5da4028a712e4347a
Ying Zheng [Tue, 8 May 2018 16:53:12 +0000 (09:53 -0700)]
Deprecate UserManagerHelper in SettingsLib, use CarUserManagerHelper.
Bug:
79417730
Test: Build
Change-Id: I49b8e7bca5ae9b036e191fbdc14e1bb459b132fb
android-build-team Robot [Tue, 8 May 2018 16:41:47 +0000 (16:41 +0000)]
Merge changes I1539580e,I8452e799 into pi-dev
* changes:
Volume dialog mulit-streams have 8dp padding
Check if alarm and now times are in schedule
Rohan Shah [Fri, 4 May 2018 20:42:18 +0000 (13:42 -0700)]
Add knobs for tweaking blocking helper thresholds
Added both blocking helper parameters to Global Settings to allow for
tweaking stats/values. Added listeners for value updates (so that
channels are updated properly with new thresholds).
Bug:
77143005
Test: manually, test cases
Change-Id: Ia5cfb29ca40500a694261bd5e9e60fa1f34e742a
android-build-team Robot [Tue, 8 May 2018 16:21:39 +0000 (16:21 +0000)]
Merge "Fixes a NPE in search manager in CTS tests." into pi-dev
android-build-team Robot [Tue, 8 May 2018 16:19:50 +0000 (16:19 +0000)]
Merge "Fix intercepting touch events for guts" into pi-dev
David Brazdil [Tue, 8 May 2018 15:49:02 +0000 (16:49 +0100)]
Manualy blacklist certain hidden APIs
Previous CL introduced the concept of populating the dark greylist
with remaining members of classes on the light greylist. This breaks
the assumption that some methods/fields will always remain blacklisted.
Introduce a new file which forces their blacklisting and adjust the
build rules accordingly.
Bug:
64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: I8b20e03c50f4027a24d2a6081bedb08bc8a34011
David Brazdil [Tue, 8 May 2018 14:28:31 +0000 (15:28 +0100)]
Populate hidden API dark greylist
This patch will iterate over all classes in the light greylist and
add the remaining (currently blacklisted) class members into the
dark greylist. This is meant to mitigate the impact of the feature
on legacy apps, in case their hidden API uses have not been detected
by our analyses. The dark greylist entries will be available to apps
targeting pre-P SDK versions, but blocked for apps targeting P or later.
Bug:
64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
Change-Id: Id1ef4ab523b3b4d1333b5fbf2b3e6622ef2be607
David Brazdil [Tue, 8 May 2018 14:04:20 +0000 (15:04 +0100)]
Refactor build rules for hidden API lists
The build rules were getting messy and too difficult to extend.
Extract assertions into own functions, create shared variables.
Bug:
64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ie34adb8b5349b30daa2e9e4976d285f6d9711f0e
Nicolas Geoffray [Tue, 8 May 2018 16:06:04 +0000 (16:06 +0000)]
Merge "Add some JobInfo APIs in light grey." into pi-dev
Winson Chung [Tue, 8 May 2018 15:51:04 +0000 (15:51 +0000)]
Merge "Cancel any recents animation whenever a display's stack order changes" into pi-dev
android-build-team Robot [Tue, 8 May 2018 15:28:31 +0000 (15:28 +0000)]
Merge "Remove ticker text for screenshot saving notification." into pi-dev
Beverly [Tue, 8 May 2018 15:16:02 +0000 (11:16 -0400)]
Volume dialog mulit-streams have 8dp padding
Change-Id: I1539580e2d848521638b50c10bd51c18ff415268
Fixes:
79353898
Test: visual inspection with multi-stream and dnd
Makoto Onuki [Tue, 8 May 2018 15:11:57 +0000 (15:11 +0000)]
Merge "Fix "battery saver" notification keeping coming back." into pi-dev
Nicolas Geoffray [Tue, 8 May 2018 15:04:30 +0000 (16:04 +0100)]
Add some JobInfo APIs in light grey.
bug:
79258941
Test: m
Change-Id: Ief508c5785482a28ee0262cc168b01d3b632fbfa
Steven Wu [Tue, 8 May 2018 15:03:17 +0000 (11:03 -0400)]
Fixes a NPE in search manager in CTS tests.
Test: atest CtsSliceTestCases
Change-Id: I9e9b3bbcf0dc980e5189293abcee95ff374e309f
Fixes:
76211625
android-build-team Robot [Tue, 8 May 2018 14:58:09 +0000 (14:58 +0000)]
Merge "Adding batterystats history to proto dump." into pi-dev
Rohan Shah [Tue, 8 May 2018 14:55:02 +0000 (07:55 -0700)]
[Notif] Rename/reset blocking helper stats file
Changed the name of the blocking helper stats file to effectively reset
blocking helper stats.
Will be submitted following a dogfood email being sent out.
Test: Manually, mp droid -> check file in adb shell
Bug:
77143005
Change-Id: I4d79077220d628e5fd7ce40553222658f94efc24
android-build-team Robot [Tue, 8 May 2018 14:22:30 +0000 (14:22 +0000)]
Merge "Store package restriction settings at shutdown" into pi-dev
Beverly [Fri, 4 May 2018 15:21:20 +0000 (11:21 -0400)]
Check if alarm and now times are in schedule
Bug:
77570224
Bug:
79230399
Test: ScheduleCalendarTest
Change-Id: I8452e799189dab0559b49f1e62b18b7106929cd3
Nicolas Geoffray [Fri, 4 May 2018 10:26:52 +0000 (11:26 +0100)]
More light grey additions.
bug:
79231527
Test: m
Change-Id: Iad15afc588b9ae06f947ef811253afe3ce996e25
Bill Yi [Tue, 8 May 2018 12:50:55 +0000 (05:50 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I463ac2560e83ff4f58c588e7b19986870f55bebd
Bill Yi [Tue, 8 May 2018 09:04:29 +0000 (02:04 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Icba148a61ddf79c00763628ac9b3c66f64f29cd2
Emilian Peev [Fri, 4 May 2018 09:08:03 +0000 (10:08 +0100)]
Camera: Specify session parameter build requirements
Session parameters are subset of the supported capture
request parameters. They are passed as part of the capture
session intitialization and only require the initial session
parameter values. Update the documentation and make clear that
additional outputs, tags etc. should not be passed when building
the session parameter capture request object.
Bug:
79225608
Test: Documentation builds
Change-Id: Id2651ea1d8dc8e3ebd9ebfca84eca2bb67694bf4
Bill Yi [Tue, 8 May 2018 08:11:49 +0000 (01:11 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I4c02115eba93fb80a723e0ba82f5ca70a4243488
Winson Chung [Fri, 4 May 2018 01:03:15 +0000 (18:03 -0700)]
Cancel any recents animation whenever a display's stack order changes
- The recents animation holds a reference to the stack that the recents
stack was previously behind (before the animation started) and should be
restored behind after the animation ends. Due to the ordering of events,
it is possible for a call to cancelRecentsAnimation() to come in after
we have started the transition to home
ie.
1) in app A
2) touch down on home button -> start recents animation, home stack
saves A stack as the one to restore behind if animation doesn't
finish
3) touch up to trigger button -> PWM to start home activity and
simultaneously proxies the motion even to launcher which happens to
call cancelRecentsAnimation (as a part of a catch all)
4) PWM start activity -> move home stack to top
5) cancelRecentsAnimation from launcher will try to restore the home
stack behind A, when the rest of the system has already thought
that the home stack was already moved to the front and focused
Instead of depending on any particular ordering of events, we can just
cancel the recents animation (without reordering) whenever the display's
stacks change so as not to affect any upcoming changes. There is only
one stack order changed listener (the recents animation, and there can
only be one animation at a time; the previous animation is always
canceled and unregisters the listener when cleaning up.
- Revert the old workaround for Beta 1 in PWM as it doesn't catch other
cases
- Removed confusing code suggesting that we were using a non-default
display (we are always only ever doing this animation for the default
display since that's where we resolved the target stack).
Bug:
73188263
Test: Was able to repro by artificially calling cancelRecentsAnimation
immediately after starting home (and also by swiping up, holding,
then invoking the home via adb (to trigger start activity) and then
releasing (to trigger cancelRecentsAnimation)). Ensure that case
now works.
Test: atest FrameworksServicesTests:RecentsAnimationTest
Test: atest FrameworksServicesTests:ActivityStackTests
Change-Id: Iec1a29b5bb53737b4be3f1a3719c4e7c26313a11
android-build-team Robot [Tue, 8 May 2018 05:52:36 +0000 (05:52 +0000)]
Merge "AOD padding animation should match slice" into pi-dev
Wei Sheng Shih [Tue, 8 May 2018 04:13:35 +0000 (04:13 +0000)]
Merge "Reload wallpaper after user unlock." into pi-dev