WAI
Status Update
Comments
lb...@gmail.com <lb...@gmail.com> #2
Weird thing is that the built in live wallpaper does work fine.
ad...@google.com <ad...@google.com>
ad...@google.com <ad...@google.com> #3
We have passed this to the development team and will update this issue with more information as it becomes available.
sk...@gmail.com <sk...@gmail.com> #4
First blocking OMS now this, what is going on guys??
lb...@gmail.com <lb...@gmail.com> #5
@4 What's "OMS" ?
sk...@gmail.com <sk...@gmail.com> #6
Substratum backend.(Overlay Manager Service)
lb...@gmail.com <lb...@gmail.com> #7
@6 Oh ok.
lb...@gmail.com <lb...@gmail.com> #8
The sample I've attached has minSdk set to Android P.
I've attached now with minSdk set to Android 8.1, so that it can be tested there too.
In any case, it works find on Android 8.1 and Android P DP1, but not on DP2.
I've attached now with minSdk set to Android 8.1, so that it can be tested there too.
In any case, it works find on Android 8.1 and Android P DP1, but not on DP2.
lb...@gmail.com <lb...@gmail.com> #9
I've noticed this issue exists on Muzei Live wallpaper app too:
https://play.google.com/store/apps/details?id=net.nurik.roman.muzei&hl=en
Just change there to choose a complete black background, and you will see it works only on Android 8.1 and Android P DP1, but not on Android P DP2 (beta).
This proves the OS indeed has this bug.
Just change there to choose a complete black background, and you will see it works only on Android 8.1 and Android P DP1, but not on Android P DP2 (beta).
This proves the OS indeed has this bug.
ad...@google.com <ad...@google.com> #10
The public API will only support setting the scrim colors, they are applied at:
- Under QS
- Lock screen
- Emergency dialer
- App switcher
- Keyguard challenge
- Under QS
- Lock screen
- Emergency dialer
- App switcher
- Keyguard challenge
lb...@gmail.com <lb...@gmail.com> #11
@10 This is incorrect. Please compare how it looks on Android 8.1 and P DP1 with DP2.
Also compare the live wallpaper with normal black wallpaper, as I've shown in the attached files.
Let's take the "app switcher" for example. If you change the wallpaper to complete black, you will see the popup of pressing the app icon to be black.
However, if you use a live wallpaper that reports the color (using any of the APIs I've shown), it will still be white.
See attached screenshots of the "app switcher".
Also compare the live wallpaper with normal black wallpaper, as I've shown in the attached files.
Let's take the "app switcher" for example. If you change the wallpaper to complete black, you will see the popup of pressing the app icon to be black.
However, if you use a live wallpaper that reports the color (using any of the APIs I've shown), it will still be white.
See attached screenshots of the "app switcher".
lb...@gmail.com <lb...@gmail.com> #12
@10 Why don't you try before you close an issue?
Because of this, I had to create a new issue:
https://issuetracker.google.com/issues/79665215
Because of this, I had to create a new issue:
lb...@gmail.com <lb...@gmail.com> #13
@10 I mean, you haven't read what I wrote, and you didn't even take the time to look at the screenshots...
Why put a general comment and close it?
The issue occurs even on Google's own (well of one of its developers) live wallpaper on the Play Store...
Why put a general comment and close it?
The issue occurs even on Google's own (well of one of its developers) live wallpaper on the Play Store...
Description
PP2.180412.013
* Is this a regression from O to P?
Doesn't occur on O and also not on P DP1
* What device are you using? (for example, Pixel XL)
Pixel 2
* What are the steps to reproduce the problem? (Please provide the minimal reproducible test case.)
0. Check what happens on this version of Android, vs 8.1 and P DP1, when changing a wallpaper to a dark one (even completely black photo). Remember what happens when you show the notification drawer and the volume popup.
1. Have a live wallpaper app that uses onComputeColors (and notifyColorsChanged of course) to tell the OS which colors it uses. You can use any method to report of a black colored image:
a. WallpaperColors(Color.valueOf(0xff000000.toInt()), Color.valueOf(0xff000000.toInt()), Color.valueOf(0xff000000.toInt()))
b. WallpaperColors.fromDrawable(ColorDrawable(0xff000000.toInt()))
c. WallpaperColors.fromDrawable(BitmapDrawable(completelyBlackBitmap))
d. WallpaperColors.fromBitmap(completelyBlackBitmap)
2. Check what will happen on Android 8.1 and P DP1, when you set the live wallpaper as the current one. As I know, at least method #d should do the exact same thing as setting a normal black wallpaper as on step #0.
* Issue Category e.g. Framework (platform), NDK (platform), Hardware (CPU, GPU, Sensor, Camera), ART (platform), Runtime Permissions etc
UX, Framework
* What was the expected result?
Setting a completely black wallpaper should be the same as using a bitmap that has black content alone in a live wallpaper, via onComputeColors
* Can you provide the API document where this expected behavior is explained?
Otherwise it doesn't make sense to use the API, because it is completely ignored:
* What was the actual result?
Nothing at all, as if you used a white background.
Attached sample project to show issue.
Also attached screenshots of live wallpaper vs normal solid wallpaper of black color.