Commit Graph

365928 Commits

Author SHA1 Message Date
Wale Ogunwale
554366239f 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
2018-04-24 19:44:48 +00:00
Jean-Michel Trivi
2a28126af9 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
2018-04-24 19:31:18 +00:00
Chris Tate
ed9f3ef958 Merge "Don't automatically decline tracking jobs with met initial delays" into pi-dev 2018-04-24 19:25:23 +00:00
Fyodor Kupolov
76372003a6 Merge "Use log.wtf on debug devices if property cannot be set" into pi-dev 2018-04-24 17:37:31 +00:00
TreeHugger Robot
853af140f9 Merge "Move status bar accessibility title to pane" into pi-dev 2018-04-24 17:35:22 +00:00
TreeHugger Robot
cd8d257d42 Merge "config.xml: Add config flag for filtering DBS scans" into pi-dev 2018-04-24 17:06:09 +00:00
Winson Chung
8faa90beeb Merge "Fix NPE when deciding whether to defer task stack animation." into pi-dev 2018-04-24 16:39:07 +00:00
Mathew Inwood
02033386c2 Merge "Add presubmit hook for hidden API lists." into pi-dev 2018-04-24 16:32:17 +00:00
Andrew Hsieh
d6afc52a9c Merge "pm: skip scan-as-privileged for OMR1 vendors" into pi-dev 2018-04-24 16:05:23 +00:00
Mathew Inwood
e5dc64d428 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
2018-04-24 15:15:13 +01:00
TreeHugger Robot
fd935d3a12 Merge "Keyguard: Don't lock when phone process crashes" into pi-dev 2018-04-24 13:40:45 +00:00
TreeHugger Robot
6021921b94 Merge "Add more hidden APIs to light greylist" into pi-dev 2018-04-24 13:34:10 +00:00
TreeHugger Robot
57e77be49d Merge "Edit dnd icon in volume dialog" into pi-dev 2018-04-24 13:34:05 +00:00
TreeHugger Robot
66b6d1c3bc Merge "Make password history hashing more secure" into pi-dev 2018-04-24 13:06:57 +00:00
TreeHugger Robot
4a7913c268 Merge "update wifi unit test script" into pi-dev 2018-04-24 12:45:34 +00:00
Adrian Roos
6628d74eb4 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
2018-04-24 14:21:43 +02:00
TreeHugger Robot
ad8159bea0 Merge "Check self permission in BackupManager#isBackupServiceActive" into pi-dev 2018-04-24 12:12:53 +00:00
Jorim Jaggi
0bbd1f573f Merge "Only allow using PendingRemAnimRegistry on top launched activity" into pi-dev 2018-04-24 11:32:02 +00:00
TreeHugger Robot
4019c39405 Merge "Clarify SystemUpdatePolicy" into pi-dev 2018-04-24 10:59:50 +00:00
David Brazdil
1b0c0a3e52 Add more hidden APIs to light greylist
Bug: 78242776
Test: make
Merged-In: I3e1f6acd805ca73509a896066a336432f29d0c87
Change-Id: Ieb2eb62201a6f270afd76ae3f6e5ca6226dd57a6
2018-04-24 10:49:59 +00:00
Bernardo Rufino
2bf65c6e5c 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
2018-04-24 11:41:13 +01:00
Chalard Jean
411e79b8b0 Merge changes I0cd83a93,I03ae2bbb into pi-dev
* changes:
  Make sure getActiveNetwork is consistent with default callbacks
  Add tests for getActiveNetwork.
2018-04-24 09:53:32 +00:00
Selim Cinek
53790c1c8f 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
2018-04-24 09:10:38 +00:00
TreeHugger Robot
5f18904a00 Merge "Add spinner for smart replies." into pi-dev 2018-04-24 08:51:56 +00:00
Chalard Jean
26400490a2 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
2018-04-24 17:32:00 +09:00
Nicolas Geoffray
95b7e63103 Merge "Add light grey APIs." into pi-dev 2018-04-24 08:30:12 +00:00
TreeHugger Robot
9d4d6e9d1a Merge "Log package name when showing targetSdkVersion warning" into pi-dev 2018-04-24 08:07:27 +00:00
Przemyslaw Szczepaniak
5e0612cdaa Log package name when showing targetSdkVersion warning
Test: manual verification
Bug: 78332004
Change-Id: Ie91ac06e3a973edf655362b836698185a0aa7602
2018-04-24 07:01:46 +00:00
TreeHugger Robot
4c958d0e6b Merge "Check provider exists and is enabled when request location" into pi-dev 2018-04-24 06:57:34 +00:00
Selim Cinek
1c72fa0249 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
2018-04-24 14:33:29 +08:00
Chalard Jean
fb0c87e8b4 Add tests for getActiveNetwork.
Bug: 77737389
Test: runtest frameworks-net
Change-Id: I03ae2bbb08559f2cd44979e291c1f5d50eb215da
2018-04-24 15:23:28 +09:00
Selim Cinek
1655085dea 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
2018-04-24 13:22:04 +08:00
Selim Cinek
019d71ecfc 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
2018-04-24 13:22:02 +08:00
Selim Cinek
4717d862a0 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
2018-04-24 13:05:56 +08:00
Selim Cinek
276bd3b63e Updated the reply icon
Change-Id: I0f8e91630cedefc6d9f44ded421243b719db7e6c
Fixes: 77244755
Test: observe new icon on notificaction
2018-04-24 13:05:56 +08:00
Selim Cinek
d83203cde4 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
2018-04-24 13:05:53 +08:00
TreeHugger Robot
d5a1bb621a Merge "Update Java doc of GnssMeasurementEvent#STATUS_NOT_ALLOWED" into pi-dev 2018-04-24 04:01:56 +00:00
TreeHugger Robot
4257db35fe Merge "Refactor GnssBatchingProvider" into pi-dev 2018-04-24 03:56:20 +00:00
TreeHugger Robot
fd5166ddac Merge "Allow overriding the compile SDK" into pi-dev 2018-04-24 03:14:04 +00:00
Shawn Lin
ab416a115a Merge "Fix the art work of lockscreen cannot be removed" into pi-dev 2018-04-24 02:46:28 +00:00
Fyodor Kupolov
eb55fb60c0 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
2018-04-23 19:03:50 -07:00
TreeHugger Robot
f22fd65a25 Merge "PackageManager: Skip dexopt on install for debuggable apps" into pi-dev 2018-04-24 01:36:13 +00:00
Justin Yun
45381e3448 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
2018-04-24 10:12:28 +09:00
TreeHugger Robot
0545eaefdd Merge "Update title for SysUI battery warning" into pi-dev 2018-04-24 00:46:56 +00:00
Rob Carr
d7681ccd25 Merge "Destroy app-less surfaces when becoming invisible with no animation." into pi-dev 2018-04-24 00:27:36 +00:00
Bryce Lee
a16cc4215a Merge "Do not reference TaskRecord's intent without checking for null." into pi-dev 2018-04-24 00:25:42 +00:00
TreeHugger Robot
694f60005e Merge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev 2018-04-24 00:17:41 +00:00
TreeHugger Robot
be99e9e60d Merge "Disable hotspot when data saver is on." into pi-dev 2018-04-24 00:11:43 +00:00
Christopher Tate
63fd529be0 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
2018-04-23 17:09:32 -07:00
Winson Chung
6fab40d82c Merge "Expose API to hide the IME during a recents animation" into pi-dev 2018-04-23 23:59:54 +00:00