Commit Graph

583956 Commits

Author SHA1 Message Date
Soonil Nagarkar
43a368dc19 Fix bug in getCurrentLocation cancellation
Cancellation was not being propagated to the system server due to a
misunderstanding on how CancellationSignal functions. There is no
noticable impact for the user, as cancellation did properly prevent any
further locations, however this would have resulted in limited extra
power draw since the system server would not have canceled the
associated provider location request. Impact is limited since
getCurrentLocation() was limited to a 30s duration anyways.

Bug: 168666216
Test: manual + presubmits
Change-Id: I5c77db4cc56cce1b984587f65d2bcfb488436bb8
2020-09-21 14:15:47 -07:00
TreeHugger Robot
191ab1cb8a Merge "Change PIP exit transition to a scale and uncrop" 2020-09-18 21:27:12 +00:00
Michael Wachenschwanz
18df64b2e2 Merge "Prevent default wellbeing app from falling below WORKING_SET bucket" 2020-09-18 21:09:09 +00:00
TreeHugger Robot
c4c1de307e Merge "Refactor ListenerMultiplexer with new capabilities" 2020-09-18 21:06:02 +00:00
TreeHugger Robot
afded3d0db [automerger skipped] Merge "Only filter when remote session has associated notification" into rvc-qpr-dev am: c6095a415b am: 74606dde25 -s ours
am skip reason: Change-Id Ifc404be2de6f5f87a1d43e3b51d3ca00c73c6e06 with SHA-1 8cc72bdf3a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12640464

Change-Id: I3a749b3b513aeba121749e1428681f33fb55428a
2020-09-18 20:49:24 +00:00
Brad Ebinger
2daf0bee15 [automerger skipped] Merge "Customize the service class for Call barring" into rvc-qpr-dev am: 3d81f3e80c -s ours am: 64fda3af13 -s ours
am skip reason: Change-Id Ibce22d0d340ce648c0b6df411266d1c4fe537013 with SHA-1 03a1471e1e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12630777

Change-Id: I1537b3a0f52047dfde272a8802f282e696542858
2020-09-18 20:46:18 +00:00
Maryam Karimzadehgan
7a5aa1f0dc Merge "Use ML model for the Back Gesture in EdgeBackGestureHandler." 2020-09-18 20:38:59 +00:00
TreeHugger Robot
74606dde25 Merge "Only filter when remote session has associated notification" into rvc-qpr-dev am: c6095a415b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12640464

Change-Id: Ic6e4a3d164bbe0e4585f8e74f863057034fb76f2
2020-09-18 20:17:32 +00:00
Brad Ebinger
64fda3af13 [automerger skipped] Merge "Customize the service class for Call barring" into rvc-qpr-dev am: 3d81f3e80c -s ours
am skip reason: Change-Id Ibce22d0d340ce648c0b6df411266d1c4fe537013 with SHA-1 03a1471e1e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12630777

Change-Id: Iae9ab523e7d6b82a8ca6997f5d3d01d9b170ee69
2020-09-18 20:16:12 +00:00
TreeHugger Robot
c6095a415b Merge "Only filter when remote session has associated notification" into rvc-qpr-dev 2020-09-18 19:52:51 +00:00
TreeHugger Robot
143e6754bd [automerger skipped] Merge "Filter out notif updates based on active media session" into rvc-qpr-dev am: fe614e0738 am: 77735acd49 -s ours
am skip reason: Change-Id Ia7b8d2f3df3e68f63049e3443315fc26811efec4 with SHA-1 0e098127db is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12597957

Change-Id: I4e5cd688f646b0fd2546519297487bd1dc385fea
2020-09-18 19:47:17 +00:00
TreeHugger Robot
5321ac79e4 Merge "Rename MediaOutDialogReceiver to MediaOutputDialogReceiver" 2020-09-18 19:39:57 +00:00
Brad Ebinger
3d81f3e80c Merge "Customize the service class for Call barring" into rvc-qpr-dev 2020-09-18 19:17:12 +00:00
Hall Liu
780b2f753e Merge "Expose StatusBarManager#setDisabledForSimNetworkLock" 2020-09-18 19:12:58 +00:00
TreeHugger Robot
77735acd49 Merge "Filter out notif updates based on active media session" into rvc-qpr-dev am: fe614e0738
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12597957

Change-Id: Ie3e9aa3ac3ed0ebfeb383a5037ffd2f4c5ae3fe4
2020-09-18 18:56:41 +00:00
Robert Snoeberger
3dca24f6b8 Only filter when remote session has associated notification
Bug: 167706409
Test: manual - Cast from Google Play Books and check that media controls
are available in QS.

Change-Id: Ifc404be2de6f5f87a1d43e3b51d3ca00c73c6e06
(cherry picked from commit 8cc72bdf3a)
Merged-In: Ifc404be2de6f5f87a1d43e3b51d3ca00c73c6e06
2020-09-18 18:48:29 +00:00
Maryam Karimzadehgan
7d395e2ee9 Use ML model for the Back Gesture in EdgeBackGestureHandler.
Change-Id: I2fd5255e903932c03a35ae463b0eff3840dc81bd
Test: manual model test and getting the results
b: 150170384
2020-09-18 18:31:23 +00:00
TreeHugger Robot
bea4e46ffb Merge "Removes unnecessary logging from clearAppDataLIF" 2020-09-18 18:26:59 +00:00
Winson Chiu
189a385fd7 Merge "Add getTargetSdkVersion without AppInfo" 2020-09-18 18:18:28 +00:00
TreeHugger Robot
fe614e0738 Merge "Filter out notif updates based on active media session" into rvc-qpr-dev 2020-09-18 18:07:17 +00:00
Adlai Holler
a67b86d081 Merge "Migrate from SkCanvas::getGrContext to SkCanvas::recordingContext" 2020-09-18 17:44:58 +00:00
Neil Fuller
99bba2b91e Merge "Initial version of LocationTimeZoneManagerService" 2020-09-18 17:43:50 +00:00
TreeHugger Robot
ca43ae658a Merge "ActivityManager: kill frozen processes receiving sync transactions" into rvc-qpr-dev am: acd04189d9 am: 00523e6c27
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12568351

Change-Id: Ic904787a426b3ebf10f037544aa8a706529b3ab9
2020-09-18 17:42:40 +00:00
TreeHugger Robot
ab2b198295 Merge "free weakref to linearblock when it is destroy" 2020-09-18 17:37:45 +00:00
Edwin Wong
4c2cb7046b Merge "Replace testWidevine23FpsH264Fixed with a shorter test." 2020-09-18 17:25:01 +00:00
TreeHugger Robot
00523e6c27 Merge "ActivityManager: kill frozen processes receiving sync transactions" into rvc-qpr-dev am: acd04189d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12568351

Change-Id: I6fccb69bed5232d2f4f30b633bab9ba8a011e5fd
2020-09-18 17:19:56 +00:00
Soonil Nagarkar
87b8cc3866 Refactor ListenerMultiplexer with new capabilities
-Store tag string in multiplexer rather than duplicating in every
registration.
-Add support for failure callbacks at listener operation submission
time, in addition to within the listener operation itself.
-Extract request out of ListenerRegistration and into subclass, so that
the multiplexer does not need to have any knowledge of requests.
-New multiplexer specific execute and failure callbacks within
registrations objects, with strongly typed listener operation objects.
-Fixed resetService() to work properly even if the service is still
registered.
-Added registration info as an argument to registerWithService() so that
this doesn't need to be duplicated if a client wants access to this
information.
-Narrow exception handling so that only the proper exception
(RemoteException for binder calls for instance) results in registration
removal, and other unexpected checked exceptions should still crash the
process.
-Various other minor fixes.

Test: manual + presubmit
Change-Id: I6fdec313222ff1ef01a1aa4d27d8ee56b4be25d4
2020-09-18 10:08:11 -07:00
Robert Snoeberger
74b884a9d2 Filter out notif updates based on active media session
When an app is casting there can be two active media sessions, one local
and one remote. In this situation, there should only be a media object
for the remote session in QS. To achieve this, filter out updates for
the local session.

Bug: 158604810
Bug: 158813341
Bug: 158652134
Test: manual - cast from iHeartRadio. Toggle play/pause from media
object and check that device shown in output switcher isn't rapidly
changing.
Test: manual - cast from LivePhish. Check that only a single media
object appears in QS.

Change-Id: Ia7b8d2f3df3e68f63049e3443315fc26811efec4
(cherry picked from commit 0e098127db)
Merged-In: Ia7b8d2f3df3e68f63049e3443315fc26811efec4
2020-09-18 17:01:06 +00:00
TreeHugger Robot
797eec332d Merge "Separate time string into two unique strings" 2020-09-18 17:00:43 +00:00
jorgegil@google.com
438276d297 Change PIP exit transition to a scale and uncrop
If there's a source hint rect available, perform an uncrop
and scale animation from PIP -> Fullscreen similar to the
enter transition.

Bug: 167447693
Test: restore PIP to fullscreen, see scale and uncrop
animation instead of squishiness

Change-Id: Idce6d6d6d1f365f0a3adc5256a980066e721659e
2020-09-18 09:43:26 -07:00
Yuncheol Heo
fbd76963d5 Merge "Annotate some FlickerTests to run in the presubmit." 2020-09-18 16:36:47 +00:00
TreeHugger Robot
acd04189d9 Merge "ActivityManager: kill frozen processes receiving sync transactions" into rvc-qpr-dev 2020-09-18 16:27:16 +00:00
Nate Myren
51bcf93dc5 Merge "Observe mic mute changes, consider recordingss paused when muted" 2020-09-18 16:08:05 +00:00
Fabian Kozynski
213dfa6cbd Merge "Wait for state refreshed in TileQueryHelper" 2020-09-18 15:48:12 +00:00
TreeHugger Robot
0f861baff3 Merge "Ensure that binding state is false when handling dead binder" 2020-09-18 15:35:22 +00:00
Patrick Baumann
3fa0fb9ee5 [automerger skipped] Merge "Build AppsFilter cache in background" into rvc-qpr-dev am: 4336e7ca72 -s ours am: f0969e1fb1 -s ours
am skip reason: Change-Id I910d73f4d3b4cb1fe54d667752d40445b1c56906 with SHA-1 40b2a35a9b is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12564754

Change-Id: Id862c8913e0d29f548c9b8c9e7d9363232d9d663
2020-09-18 15:28:51 +00:00
Patrick Baumann
f0969e1fb1 [automerger skipped] Merge "Build AppsFilter cache in background" into rvc-qpr-dev am: 4336e7ca72 -s ours
am skip reason: Change-Id Iafa85e838d7f753eaf74037c85f86ee1feeb17aa with SHA-1 b0f1feb01f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12564754

Change-Id: Ibc8e3bfc9539eeb624c8f0dd7c4c86e3f5d43b59
2020-09-18 14:59:08 +00:00
Patrick Baumann
4336e7ca72 Merge "Build AppsFilter cache in background" into rvc-qpr-dev 2020-09-18 14:52:02 +00:00
TreeHugger Robot
993254c89e Merge "Adds tests for UdfpsController" 2020-09-18 14:49:43 +00:00
TreeHugger Robot
211a1ab41c Merge "Reduce vertical margins in landscape add controls" into rvc-qpr-dev am: 354b3ec329 am: f6098d82bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12616881

Change-Id: I41930afc4e1b0ce4dccae7ee1a7637cbf0f5f824
2020-09-18 14:46:54 +00:00
Joanne Chung
64c78cba88 Merge "Update TEST_MAPPING file under Activity path." 2020-09-18 14:44:40 +00:00
Adlai Holler
ab762153fb Migrate from SkCanvas::getGrContext to SkCanvas::recordingContext
This is part of API cleanup as we make DDL usage more mainstream
in Skia. Since Android doesn't use DDLs, the cast from recordingContext
to directContext will always succeed and there's no functional change.

Change-Id: Ie585cf6c97d01fecf082f146d5692999371fd39d
2020-09-18 14:42:41 +00:00
TreeHugger Robot
f6098d82bb Merge "Reduce vertical margins in landscape add controls" into rvc-qpr-dev am: 354b3ec329
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12616881

Change-Id: I601f3a01a3e733ff8aab1e755be75e8cb64f51ce
2020-09-18 14:40:52 +00:00
TreeHugger Robot
b850bfbd78 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 6daf3381da -s ours am: dfe356fc6f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12636665

Change-Id: I5f1c2770c9e44a44db1148cabec6c7173dd0c2b4
2020-09-18 14:39:52 +00:00
Dave Mankoff
f09b0e18ed Merge changes from topic "b166448040-keyguard-message-area"
* changes:
  9/N Clean Up Keyguard Class Structure
  8/N Remove View Injection from KeyguardMessageArea
  7/N controllers for remaining Keyguard Password Views.
  6/N Add Controller for KeyguardPatternView
  5/N Add KeyguardSecurityViewFlipperController.
  4/N Setup Controller fo KeyguardSecurityContainer.
2020-09-18 14:39:14 +00:00
TreeHugger Robot
4ae8cf69f5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 2e0b7acd7e -s ours am: 3abedb64ad -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12636106

Change-Id: I028909ddef27a1205ad67a18a61fd6fc0c491c1d
2020-09-18 14:39:02 +00:00
TreeHugger Robot
37f84953f7 Merge "Controls - Custom icon/color issues" into rvc-qpr-dev am: 6095954e6d am: c27958d2dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12538364

Change-Id: I3b3050cdda4028c7ce9372236e8e3b32a21ef044
2020-09-18 14:38:42 +00:00
Jim Blackler
3b22f349cf Merge "Revert "Implement initial statsd atoms for HDMI-CEC"" 2020-09-18 14:36:56 +00:00
TreeHugger Robot
354b3ec329 Merge "Reduce vertical margins in landscape add controls" into rvc-qpr-dev 2020-09-18 14:35:13 +00:00
Yan Han
551789d1e9 Revert "Implement initial statsd atoms for HDMI-CEC"
This reverts commit 597230a5a0.

Reason for revert: Breaking all branches

Change-Id: I6765da463a20d9ff56dd5b0be99cbddaee417866
2020-09-18 14:25:43 +00:00