OSDN Git Service
Eran Messeri [Wed, 25 Apr 2018 09:28:15 +0000 (09:28 +0000)]
Merge "Remove unnecessary WTFs from password state check" into pi-dev
Yu-Han Yang [Wed, 25 Apr 2018 03:55:08 +0000 (03:55 +0000)]
Merge "Refactor GnssGeofenceProvider" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 03:37:46 +0000 (03:37 +0000)]
Merge "Extract interface for the TemperatureView" into pi-dev
Shuo Qian [Tue, 24 Apr 2018 23:54:10 +0000 (23:54 +0000)]
Merge "Revert "Revert "Remove the OEM hook implementation and usage""" into pi-dev
Robert Greenwalt [Tue, 24 Apr 2018 00:33:24 +0000 (00:33 +0000)]
Revert "Revert "Remove the OEM hook implementation and usage""
This reverts commit
7cfc5cda2f2a382a3eabd1c5382c412f2d1dedcf.
Reason for revert: Causes a critical error on Cuttlefish.
Bug:
78299964
Change-Id: Icb06aea5eb42fd156a967c4d4e39aefc51d91cf4
TreeHugger Robot [Tue, 24 Apr 2018 23:01:43 +0000 (23:01 +0000)]
Merge "Allow for the lock screen to have a different set of nav buttons" into pi-dev
Rob Carr [Tue, 24 Apr 2018 22:32:14 +0000 (22:32 +0000)]
Merge "Fix destruction of preserved surfaces for non app windows." into pi-dev
Winson Chung [Tue, 24 Apr 2018 21:21:26 +0000 (21:21 +0000)]
Merge "Don't call into AM finish-recents-animation while holding onto the WM lock" into pi-dev
Lorenzo Colitti [Tue, 24 Apr 2018 21:20:25 +0000 (21:20 +0000)]
Merge "Actually @hide unwanted capability methods." into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 21:03:57 +0000 (21:03 +0000)]
Merge "Added OWNERS file for wm package." into pi-dev
Leon Scroggins [Tue, 24 Apr 2018 20:01:22 +0000 (20:01 +0000)]
Merge "Attach color space after performing a readback" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 19:58:53 +0000 (19:58 +0000)]
Merge "Fix rounding of padding in NinePatchDrawable" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 19:53:49 +0000 (19:53 +0000)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" into pi-dev
Ryan Mitchell [Tue, 24 Apr 2018 19:53:33 +0000 (19:53 +0000)]
Merge "RRO: Update target overlays after install" into pi-dev
Wale Ogunwale [Tue, 24 Apr 2018 19:39:26 +0000 (12:39 -0700)]
Added OWNERS file for wm package.
Why? Because I don't want to worry about things like ag/
3760423
Test: N/A
Bug: 0
Change-Id: I230b7e8aead53395da5c58aa27ed547cf06fb327
Jean-Michel Trivi [Tue, 24 Apr 2018 00:22:55 +0000 (17:22 -0700)]
AudioPlaybackConfiguration release/death: notify listeners
When a player dies or is released, dispatch an update to the
AudioPlaybackConfiguration listeners.
Bug:
70195346
Test: atest AudioPlaybackConfiguration#testCallbackMediaPlayerRelease
Change-Id: Id0b62abb32879d3166da26f20a334d0447183ac0
Chris Tate [Tue, 24 Apr 2018 19:25:23 +0000 (19:25 +0000)]
Merge "Don't automatically decline tracking jobs with met initial delays" into pi-dev
Brad Stenning [Sat, 14 Apr 2018 05:52:39 +0000 (22:52 -0700)]
Allow for the lock screen to have a different set of nav buttons
Bug:
74446022
Test: Manually. Test by switching users that have PINs set
Change-Id: Id956b0cfe76eba82235b82080c755489bdf67938
Eran Messeri [Mon, 23 Apr 2018 15:06:04 +0000 (16:06 +0100)]
Remove unnecessary WTFs from password state check
It is possible to have null PasswordMetrics object for a given user -
if, for example, the user never had a password set.
Do not WTF in that case.
Bug:
78191197
Test: That it compiles.
Change-Id: I807c2755890b0772e295b4cb0095cac1bf2d0aef
Fyodor Kupolov [Tue, 24 Apr 2018 17:37:31 +0000 (17:37 +0000)]
Merge "Use log.wtf on debug devices if property cannot be set" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 17:35:22 +0000 (17:35 +0000)]
Merge "Move status bar accessibility title to pane" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 17:06:09 +0000 (17:06 +0000)]
Merge "config.xml: Add config flag for filtering DBS scans" into pi-dev
Ryan Mitchell [Fri, 20 Apr 2018 01:02:14 +0000 (18:02 -0700)]
RRO: Update target overlays after install
Newly installed apps were not having the their set of enabled overlays
set correctly. This allows all newly installed packages to update their
set of enabled overlays in the package manager.
Bug:
77279210
Bug:
65319218
Change-Id: I82a10e96e9869bb6fc1ad00305ec4b6cfb17483b
Test: Manual validation of b/
77279210 and duplicates. Also enabled a previously failing
PTS test in ag/
3941515 within the same topic.
Winson Chung [Tue, 24 Apr 2018 16:39:07 +0000 (16:39 +0000)]
Merge "Fix NPE when deciding whether to defer task stack animation." into pi-dev
Mathew Inwood [Tue, 24 Apr 2018 16:32:17 +0000 (16:32 +0000)]
Merge "Add presubmit hook for hidden API lists." into pi-dev
Andrew Hsieh [Tue, 24 Apr 2018 16:05:23 +0000 (16:05 +0000)]
Merge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 15:13:14 +0000 (16:13 +0100)]
Add presubmit hook for hidden API lists.
Check that they're sorted as expected and contain no duplicates.
The sort order now uses:
$ LC_COLLATE=C sort -f
So that non-alphanumeric characters are not ignored, giving a more
intuitive sort order. the '-f' means ignore case.
Also sort the existing lists accordingly.
Test: repo upload
Bug:
64382372
Merged-In: I52b884da33a9a46455df6747a215683d9d3c3218
Change-Id: I4cdd3bc5c11be91a9a3f678580af49ac67f3c968
TreeHugger Robot [Tue, 24 Apr 2018 13:40:45 +0000 (13:40 +0000)]
Merge "Keyguard: Don't lock when phone process crashes" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:34:10 +0000 (13:34 +0000)]
Merge "Add more hidden APIs to light greylist" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:34:05 +0000 (13:34 +0000)]
Merge "Edit dnd icon in volume dialog" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 13:06:57 +0000 (13:06 +0000)]
Merge "Make password history hashing more secure" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 12:45:34 +0000 (12:45 +0000)]
Merge "update wifi unit test script" into pi-dev
Adrian Roos [Tue, 24 Apr 2018 12:21:39 +0000 (14:21 +0200)]
Keyguard: Don't lock when phone process crashes
Fixed an issue where the keyguard locked in response to the
phone process crashing. Since that's not avoidable for the
moment, don't treat unknown sim states as absent.
Bug:
78060670
Test: adb shell kill `pid com.android.phone`; verify that the phone did not lock
Change-Id: Ic5aa51d3b0521740b828d934c6653f8d5ae6380a
TreeHugger Robot [Tue, 24 Apr 2018 12:12:53 +0000 (12:12 +0000)]
Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev
Jorim Jaggi [Tue, 24 Apr 2018 11:32:02 +0000 (11:32 +0000)]
Merge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 10:59:50 +0000 (10:59 +0000)]
Merge "Clarify SystemUpdatePolicy" into pi-dev
David Brazdil [Mon, 23 Apr 2018 16:54:24 +0000 (17:54 +0100)]
Add more hidden APIs to light greylist
Bug:
78242776
Test: make
Merged-In: I3e1f6acd805ca73509a896066a336432f29d0c87
Change-Id: Ieb2eb62201a6f270afd76ae3f6e5ca6226dd57a6
Bernardo Rufino [Tue, 24 Apr 2018 10:29:02 +0000 (11:29 +0100)]
Check self permission in BackupManager#isBackupServiceActive
Old method only checked for IPC caller, method isn't an IPC, adding
check for self permission as well.
Bug:
78467264
Test: atest com.google.android.gts.devicepolicy.DeviceOwnerTest#testBackupServiceActive
Change-Id: If9eed90f2deaaf1a4f2376fdf1881e62ee8954fb
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
Yu-Han Yang [Tue, 17 Apr 2018 05:11:31 +0000 (22:11 -0700)]
Refactor GnssGeofenceProvider
Bug:
77974401
Change-Id: Id377b14f9f6c47e031a863ee9096c9b5c66ebf08
Fixes:
77974401
Test: m -j ROBOTEST_FILTER=GnssGeofenceProviderTest RunFrameworksServicesRoboTests
Lorenzo Colitti [Fri, 20 Apr 2018 08:53:29 +0000 (17:53 +0900)]
Actually @hide unwanted capability methods.
Bug:
77601789
Test: builds, boots
Test: make doc-comment-check-docs
Change-Id: I7a913b83ab5110047d187564b3a1b0bbe1631942
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
Fyodor Kupolov [Fri, 13 Apr 2018 22:54:42 +0000 (15:54 -0700)]
Use log.wtf on debug devices if property cannot be set
This can be useful to detect problems in enabling experiments
Test: Manual
Bug:
73018322
Change-Id: Ide6d7f1476a1b775d449623a96a368cbb5f8d799
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
Justin Yun [Mon, 23 Apr 2018 07:36:41 +0000 (16:36 +0900)]
pm: skip scan-as-privileged for OMR1 vendors
Skip scan-as-privileged for OMR1 vendors because OMR1 could not
define privileged apps in vendor partition.
Bug:
78105955
Bug:
78134108
Test: Flash P-GSI on OMR1 device and check boot
Change-Id: I968e779ea66587563907589ad22d1191a89fe463
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
Christopher Tate [Tue, 24 Apr 2018 00:05:58 +0000 (17:05 -0700)]
Don't automatically decline tracking jobs with met initial delays
Just an already-satisfied initial delay doesn't let us decline to
track the (new) job: it might not actually be runnable yet, and
if it has a deadline as well, we definitely need to track it.
If it has no deadline, though, then a met initial delay means
that the TimeController can indeed safely just mark the delay
constraint as met and stop tracking it.
Change-Id: I20919fa384c1fcb1c619efb8f05b8ba856ed44b3
Fixes:
77233219
Test: atest CtsJobSchedulerTestCases:TimingConstraintsTest
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 21:58:57 +0000 (14:58 -0700)]
Don't call into AM finish-recents-animation while holding onto the WM lock
- By default, only call back to AM to finish the animation from callers
outside of the system, when we are not holding the WM lock
Bug:
78258614
Test: Not really testable
Change-Id: I89966b1db165b39742a550f3e315bda7da7ce586
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
Rebecca Silberstein [Mon, 23 Apr 2018 22:54:36 +0000 (15:54 -0700)]
update wifi unit test script
Need to add "--no-hidden-api-checks" to unit test script.
Verified by running runtests
Bug:
78465388
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I916a2870bde2cbfe1966d18a0f7a13def2bd1ce7
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
Hansong Zhang [Mon, 23 Apr 2018 18:17:17 +0000 (11:17 -0700)]
BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF
Add dumpsys logs for state transition from BLE_ON to OFF. This can be
either from location settings off or airplane mode enabled.
Test: manual
Bug:
74090881
Change-Id: I1f6cfe691b359591af60c3be2e015bec5d3859e8
(cherry picked from commit
917f4b332e2c21f074e5f50bf598ff36d77f2945)
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
Leon Scroggins III [Mon, 23 Apr 2018 19:52:22 +0000 (15:52 -0400)]
Attach color space after performing a readback
Bug:
78463311
Test: I28713c3e5ce38dea15c75542801f9aef0e5b5b0a
Bitmap::getSkBitmap() is used by Bitmap#compress before encoding. If the
Bitmap has Config HARDWARE, we have to do a readback first. We cannot
necessarily do the readback using the SkColorSpace of the Bitmap, since
that requires creating an SkSurface, which does not support all
SkColorSpaces. Instead, continue using nullptr for the readback, and
then change the info and reattach the SkPixelRef.
This fixes a bug where encoding a non-SRGB HARDWARE Bitmap and then
decoding it results in a Bitmap with the wrong ColorSpace.
Change-Id: If55b2dbfeb17d81ceaf9594b32ed69b6a9058f06
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