Feature #1383


Camera app on lock screen

Added by Wolfgang Wiedmeyer almost 9 years ago. Updated almost 5 years ago.

Base applications
Target version:
Start date:
Due date:
% Done:


Estimated time:
Galaxy S 3 (I9300)
Type of work:


The built-in Camera app (LegacyCamera) does not work on the lock screen. I looked at how Open Camera and the successor of LegacyCamera, Camera2, are doing this and I ended up picking some bits from Camera2 and writing the rest myself.
One part was quite tricky: When the phone wakes up, the Camera goes in an OnResume, OnPause, OnResume cycle and sometimes it ends up in the OnPause state and is unresponsive. Adding the trick with the delay for OnResume from Camera2 worked.
When the thumbnail of the last picture is clicked, the so-called SharePopup comes up and shows the last picture enlarged. As this could be used by someone else to take a closer look at your last pic and as Open Camera and Camera2 disabled similar functionality on the lock screen, I also made the SharePopup inaccessible from the lock screen.
Patch is tested for several days on my Galaxy S3.


Actions #1

Updated by Paul Kocialkowski almost 9 years ago

That looks great, thanks a lot! I will try to apply the patch soon and test it as well. If everything goes fine, it will be merged and part of the next batch of images.

Thanks for fixing this!

Actions #2

Updated by Wolfgang Wiedmeyer almost 9 years ago

The view for recording video does also work on the lock screen, but switching to this mode takes a moment and the lock screen is shortly visible.
With the changes applied I described on the mailing list, video recording in the secure mode also works with the S3.

Actions #3

Updated by Denis 'GNUtoo' Carikli over 8 years ago

  • Category changed from 51 to Framework
  • Device Galaxy S 3 (I9300) added
Actions #4

Updated by Paul Kocialkowski over 8 years ago

  • Category changed from Framework to Base applications
Actions #5

Updated by Paul Kocialkowski over 8 years ago

  • Tracker changed from Issue to Feature
Actions #6

Updated by Kurtis Hanna almost 5 years ago

  • Status changed from New to Closed
  • Resolution set to wontfix

This issue has been closed because Replicant 4.2 is no longer supported or maintained.


Also available in: Atom PDF