| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 release 35
Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replacing getCurrentUser calls in SystemUI with UserTracker to help
centralize source of truth.
Bug: 249831072
Test: atest SystemUITests
Change-Id: I23bd747192adcd715b96442f0834254ad0bb44a3
Merged-In: I23bd747192adcd715b96442f0834254ad0bb44a3
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Also includes
Grant default location permissions to OmniJaws
Author: Ali B.
Change-Id: I2988eea61414dafc94e52729b997d07f4673a9ad
Change-Id: I50349a910aa604959def70377da135c6d94c7774
|
| | |
| |
| |
| | |
Change-Id: Icdfc9a56303bdae94fc0c739b3af548306f71fb4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Choose from Omni style with dedicated line of
location, conditionimage, temperature
or KeygardSlice style added to the dateline with
conditionimage, temperature. Care is taken to properly
display in ambient display, and ambient music.
Change-Id: I6f09967843d360a82b6c98b8e3d1c9a269af798f
|
| |/
|
|
|
|
|
|
|
|
| |
Thanks to Henrique Silva <jhenrique09.mcz@hotmail.com>
for the keyguard slice code
Revamped and adapted to Omnijaws base
and adapted to 10, 11, 12 by @eyosen
Change-Id: I4232d8dea7ee54dc35869abb86b6b5c3e7820166
|
| |
|
|
|
|
| |
Bug: 138786270
Test: manual
Change-Id: I8894662ebb361ca503701743ffc63b0cc5581866
|
| |
|
|
|
|
|
|
| |
This problem was fixed in the associated bug long ago.
Bug: 168778439
Test: manual
Change-Id: Ic074dfab543bfc0817e289cf152ce14d20440c51
|
| |
|
|
|
|
|
|
|
| |
This continues to be an exception that shouldn't be happening. ADding
more logging to try to get insight into the problem.
Test: manual
Bug: 168778439
Change-Id: I2fdaa366c70f1551a768f48f7ac6df966e731fe3
|
| |
|
|
|
|
|
|
|
| |
It will be required for S+ that every PendingIntent be declared
mutable or immutable.
Fixes: 169792037
Test: manual
Change-Id: I4212c232abb061b06cbd5520ea548318f43549de
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
~0.5% (or less) of our dogfooders are getting NPE's in the
KeyguardSliceProvider. It is unclear why this is happening and
we do not currently have reproduction steps for it.
Add some try/catch logging to the KeyguardSliceProvider to try
to catch this phenomenon so that we can narrow down why it is
occuring. This change can be reverted once we know more.
Bug: 168778439
Test: manual
Change-Id: Id65ee5bece75ef8497f7464079e5258781079fa9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure that only the code that actually needs the root component asks
for it.
This also fixes ContentProvider injection (a bit). They no longer have
to manually run injection on themselves, as long as they implement
SystemUIAppComponentFactory.ContextInitializer properly and define
an inject(MyClass) method in the root component.
Bug: 162923491
Test: manual && atest SystemUITests
Change-Id: I507859f5f8d89bdde5b10e78b54c5cfbf28737bc
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously all media instances had their own management
and it could easily happen that certain players
would get out of sync as a result. We now have
a unified architecture to listen to media notifications
and inflating a singular UI
Test: atest SystemUiTests
Bug: 154137987
Change-Id: I9f807e6431dd7cb54ca9b6d983379d770a281f31
|
| |
|
|
|
|
| |
Fixes: 147606347
Test: run poc, device didn't reboot
Change-Id: I8f721ca659d58271880a7adbf386b270b331e55b
|
| |
|
|
|
|
|
| |
Test: atest NotificationLockscreenUserManagerTest
Test: atest KeyguardSliceProviderTest
Bug: 144299702
Change-Id: Ia91cab4ebeaa36a7f26588197c4aba3291f88d28
|
| |\
| |
| |
| |
| |
| |
| |
| | |
am: fd6f170e31
am: b019786efc
Change-Id: If01a4374dffbd1e883f2801419288b1ebb678daf
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Otherwise other classes can end up cancelling messages on this Handler
Test: atest KeyguardSliceProviderTest
Fixes: 142179390
Change-Id: I48568cabac8f2170d83687ac532f357f7afea9f2
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test: presubmit setup on source branch
Bug: 130289146 Create a Gradle build for SystemUI
Bug: 136279712 Daggerize FalsingManager
Bug: 137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests
Bug: 137563419 Remove Bouncer reveal delay from bypass flow
Bug: 138787339 Allow Services and Activities to be injected into directly.
Bug: 139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap
Bug: 64712476 Import translations for dev branches
Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d
|
| |/
|
|
|
|
| |
Bug: 139051615
Test: atest SystemUITests && atest SystemUIGoogleTests
Change-Id: Ic4dd5978001c208504c137cee41f363d7e70b1b5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change stops the animation because there isn't a
transition from the no-header state to the music header
state when turning the screen off (to AOD). Since there
isn't a transition, there isn't an animation.
This assumes that there isn't a transition from unlocked to
lock screen. If there is, then there would be an animation
of the music going away while arriving at the lock screen.
Fixes: 137383007
Test: Checked repro steps in bug, clock doesn't animate.
Test: Also checked repro steps when audio is paused, clock doesn't
animate.
Test: atest KeyguardSliceProviderTest.java
Change-Id: If39777340b72bc623d6690bc4f784c7f5c26ea8d
|
| |
|
|
|
|
|
|
|
| |
Users where missing the music controls so
we are showing a headsup for them on the
lockscreen.
Fixes: 134543453
Change-Id: I089fa8ff35b918f485f79e09393173f05971a73e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The ContentProvider might be recreated by the system, so we it's
not necessarily a singleton. We need to cleanup listener registration
and alarms before reattributing the static variable.
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest
Change-Id: I9bc993f372a8c05258f1778eb3d415af04544714
|
| |\
| |
| |
| |
| |
| | |
am: a5be28971c
Change-Id: I649e2774d8f08bf5a2ea666074b04fd22c69ff0f
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit fe107a1621b98f8e9caa47b1e4e7ecbee00a2f88.
Reason for revert: <INSERT REASONING HERE>
Change-Id: Id092c473a8300e014ccd4d941afa4afcdbbf48bc
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The ContentProvider might be recreated by the system, so we it's
not necessarily a singleton. We need to cleanup listener registration
and alarms before reattributing the static variable.
Change-Id: I227842d7272d1edeaa67d776950f369aedb01a91
Merged-In: I227842d7272d1edeaa67d776950f369aedb01a91
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The ContentProvider might be recreated by the system, so we it's
not necessarily a singleton. We need to cleanup listener registration
and alarms before reattributing the static variable.
Change-Id: I227842d7272d1edeaa67d776950f369aedb01a91
Fixes: 135344397
Fixes: 135582651
Test: bind and unbind slice various times
Test: atest KeyguardSliceProviderTest
|
| |/
|
|
|
|
|
| |
Bug: 130327302
Test: manual
Test: atest KeyguardSliceProviderTest
Change-Id: I50bfd88d8d812ce7b64294a7bc68d8b28e9a6a0d
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Checking if the metadata object is the same is not enough, we must check if the fields
are also the same, otherwise we can skip events.
It's also necessary to wait for a while before removing the media, otherwise animation
would be janky.
Test: adb shell input keyevent 87
Fixes: 133378688
Change-Id: I7847c8e435f35f4ab596f2aa2cc9296f06d5df26
|
| |
|
|
|
|
|
|
|
|
| |
Media seems stuck on AOD if paused or stopped and still visible.
Test: play pause with bluetooth headphones
Test: play pause on lock screen
Test: skip songs on lock screen, go to aod
Fixes: 131314881
Change-Id: I3574bbf628b708d2f9d4c4363a912de5ded951ac
|
| |
|
|
|
|
| |
Bug: 130223602
Test: visual
Change-Id: I5c2f5acc267f5fa87b1f997afd3c304e5a2bf184
|
| |
|
|
|
|
|
|
|
| |
- Dedupe qs/status bar icons
- Remove a few unneeded icons
Bug: 116357908
Test: mp sysuig
Change-Id: Ia343f20f0ebfe34a75f247b9fddac36e7f654c1f
|
| |
|
|
|
|
|
|
| |
Otherwise skipping songs wouldn't change the contents of AOD.
Test: manual
Fixes: 124527003
Change-Id: Ie644aa451390712ae529c849a743ec083b8229ee
|
| |
|
|
|
|
|
|
|
|
| |
Fixes: 123340905
Fixes: 123958307
Test: atest KeyguardSliceViewTest
Test: manual, playing media
This reverts commit ed00262486e5c4b6ae9ef902633eca8958ddf80f.
Change-Id: I1cc60346f9176b913ee0404b2b31981f736664ce
|
| |
|
|
|
|
| |
Test: atest SystemUITests
Bug: 115322193
Change-Id: I46e4b23c9839720a3eb10e381d7aaf79a74c6b33
|
| |
|
|
|
|
|
|
|
|
| |
Media data will only be available when dozing to avoid duplication
on the notification shade.
Test: manual
Test: atest KeyguardSliceProviderTest
Bug: 111405682
Change-Id: I5e057496aa36c912293be54a4abfa62667b96db3
|
| |
|
|
|
|
|
|
|
|
| |
This CL also includes synchronization bugfixes, since
SliceProvider#onBindSlice can be called from any thread.
Test: atest KeyguardSliceProviderTest
Test: manual
Bug: 111405682
Change-Id: Ief19625cba96b0c17f7444b2b2acc8f27c24597e
|
| |
|
|
|
|
|
|
|
|
|
| |
SysUI was registering too many TIME_TICK events and
this led to some of them being dropped. Most common
symptom is clock being stuck.
Bug: 116488358
Test: atest KeyguardSliceProviderTest
Test: set calendar events, plug device into a charger
Change-Id: I234b983039fd9917249c7419e71825096f017e3f
|
| |
|
|
|
|
|
|
|
|
| |
Before, we'd only show it if visual effects were off, and users
didn't quite understand the behavior.
Test: manually toggle DND
Test: atest KeyguardSliceProviderTest
Bug: 111405682
Change-Id: I305883564c8d710497a5fc9a8ca0548c30b896f0
|
| |
|
|
|
|
| |
Test: visual
Change-Id: I67713b91057de7974c2429053b358a8e82510068
Fixes: 119166942
|
| |
|
|
|
|
|
|
|
|
| |
The ContentProvider will make unecessary binder calls when
trying to bind the Slice. We can call directly into the
provider and grab the slice in these cases.
Bug: 112563822
Test: systrace
Change-Id: Ia761afccd7d28cf5e41b7c1420715fd9446ac8e8
|
| |
|
|
|
| |
Test: build
Change-Id: I28d7c23fa23817d1b974f36b74be5512f12ce59c
|
| |
|
|
|
|
|
|
|
|
| |
We'll be enforcing requiring a primary action on slices.
There isn't a clear action that makes sense for these
slices... which is unfortunate but add a dummy one for now.
Test: atest KeyguardSliceProviderTest
Bug: 77855834
Change-Id: Ic37f9a8eba463654b3b2b93c1df9cb97d6d688a2
|
| |
|
|
|
|
| |
Test: manual
Change-Id: Ic478e8a6fcd2088d198b2cee2e70ab8376b4709d
Fixes: 79686343
|
| |
|
|
|
|
|
|
|
|
|
| |
Remove extra broadcast action and use existing doze_time_tick alarm to
update slice.
Change-Id: If167c8d81e5f5a67050d7904ce2497c1bdb70e9a
Fixes: 77988364
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardStatusViewTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
|
| |
|
|
|
|
|
| |
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Test: manual
Bug: 78445133
Change-Id: If3a9d2b36e4a06b775c77b9d02b5eaa83f7088a3
|
| |
|
|
|
|
|
|
| |
This reverts commit f980f54a758d24398bba142481b482b6f164c3b9.
Bug: 74950017
Test: manual
Change-Id: I793ec0f6c2ba6a141481f8d03e85b791dd8a73d1
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit ad4d866837be4ed07d44672d74473acfb9461ec2.
Reason for revert: broke Settings
Bug: 74950017
Test: revert only
Change-Id: I7a535717d30ec79cd5a2f0529cb7ce511145e0ae
|
| |
|
|
|
|
|
|
| |
Fixes references to changes Slices compat code.
Bug: 74449147
Test: make
Change-Id: I7a7f81d582d12b3813c0581446efec81ed5f6b48
|
| |
|
|
|
|
|
|
|
|
| |
Next alarm will be visible 12h before triggering.
Test: Set alarm that will ring in 8h
Test: Set alarm that will ring in 14h
Test: Set alarm that will ring in 11:59, wait one minute
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: Icd4253771efcdf5afb4e9e52329fa410d7fd1cc1
|
| |
|
|
|
|
| |
Test: visual
Bug: 72417398
Change-Id: I23568bd81068057523743343aebce1bd4666df70
|