OSDN Git Service
TreeHugger Robot [Tue, 24 Apr 2018 10:59:50 +0000 (10:59 +0000)]
Merge "Clarify SystemUpdatePolicy" into pi-dev
Chalard Jean [Tue, 24 Apr 2018 09:53:32 +0000 (09:53 +0000)]
Merge changes I0cd83a93,I03ae2bbb into pi-dev
* changes:
Make sure getActiveNetwork is consistent with default callbacks
Add tests for getActiveNetwork.
Selim Cinek [Tue, 24 Apr 2018 09:10:38 +0000 (09:10 +0000)]
Merge changes from topic "notification_reply_action" into pi-dev
* changes:
Cleaned up the paddings of the messaging layout and smart replies
Changed the size of the largeIcon
Moved the disabling from alpha to manual color blending
Updated the color of the reply button to be more neutral
Updated the reply icon
Disabled reply action when pending intents are cancelled
Split the reply icon permanently from the right icon
TreeHugger Robot [Tue, 24 Apr 2018 08:51:56 +0000 (08:51 +0000)]
Merge "Add spinner for smart replies." into pi-dev
Chalard Jean [Wed, 18 Apr 2018 11:18:38 +0000 (20:18 +0900)]
Make sure getActiveNetwork is consistent with default callbacks
Bug:
77737389
Test: runtest framework-net
new test don't pass without the main code change, but they
do with it
Change-Id: I0cd83a935ab0b349aa47e065b830e5a43ab9a091
Nicolas Geoffray [Tue, 24 Apr 2018 08:30:12 +0000 (08:30 +0000)]
Merge "Add light grey APIs." into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 08:07:27 +0000 (08:07 +0000)]
Merge "Log package name when showing targetSdkVersion warning" into pi-dev
Przemyslaw Szczepaniak [Mon, 23 Apr 2018 12:17:13 +0000 (13:17 +0100)]
Log package name when showing targetSdkVersion warning
Test: manual verification
Bug:
78332004
Change-Id: Ie91ac06e3a973edf655362b836698185a0aa7602
TreeHugger Robot [Tue, 24 Apr 2018 06:57:34 +0000 (06:57 +0000)]
Merge "Check provider exists and is enabled when request location" into pi-dev
Selim Cinek [Mon, 23 Apr 2018 10:00:54 +0000 (18:00 +0800)]
Cleaned up the paddings of the messaging layout and smart replies
Refactored the code such that the reply icon's inset was substracted
from the overall paddings to make all of them consistent. This
will also help in the future as we don't have to update those
paddings manually anymore.
Test: test all sorts of combinations with Notify
Change-Id: I8c6c9951bc73c88d95cb443c8e618c7adca7ebd3
Fixes:
78441535
Chalard Jean [Wed, 18 Apr 2018 10:18:58 +0000 (19:18 +0900)]
Add tests for getActiveNetwork.
Bug:
77737389
Test: runtest frameworks-net
Change-Id: I03ae2bbb08559f2cd44979e291c1f5d50eb215da
Selim Cinek [Mon, 23 Apr 2018 08:09:23 +0000 (16:09 +0800)]
Changed the size of the largeIcon
Also tunes the paddings with largeIcons more
Test: test margins for all templates, ensure nice wrapping
Change-Id: I9ace23c2a6b38fdf25e46fd55d6848b8922851a3
Fixes:
76415894
Selim Cinek [Thu, 19 Apr 2018 02:24:39 +0000 (10:24 +0800)]
Moved the disabling from alpha to manual color blending
The Transformations don't preserve alpha currently and it's
hard to fix without the risk of introducing regressions.
We instead blend the color manually now.
Change-Id: Ib9c209295529c5e04564a3faed74160914951152
Fixes:
77811784
Selim Cinek [Thu, 19 Apr 2018 01:19:15 +0000 (09:19 +0800)]
Updated the color of the reply button to be more neutral
The primaryTextColor wasn't a good fit, because it was
drawing too much attention being pure black. We're now
taking the default color instead. It's also used for
active permissions now.
Test: add notification, look at reply button.
Change-Id: If390c66e927a92a1115250abb7254fafe81b054c
Fixes:
72750728
Selim Cinek [Wed, 18 Apr 2018 08:01:07 +0000 (16:01 +0800)]
Updated the reply icon
Change-Id: I0f8e91630cedefc6d9f44ded421243b719db7e6c
Fixes:
77244755
Test: observe new icon on notificaction
Selim Cinek [Wed, 18 Apr 2018 06:34:27 +0000 (14:34 +0800)]
Disabled reply action when pending intents are cancelled
Previously the user could open inline reply even when the
action was already cancelled. This also enables listening
to pending intent cancellations.
Test: manual
Fixes:
77811784
Change-Id: I4ae164081c6abdeb60a8e78d61bf5e4f26cca1d3
TreeHugger Robot [Tue, 24 Apr 2018 04:01:56 +0000 (04:01 +0000)]
Merge "Update Java doc of GnssMeasurementEvent#STATUS_NOT_ALLOWED" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 03:56:20 +0000 (03:56 +0000)]
Merge "Refactor GnssBatchingProvider" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 03:14:04 +0000 (03:14 +0000)]
Merge "Allow overriding the compile SDK" into pi-dev
Shawn Lin [Tue, 24 Apr 2018 02:46:28 +0000 (02:46 +0000)]
Merge "Fix the art work of lockscreen cannot be removed" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 01:36:13 +0000 (01:36 +0000)]
Merge "PackageManager: Skip dexopt on install for debuggable apps" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 00:46:56 +0000 (00:46 +0000)]
Merge "Update title for SysUI battery warning" into pi-dev
Rob Carr [Tue, 24 Apr 2018 00:27:36 +0000 (00:27 +0000)]
Merge "Destroy app-less surfaces when becoming invisible with no animation." into pi-dev
Bryce Lee [Tue, 24 Apr 2018 00:25:42 +0000 (00:25 +0000)]
Merge "Do not reference TaskRecord's intent without checking for null." into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 00:17:41 +0000 (00:17 +0000)]
Merge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 00:11:43 +0000 (00:11 +0000)]
Merge "Disable hotspot when data saver is on." into pi-dev
Winson Chung [Mon, 23 Apr 2018 23:59:54 +0000 (23:59 +0000)]
Merge "Expose API to hide the IME during a recents animation" into pi-dev
Jayachandran Chinnakkannu [Mon, 23 Apr 2018 23:59:29 +0000 (23:59 +0000)]
Merge "Data stall intent definition" into pi-dev
Winson Chung [Fri, 20 Apr 2018 22:58:18 +0000 (15:58 -0700)]
Expose API to hide the IME during a recents animation
Bug:
73285089
Test: Swipe up from app with IME open, ensure that it closes
Change-Id: I95ce59291f11285c853e8b3029638119c21f7e38
Chong Zhang [Mon, 23 Apr 2018 23:15:33 +0000 (23:15 +0000)]
Merge "Move SchedulingPolicyService init code to SystemServerInitThreadPool" into pi-dev
Salvador Martinez [Mon, 23 Apr 2018 23:13:19 +0000 (16:13 -0700)]
Update title for SysUI battery warning
We're changing the text from "battery is low" to talk about the
battery running out soon instead so users are not confused if the
time based trigger occurs at higher battery percentages.
Test: robotests pass
Bug:
77587724
Change-Id: Ib7b2c507e150e06e307f810f89c6da407c77990a
TreeHugger Robot [Mon, 23 Apr 2018 23:05:31 +0000 (23:05 +0000)]
Merge "Reset binder call stats along with batterystats" into pi-dev
Andreas Gampe [Mon, 23 Apr 2018 15:59:12 +0000 (08:59 -0700)]
PackageManager: Skip dexopt on install for debuggable apps
To reduce install-to-started latency, skip dexopt at install-time
for debuggable apps. This is a conscious tradeoff, as the app
will run slower, and do repeated work on every startup. However,
for debuggable apps, turnaround time is more important.
(cherry picked from commit
58adf3a8eead2d7594fc1ac15aaed6a5760e7ba4)
Bug:
78200989
Test: m
Test: Device boots
Test: CTS (wrap & JVMTI)
Merged-In: I749934e794b0c89d72ea8ee413b845e7804de184
Change-Id: I749934e794b0c89d72ea8ee413b845e7804de184
Amith Yamasani [Mon, 23 Apr 2018 23:01:13 +0000 (23:01 +0000)]
Merge "Add reason to device idle history dump" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 22:41:50 +0000 (22:41 +0000)]
Merge "Update surface position once created." into pi-dev
Amin Shaikh [Mon, 23 Apr 2018 22:29:11 +0000 (18:29 -0400)]
Disable hotspot when data saver is on.
Do not process the QS tap on hotspot when data saver is on. The
secondary text already states that "Data Saver is on" and the tile is
greyed out.
Change-Id: Ied86aba4199c94e68cc2cebf7ccd888c8a04dfb8
Fixes:
77860936
Test: visual
Winson Chung [Mon, 23 Apr 2018 22:16:01 +0000 (22:16 +0000)]
Merge "Add windowing mode to task snapshot." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 22:08:31 +0000 (22:08 +0000)]
Merge "Revert "Revert "Clear out tuner prefs since it is disabled""" into pi-dev
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
Fyodor Kupolov [Mon, 23 Apr 2018 19:44:51 +0000 (12:44 -0700)]
Reset binder call stats along with batterystats
Test: dumpsys batterystats --reset && dumpsys binder_calls_stats
Bug:
75318418
Change-Id: Ibdbd95468bba876b1f91357b86f7a8d45af2daed
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
Jayachandran C [Fri, 6 Apr 2018 21:42:32 +0000 (14:42 -0700)]
Data stall intent definition
Define a protected intent to notify the data stall recovery attempts.
Test: Manual
Bug:
77293796
Change-Id: Ic8dfb12662d53e896f9d0b60329e762ce9460ba6
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
Winson Chung [Fri, 20 Apr 2018 22:54:51 +0000 (15:54 -0700)]
Add windowing mode to task snapshot.
Bug:
78155683
Test: atest FrameworksServicesTests:TaskSnapshotPersisterLoaderTest
Change-Id: I4e562d818416a30d6759baef37c74b6d9c514a00
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
Amith Yamasani [Mon, 23 Apr 2018 19:19:34 +0000 (12:19 -0700)]
Add reason to device idle history dump
Logging to detect why device came out of doze-light
Bug:
78454609
Test: dumpsys deviceidle
Change-Id: Iaca6f26b412e681747262117bf1b11c4dabe5a05
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
Kenny Guy [Fri, 6 Apr 2018 15:20:16 +0000 (16:20 +0100)]
Add spinner for smart replies.
Add a spinner to MessagingGroup that is enabled
when the user has clicked on a smart reply.
Bug:
73607490
Test: atest SystemUiTests
Change-Id: I4d892c19b5df2b443761819929a83f016967e217
Bryce Lee [Mon, 23 Apr 2018 17:54:11 +0000 (10:54 -0700)]
Do not reference TaskRecord's intent without checking for null.
It is possible for a TaskRecord's intent to be set to null. We should
always check this before referencing it.
Change-Id: Id0dd18dc694549c348f1cd7d2dfe02915c1c7f92
Fixes:
77457970
Test: atest FrameworksServicesTests:com.android.server.am.TaskRecordTests#testReturnsToHomeStack
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
Chong Zhang [Sat, 21 Apr 2018 00:09:14 +0000 (17:09 -0700)]
Move SchedulingPolicyService init code to SystemServerInitThreadPool
To avoid slowing down service start time.
Also restrict cpuset change api use to mediaserve only.
bug:
78307194
Test:
- boottime test in go/atest-perf:
atest google/perf/boottime/boottime-test
- Manual testing: play 1080pHDR content in modified exoplayer (that
uses soft MediaCodec), verify media.codec is put into top-app; then
kill system_server process during playback (using adb shell stop
&& adb shell start), and verify after restart that media.codec
is put back into fg.
Change-Id: If761bd75a7ed893811db3f44bfd84ee3095e23e2
Jason Monk [Mon, 23 Apr 2018 16:51:36 +0000 (12:51 -0400)]
Revert "Revert "Clear out tuner prefs since it is disabled""
Now without wiping user settings!
This reverts commit
a3e5552c475c328fcfb385ab4bdbb34cb556f5fb.
Test: build, push, see QS tiles not reset
Fixes:
74851117
Change-Id: I34c98da2d96f5d4f0774acf106a80a7b27391ca7
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
Nicolas Geoffray [Mon, 23 Apr 2018 15:13:42 +0000 (16:13 +0100)]
Add light grey APIs.
bug:
78142888
Test: m
Change-Id: If251bd9af25a636946ef965baee354b1b9067bf5
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
Rubin Xu [Wed, 18 Apr 2018 14:18:12 +0000 (15:18 +0100)]
Clarify SystemUpdatePolicy
Bug:
69734091
Test: make ds-docs
Change-Id: Ibd40f4c6bdc2e70ffe41c785c5a5b389fbeabd78
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
shawnlin [Fri, 20 Apr 2018 13:42:42 +0000 (21:42 +0800)]
Fix the art work of lockscreen cannot be removed
The root cause is that mMediaNotificationKey is cleared right after it is set.
It makes the media art work cannot be cleared since there is no
notification that match the mMediaNotificationKey which is already
cleared to null.
Only clear media session related data inside the controller check.
Test: runtest systemui
Test: manual
Change-Id: Iae43c502b90f73e57fae7150e15ef89eb18b096c
Fixes:
78204513
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