mirror of
https://git.code.sf.net/p/opencamera/code.git
synced 2024-09-20 03:52:26 +02:00
Updates for last release.
This commit is contained in:
parent
e789000e9a
commit
9ea67ce6de
@ -57,6 +57,7 @@
|
||||
<li>Option for filenames to be based on UTC (Zulu) time by David Pletcher ( lpm_sourceforge AT cathedralcanyon DOT net , https://www.cathedralcanyon.net ).</li>
|
||||
<li>Support for manual ISO for old camera API on Asus Zenphone 2 Z00A and Z008 by Flávio Keglevich ( fkeglevich AT gmail DOT com ).</li>
|
||||
<li>Changing icons for pause/resume video by Johan Ejdemark ( johanejdemark AT hotmail DOT com).</li>
|
||||
<li>Various improvements (lock screen behaviour) by Daniel Zhang.</li>
|
||||
<li>Azerbaijani translation by Eldost ( l-dost AT mail DOT ru ).</li>
|
||||
<li>Brazilian tranlation by Kaio Duarte.</li>
|
||||
<li>Chinese Simplified translation by Michael Lu ( yeskky AT gmail DOT com ), tumuyan ( tumuyan AT gmail DOT com ) and Tommy He.</li>
|
||||
|
@ -70,6 +70,8 @@ UPDATED Improved user interface icons for shutter, switch photo/video and switch
|
||||
UPDATED Smoother zoom for Camera2 API.
|
||||
UPDATED Improvements for loading thumbnails for gallery icon (including fixing orientation for
|
||||
X-NIGHT portrait images on Pixel 6 Pro).
|
||||
UPDATED Improvements to lock screen behaviour when running about lock screen (thanks to
|
||||
Daniel Zhang).
|
||||
UPDATED Improvements for popup menu and exposure UI when using large font sizes.
|
||||
UPDATED Made user's font size preference apply to on-screen text.
|
||||
UPDATED Changes in preparation for back button behaviour for future Android versions.
|
||||
|
@ -5,8 +5,10 @@ import static android.content.Context.KEYGUARD_SERVICE;
|
||||
import android.app.Activity;
|
||||
import android.app.KeyguardManager;
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
|
||||
public class KeyguardUtils {
|
||||
private static final String TAG = "KeyguardUtils";
|
||||
|
||||
public static void requireKeyguard(Activity activity, Runnable callback) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
@ -18,7 +20,11 @@ public class KeyguardUtils {
|
||||
keyguardManager.requestDismissKeyguard(activity, new KeyguardManager.KeyguardDismissCallback() {
|
||||
@Override
|
||||
public void onDismissSucceeded() {
|
||||
if( MyDebug.LOG )
|
||||
Log.d(TAG, "onDismissSucceeded");
|
||||
callback.run();
|
||||
if( MyDebug.LOG )
|
||||
Log.d(TAG, "onDismissSucceeded: after callback run");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user