OSDN Git Service
Sudheer Shanka [Mon, 23 Apr 2018 21:34:57 +0000 (21:34 +0000)]
Merge "Rate limit battery external stats collection in takeUidSnapshot(s)." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 21:19:42 +0000 (21:19 +0000)]
Merge "Fix RadioTunerTest." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 21:15:31 +0000 (21:15 +0000)]
Merge "Verify best signature algorithms of all signers" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 21:07:45 +0000 (21:07 +0000)]
Merge "Use screen height to determine # of QS rows." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 20:17:58 +0000 (20:17 +0000)]
Merge "Fix bad pixel out-of-bounds filter" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 20:15:24 +0000 (20:15 +0000)]
Merge "[QS] Move date view to QS panel" into pi-dev
Marco Nelissen [Mon, 23 Apr 2018 19:58:46 +0000 (19:58 +0000)]
Merge "Guard against native crash due to null Surface" into pi-dev
Victor Hsieh [Fri, 20 Apr 2018 22:45:37 +0000 (15:45 -0700)]
Verify best signature algorithms of all signers
The previous implementation does not verify signature algorithms of all
signers. It's possible that the attacker can take an old apk (with
digest and signature of old algorithm) and add their own signer block
with new/P digest and signature. In this case, the old implementation
only verifies the attacker's signature, thus the attacker can change apk
content easily.
The solution here is to verify digests of all best signature algorithms
by all signers.
It is expected to increase verification time, if the apk does have
multiple signers with different type of digests.
Test: apks still install
Bug:
78359754
Change-Id: I607edf219c25a2a7adfa27a21a94e9bfefbb6cec
Merged-In: I607edf219c25a2a7adfa27a21a94e9bfefbb6cec
(cherry picked from commit
2f2ced93e3176d71dbd23e7f71a3d78b6dc09830)
Rob Carr [Mon, 23 Apr 2018 19:22:18 +0000 (19:22 +0000)]
Merge "ViewRoot: Check Surface validity before initializing renderer from draw()." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 19:13:00 +0000 (19:13 +0000)]
Merge "DO NOT MERGE Add list of approved services in addApprovedList" into pi-dev
Amin Shaikh [Mon, 23 Apr 2018 17:07:31 +0000 (13:07 -0400)]
Use screen height to determine # of QS rows.
1 row default
2 rows >320dp
3 rows >600dp
Change-Id: I5d547bdf851a7398bbe78d8c762015fb02aa378d
Fixes:
78383956
Test: visual on Pixel and Pixel XL
Rohan Shah [Sat, 7 Apr 2018 00:57:00 +0000 (17:57 -0700)]
[QS] Move date view to QS panel
The date view is currently in the quick status bar - we are moving it
into the QSPanel on the left of the icons.
So that it works with dark wallpapers, changed text color to
colorPrimary attribute.
Bug:
74394377
Test: visually verified
Change-Id: I8aec54b600a85442d61696ee2375cbfe8362943c
TreeHugger Robot [Mon, 23 Apr 2018 18:43:32 +0000 (18:43 +0000)]
Merge "Exposing setRecentsVisibility method and associated callbacks to the Recents components" into pi-dev
Sudheer Shanka [Mon, 23 Apr 2018 18:22:15 +0000 (11:22 -0700)]
Rate limit battery external stats collection in takeUidSnapshot(s).
Bug:
74146897
Test: atest cts/tests/tests/os/src/android/os/health/cts/SystemHealthManagerTest.java
Test: atest core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
Change-Id: I2e01146718c3ce65d230308097622b958cb2897a
TreeHugger Robot [Mon, 23 Apr 2018 18:27:14 +0000 (18:27 +0000)]
Merge "Global actions visuals:" into pi-dev
Siyamed Sinir [Mon, 23 Apr 2018 18:19:22 +0000 (18:19 +0000)]
Merge "Update Emoji.java for emoji 11" into pi-dev
Siyamed Sinir [Mon, 23 Apr 2018 18:19:22 +0000 (18:19 +0000)]
Merge "Update fontchain_linter for emoji 11" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:16:21 +0000 (18:16 +0000)]
Merge "Actually read config_showActivity in the signal policy" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:14:32 +0000 (18:14 +0000)]
Merge "Don't consider resources < 0 as invalid" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:09:09 +0000 (18:09 +0000)]
Merge "AOD: Fix WakeLock leak" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:03:07 +0000 (18:03 +0000)]
Merge "Do not allow elevating system_server priority for remote anim" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 17:49:06 +0000 (17:49 +0000)]
Merge "Enabled aggregated per-uid stats collection by default" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 17:44:10 +0000 (17:44 +0000)]
Merge "AodPolicy: Fix service leak" into pi-dev
Artem Iglikov [Mon, 23 Apr 2018 14:55:04 +0000 (15:55 +0100)]
DO NOT MERGE Add list of approved services in addApprovedList
... instead of replacing it. I.e., do what the method name claims to do
in order to fix restoring. Otherwise during restore the list of
components is getting set to the list of the components from backup set,
i.e., list of pre-approved components is lost.
Bug:
77630371
Test: with a backup set for package "android" created with LocalTransport run (also see the bug) adb root && adb shell bmgr enable true && adb shell bmgr transport android/com.android.internal.backup.LocalTransport && adb shell bmgr backupnow android && adb shell rm -rf /cache/backup/1/_delta/android/ && adb push android /cache/backup/1/_delta/ && adb shell cat /data/system/notification_policy.xml | grep enabled_listeners -C 5 && adb shell bmgr restore 1 android && adb shell cat /data/system/notification_policy.xml | grep enabled_listeners -C 5
Test: atest FrameworksUiServicesTests
Change-Id: Ic201d868bdb003fcac12876ab55f4992edb866e3
Alison Cichowlas [Thu, 19 Apr 2018 22:19:58 +0000 (18:19 -0400)]
Global actions visuals:
- Un-round corners on global actions separator.
- Scoot closer to edge (GA & volume)
- Padding tweaks
Test: Manual (examine corners of power menu)
Bug:
72404596
Change-Id: Ie16d62f387ac598bef0ada8b10d24ae2740aa503
Jorim Jaggi [Wed, 18 Apr 2018 16:17:56 +0000 (18:17 +0200)]
Do not allow elevating system_server priority for remote anim
Test: go/wm-smoke
Bug:
77908520
Change-Id: I45f47d73bedb7317c9e80907930f8d4d628f212a
Sunny Goyal [Sat, 21 Apr 2018 00:13:33 +0000 (17:13 -0700)]
Exposing setRecentsVisibility method and associated callbacks to the Recents components
Bug:
78125098
Test: Verified with Launcher as the recents component
Change-Id: Ic369d336f9caa3c8bdc565ff6931c78c9914e23e
Adrian Roos [Mon, 23 Apr 2018 15:48:08 +0000 (17:48 +0200)]
AodPolicy: Fix service leak
Fixes an issue where the AlwaysOnDisplayPolicy leaked a service
context, and with it the entirety of DozeMachine, preventing
wakelocks from being GCed and preventing them from being
fallback-released.
Bug:
78402666
Test: Toggle screen on and off a few times, verify that DozeService is not being leaked.
Change-Id: Ie3ad67c2d0c83760f4d04a53394fab4a3a35d6bc
Adrian Roos [Mon, 23 Apr 2018 15:41:17 +0000 (17:41 +0200)]
AOD: Fix WakeLock leak
Bug:
78402666
Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked.
Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb
Mathew Inwood [Mon, 23 Apr 2018 15:57:27 +0000 (15:57 +0000)]
Merge "Light greylist additions." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 15:56:04 +0000 (15:56 +0000)]
Merge "Metrics constants for new zen screen" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 15:53:47 +0000 (15:53 +0000)]
Merge "Fixed ConcurrentModificationException with HearingAids profile" into pi-dev
Evan Laird [Mon, 23 Apr 2018 15:37:04 +0000 (11:37 -0400)]
Actually read config_showActivity in the signal policy
Test: visual
Change-Id: Ieff1de97ee0c79eba1f98024b5a3339033b65714
Fixes:
78265329
Nicolas Geoffray [Mon, 23 Apr 2018 15:27:43 +0000 (15:27 +0000)]
Merge "Add more light grey APIs." into pi-dev
David Brazdil [Mon, 23 Apr 2018 15:01:49 +0000 (15:01 +0000)]
Merge "Revert "Temporarily whitelist platform test packages for hidden API"" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 14:56:01 +0000 (14:56 +0000)]
Merge "Make settings icon invisible when QS is collapsed." into pi-dev
Julia Reynolds [Mon, 23 Apr 2018 13:41:21 +0000 (09:41 -0400)]
Metrics constants for new zen screen
Test: make
Bug:
78448988
Change-Id: Iaf3b35b3f22dd81c372683042372681f4086f1c8
Bryce Lee [Mon, 23 Apr 2018 14:09:54 +0000 (14:09 +0000)]
Merge "Thaw input dispatching immediately after unfreezing." into pi-dev
Bryce Lee [Mon, 23 Apr 2018 14:08:29 +0000 (14:08 +0000)]
Merge "Consider lock state when determining next activity to become visible." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 12:31:17 +0000 (13:31 +0100)]
Light greylist additions.
These are scraped from bugreports attached to numerous bugs. They all
related to reflective API accesses (not linking).
Test: m
Bug:
64382372
Bug:
33010617
Bug:
62090571
Bug:
69061609
Bug:
73554018
Bug:
73741036
Bug:
74234537
Bug:
74240254
Bug:
76097575
Bug:
76134480
Bug:
76231474
Bug:
76390527
Bug:
77154412
Bug:
77289927
Bug:
77319364
Bug:
77481479
Bug:
77675425
Bug:
77735374
Bug:
78045614
Bug:
78242776
Bug:
78322423
Bug:
78436746
Bug:
78437951
Bug:
78438371
Change-Id: Ibe00e41e7c8cb4e79a245a41fc50a1744266ecb5
TreeHugger Robot [Mon, 23 Apr 2018 13:44:01 +0000 (13:44 +0000)]
Merge "Add null check for wireless charging animation." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 12:54:50 +0000 (13:54 +0100)]
Add more light grey APIs.
bug:
64382372
Test: m
Change-Id: I1d36c4d1087e8b9a184487ede4f567e778e1589e
Amin Shaikh [Mon, 23 Apr 2018 12:52:38 +0000 (08:52 -0400)]
Make settings icon invisible when QS is collapsed.
Also fix calling super#onAttachedToWindow in QuickStatusBarHeader.
Change-Id: I2eb8c31b2d3a9ca20ac76608650a0e42ec25e504
Fixes:
78203022
Test: visual
David Brazdil [Mon, 23 Apr 2018 10:43:32 +0000 (11:43 +0100)]
Revert "Temporarily whitelist platform test packages for hidden API"
This reverts commit
6c5f36d3d9d82a390048eb386e0eca46cd9e1e2e.
Bug:
64382372
Bug:
74963051
Test: N/A
Change-Id: I8dc2b19c5d1ceee051791b639f30a1175b373117
Jorim Jaggi [Mon, 23 Apr 2018 12:17:37 +0000 (12:17 +0000)]
Merge "Remove prolonged animations" into pi-dev
David Brazdil [Mon, 23 Apr 2018 10:51:14 +0000 (10:51 +0000)]
Merge "Greylist test API for CtsSliceTestCases" into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:42:17 +0000 (10:42 +0000)]
Merge "Add light grey APIs." into pi-dev
David Brazdil [Thu, 19 Apr 2018 15:32:48 +0000 (16:32 +0100)]
Greylist test API for CtsSliceTestCases
The test invokes two hidden methods inside a ContentProvider.
Since we cannot exempt those, add the two methods to light greylist
until they are made @TestApi.
Bug:
64382372
Test: run cts --module CtsSliceTestCases
Change-Id: I9bc0c23282c1744f4b93b9d84fcdd022f70859c2
Nicolas Geoffray [Mon, 23 Apr 2018 10:33:39 +0000 (10:33 +0000)]
Merge "Add java.io.File fields to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:30:01 +0000 (10:30 +0000)]
Merge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:23:09 +0000 (10:23 +0000)]
Merge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:58:24 +0000 (08:58 +0000)]
Merge "Add APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:57:07 +0000 (08:57 +0000)]
Merge "Add SELinux->getFileContext to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:56:52 +0000 (08:56 +0000)]
Merge "Light grey some APIs." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 08:02:32 +0000 (08:02 +0000)]
Merge "Enforce permission when disabling API checks." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 07:22:12 +0000 (07:22 +0000)]
Merge "Let DnsManager fill in LinkProperties for private DNSes" into pi-dev
Chalard Jean [Wed, 11 Apr 2018 09:58:52 +0000 (18:58 +0900)]
Let DnsManager fill in LinkProperties for private DNSes
Test: new tests pass
Bug:
73641539
Change-Id: I971ef4d27b22a435d7459e1c4b31a8715ef6e610
Yu-Han Yang [Mon, 23 Apr 2018 04:20:04 +0000 (04:20 +0000)]
Merge "Use settings flag to control HAL location request" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 03:13:03 +0000 (03:13 +0000)]
Merge "Add nullchecks to ScreenPinningRequest." into pi-dev
Selim Cinek [Mon, 23 Apr 2018 02:26:58 +0000 (02:26 +0000)]
Merge "Made the DrawableWrapper return the right ColorFilter" into pi-dev
TreeHugger Robot [Sun, 22 Apr 2018 04:06:59 +0000 (04:06 +0000)]
Merge "Refactoring the User Switcher layout files to use dimensions in dimens_car.xml and colors_car.xml so that overlays will be easier. Also, added a dialog when adding a user. Fixed the issue where coming back to the user picker makes the buttons unresponsive" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 21:49:24 +0000 (21:49 +0000)]
Merge "Use updated override config to notify listeners." into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 18:11:36 +0000 (18:11 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 17:52:04 +0000 (17:52 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Jack Yu [Sat, 21 Apr 2018 17:18:52 +0000 (17:18 +0000)]
Merge "Fixed CTS CtsUsageStatsTestCases test cases" into pi-dev
Jovana Knezevic [Sat, 21 Apr 2018 15:23:15 +0000 (15:23 +0000)]
Merge "Fixing issues with alpha 0.0 on parent view." into pi-dev
Bill Yi [Sat, 21 Apr 2018 09:18:07 +0000 (02:18 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I42a13b075c1517f0ec1f8f79fd46ec54ee26008e
Bryce Lee [Sat, 21 Apr 2018 05:56:01 +0000 (22:56 -0700)]
Thaw input dispatching immediately after unfreezing.
Currently, we thaw after taking a number of steps post-unfreezing,
including setting up screen animations for rotation. If there is an
exception in this intermediate code, the input dispatching will not
be thawed even though the display has unfrozen.
This changelist moves thawing to immediately after unfreezing to
prevent it from being skipped due to an exception.
Bug:
78301580
Test: atest CtsActivityManagerDeviceTestCases
Change-Id: I32a3ca909fe1a495b361f9e5ba7b3a158837bc3a
TreeHugger Robot [Sat, 21 Apr 2018 05:42:29 +0000 (05:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 21 Apr 2018 04:40:27 +0000 (21:40 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ic17792437048be044201531e491b4ef280cf37f4
TreeHugger Robot [Sat, 21 Apr 2018 02:29:55 +0000 (02:29 +0000)]
Merge changes from topic "statsd_socket_review" into pi-dev
* changes:
Add socket listener to statsd. And remove Davey atom.
Allow StatsLog to directly write to statsd's socket.
Aarthi Balachander [Fri, 20 Apr 2018 02:25:33 +0000 (19:25 -0700)]
Refactoring the User Switcher layout files to use dimensions in
dimens_car.xml and colors_car.xml so that overlays will be easier.
Also, added a dialog when adding a user. Fixed the issue where coming
back to the user picker makes the buttons unresponsive
Test: tested on Mojave
Bug:
78244241,
78309816,
78297334,
Change-Id: Iec44eb93ec4456be6d39d08940bb6ba2050eac7a
Jack Yu [Sat, 21 Apr 2018 01:22:51 +0000 (01:22 +0000)]
Merge "DO NOT MERGE - Set country code even when device is not registered on network" into pi-dev
Yao Chen [Wed, 18 Apr 2018 20:48:02 +0000 (13:48 -0700)]
Add socket listener to statsd. And remove Davey atom.
+ The socket listener is behind a flag. It's disabled until we get sepolicy changes in.
+ Data parsing code is from logd, because we use the same format.
+ Removed Davey from JankTracker because it violates our new sepolicy
Test: manually
Bug:
78239479
Change-Id: Ib17729fbc362cdb13385f780e2d636a95adf9bc3
Jack Yu [Fri, 20 Apr 2018 23:13:51 +0000 (16:13 -0700)]
Fixed CTS CtsUsageStatsTestCases test cases
We used the current RAT to load different carrier configuration to
determine whether the connection of a certain APN type is metered or
not. When the device is switched to IWLAN, the existing default
APN connection on cellular will be marked as unmetered based on
the current logic. This logic will be refactored when IWLAN full mode
is supported in Q.
For the short term workaround for P, we'll just mark default APN as
metered when the device is on IWLAN.
Test: CtsUsageStatsTestCases
Bug:
74540336,
77504652
Change-Id: Ib098e80d2bfd10e74c0b0dacf2cf2f217a66f7e4
Jack Yu [Fri, 13 Apr 2018 21:05:32 +0000 (14:05 -0700)]
DO NOT MERGE - Set country code even when device is not registered on network
Extends the functionality of getNetworkCountryIso to support
no SIM/no service case. When no SIM/no service, it returns
the country code of nearby network (unregistered but cell info
is available to the device).
Test: Manual
Bug:
64335394
Change-Id: Ic7c9e903cc497b7e43b557cb593407ff3e9305b5
Salvador Martinez [Fri, 20 Apr 2018 23:27:25 +0000 (23:27 +0000)]
Merge "Add composite string for battery summary in settings" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 23:27:12 +0000 (23:27 +0000)]
Merge "Add a function to get the secondary split screen bounds" into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 23:24:28 +0000 (23:24 +0000)]
Merge "Extend adoptable override to force on or off." into pi-dev
Andrii Kulian [Fri, 20 Apr 2018 23:21:25 +0000 (23:21 +0000)]
Merge "Don't require post-execution state for onActivityResult" into pi-dev
Garfield Tan [Fri, 20 Apr 2018 23:19:03 +0000 (16:19 -0700)]
Use updated override config to notify listeners.
Bug:
77919579
Test: go/wm-smoke
Change-Id: I961aba587b9e193fbb9351aaa42c5633de49a367
Fyodor Kupolov [Thu, 19 Apr 2018 00:26:43 +0000 (17:26 -0700)]
Enabled aggregated per-uid stats collection by default
Enabled collection of number of calls per-uid. It has relatively small
overhead. Memory impact is minimal and cpu overhead is also small -
250 ns vs 1500 ns with detailed tracking
Detailed tracking is disabled by default. Controlled by
persist.sys.binder_calls_detailed_tracking
Added commands to reset and enable/disable detailed stats:
dumpsys binder_calls_stats --reset
dumpsys binder_calls_stats --enable-detailed-tracking
dumpsys binder_calls_stats --disable-detailed-tracking
Test: manual
Bug:
75318418
Change-Id: I7c1280c025001b6d2b46e4a37bad841712b6da2f
Todd Kennedy [Thu, 19 Apr 2018 22:17:24 +0000 (15:17 -0700)]
Don't consider resources < 0 as invalid
The only invalid resource ID is '0'. All other resource IDs are
valid; even negative resource IDs.
With the introduction of namespaces in AAPT2, resource IDs start with
0x80, 0x81, ... [ie. because Java only supports signed types, they are
considered negative]. For app transition animations negative resource
IDs were incorrectly considered "invalid".
Change-Id: Ic8837975d8811826bb9b6635d44a0ac004daad36
Fixes:
70716301
Test: Manual. Run multi-split APK and see that transition animations work when defined in a split
Test: Manual. Open a textbox and see the keyboard animates correctly.
Jorim Jaggi [Fri, 20 Apr 2018 22:32:59 +0000 (22:32 +0000)]
Merge "Fix issue with translucent animations" into pi-dev
Yao Chen [Wed, 18 Apr 2018 20:45:48 +0000 (13:45 -0700)]
Allow StatsLog to directly write to statsd's socket.
+ Reuse the log_event_list from liblog. StatsLog's binary format remains unchanged
+ Copied socket write code from liblog, including the retry logic.
+ Added build flags to control the StatsLog channel (logd, statsd, or both for debugging)
Bug:
78239479
Test: locally tested and saw logs being written to statsd
Change-Id: I7b1f0069ead00bbf3c29e4bd5b7f363a7ce26abe
Stanley Tng [Fri, 20 Apr 2018 18:54:36 +0000 (11:54 -0700)]
Fixed ConcurrentModificationException with HearingAids profile
Prevent ConcurrentModificationException crash when traversing the
mCachedDevices list by removing entries outside of the loop.
Bug:
78357837
Test: Runs ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest make -j40 RunSettingsLibRoboTests
Change-Id: I27db2dc94a7d0108e9b848d187d4e5bc9f5b567c
Andrew Zeng [Fri, 20 Apr 2018 21:13:16 +0000 (14:13 -0700)]
Add null check for wireless charging animation.
StatusBarManagerService is not started in SystemServer on
wearable devices.
Bug:
78357692
Change-Id: I0e30a4996addb599b8c90aa86b5ccb5ee7d80490
TreeHugger Robot [Fri, 20 Apr 2018 20:40:32 +0000 (20:40 +0000)]
Merge "Give CTS a way to force-poll network stats." into pi-dev
Julia Reynolds [Fri, 20 Apr 2018 20:21:41 +0000 (20:21 +0000)]
Merge "GetActiveNotifications should never return null" into pi-dev
jovanak [Fri, 20 Apr 2018 19:35:09 +0000 (12:35 -0700)]
Fixing issues with alpha 0.0 on parent view.
Parent view should remain with 1.0 alpha.
Container view should fade when switching starts, and come back
to alpha of 1.0 once the switching has been completed.
Fixes:
78309123
Fixes:
78309400
Test: Visual confirmation of various flows. Switching to user with a pin. Canceling bouncer. Switching to user without a pin. Turning the screen off and back on after unlocking the user first.
Change-Id: I17946a1feea20bcb2fd2603c8cba0f2f51acd65d
Andrii Kulian [Thu, 19 Apr 2018 22:29:22 +0000 (15:29 -0700)]
Don't require post-execution state for onActivityResult
According to the documentation, onActivityResult() should be called
immediately before onResume(). This, however, was not always the case
in previous releases and fixing this caused some app compatibility
issues.
This CL removes required post execution state for ActivityResultItem.
Bug:
77695691
Test: ActivityLifecycleTests
Change-Id: Id8c02e9b49f9758aac616e37948570722d802de8
TreeHugger Robot [Fri, 20 Apr 2018 19:31:42 +0000 (19:31 +0000)]
Merge "Catch double unbind of dead service" into pi-dev
TreeHugger Robot [Fri, 20 Apr 2018 19:29:15 +0000 (19:29 +0000)]
Merge "Fix layering of non-IME target windows in IME-target app in split-screen." into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 19:11:20 +0000 (13:11 -0600)]
Extend adoptable override to force on or off.
Virtual disks are adoptable by default, but for debugging purposes
we want to treat them as unadoptable in some cases. Add the ability
for the "sm" shell command to force on/off, or return to default.
Bug:
77849654,
74132243
Test: manual
Change-Id: Ieda317396624ca081e5dd9568795483f684f9297
Matthew Ng [Thu, 19 Apr 2018 00:14:22 +0000 (17:14 -0700)]
Add a function to get the secondary split screen bounds
Access through the overview proxy to get the bounds of the secondary
split screen app when split screen is enabled.
Test: manual
Fixes:
77678123
Change-Id: Iabbcf30dc7194ac6fff9b4d7cad8a9fe5ee48a2b
TreeHugger Robot [Fri, 20 Apr 2018 18:59:11 +0000 (18:59 +0000)]
Merge "Fix fraction and dimension type in Resource.proto" into pi-dev
Julia Reynolds [Fri, 20 Apr 2018 17:33:36 +0000 (13:33 -0400)]
GetActiveNotifications should never return null
Test: runtest systemui-notification
Change-Id: I53e7a4a2a9f05318dd97ffb096658a4f8bcebc8a
Fixes:
70396956
TreeHugger Robot [Fri, 20 Apr 2018 18:44:02 +0000 (18:44 +0000)]
Merge "SmartLinkify - handle keyboard clicks" into pi-dev
Jeff Sharkey [Fri, 20 Apr 2018 16:59:09 +0000 (10:59 -0600)]
Give CTS a way to force-poll network stats.
Collecting network statistics is pretty heavy, which is why we're
throttling callers. However, to keep CTS running fast, we provide a
way for tests to force a poll event, instead of making them wait for
the throttle timeout.
Bug:
77908520
Test: atest cts/tests/tests/app.usage/src/android/app/usage/cts/NetworkUsageStatsTest.java
Change-Id: Ia792f0cd495023366ff8c4839df54e7da2ae8331
Michael Wachenschwanz [Thu, 19 Apr 2018 01:52:47 +0000 (18:52 -0700)]
Fix fraction and dimension type in Resource.proto
Change fraction and dimnesion type from float to uint32
Change-Id: I641dc42cf7b6bdd8bc16c8cdbd573ec3281a084a
Fixes:
78182701
Test: aapt2_tests