Status Update
Comments
na...@google.com <na...@google.com> #2
As mentioned in comment #14 on issue https://issuetracker.google.com/36574245 you can "use SHOW_WHEN_LOCKED activities to show when the device is locked, but it is intentionally no longer possible to show over the lockscreen / over the notification shade. If you are not able to achieve the expected behavior please produce a complete minimal sample project reproducing the issue and upload it here so we can investigate further.
to...@gmail.com <to...@gmail.com> #3
This seems like a very short sighted solution.
Many apps rely on this feature (showing views over the lockscreen) just to name a few:
Drupe:https://play.google.com/store/apps/details?id=mobi.drupe.app
Always On AMOLED:https://play.google.com/store/apps/details?id=com.tomer.alwayson
Always On Screen:https://play.google.com/store/apps/details?id=pt.me.fayax.alwaysondisplay
And many more.
Simply removing this feature without any alternative is unacceptable for many developers.
Please reconsider this decision or make it possible to overcome this change.
Many apps rely on this feature (showing views over the lockscreen) just to name a few:
Drupe:
Always On AMOLED:
Always On Screen:
And many more.
Simply removing this feature without any alternative is unacceptable for many developers.
Please reconsider this decision or make it possible to overcome this change.
Description
This breaks some of our apps completely!
We spend years of development in these apps and now they will just not work anymore!
Please dont do this.
Please give us at least the possibility to draw overlays on lockscreen with FLAG_SHOW_WHEN_LOCKED like it is working with activities.
Example code:
ImageView testView = new ImageView();
WindowManager.LayoutParams testParams = new WindowManager.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.TYPE_SYSTEM_ERROR,
WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN,
PixelFormat.TRANSLUCENT);
windowManager.addView(testView, testParams);
Expected beahvior:
Draws over lockscreen and statusbar.
Using OPP2.170420.012 on emulator