Skip to content

Commit

Permalink
Remove unused imports and fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKast committed Nov 6, 2023
1 parent c99e7f7 commit 0bf1459
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Handler;
import android.os.Looper;

Expand Down Expand Up @@ -338,6 +337,7 @@ private void launchLockScreenActivity() {
new IntentFilter(SDLLockScreenActivity.KEY_LOCKSCREEN_DISMISSED),
Context.RECEIVER_NOT_EXPORTED);
lockscreenDismissReceiverRegistered = true;

}
LockScreenStatus status = getLockScreenStatus();
if (status == LockScreenStatus.REQUIRED || displayMode == LockScreenConfig.DISPLAY_MODE_ALWAYS || (status == LockScreenStatus.OPTIONAL && displayMode == LockScreenConfig.DISPLAY_MODE_OPTIONAL_OR_REQUIRED)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import android.graphics.ColorFilter;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.view.GestureDetector;
import android.view.MotionEvent;
Expand Down Expand Up @@ -106,6 +105,7 @@ protected void onCreate(Bundle savedInstanceState) {
IntentFilter lockscreenFilter = new IntentFilter();
lockscreenFilter.addAction(CLOSE_LOCK_SCREEN_ACTION);
lockscreenFilter.addAction(LOCKSCREEN_DEVICE_LOGO_DOWNLOADED);

// register broadcast receivers
AndroidTools.registerReceiver(this, lockScreenBroadcastReceiver, lockscreenFilter,
RECEIVER_NOT_EXPORTED);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ResolveInfo;
import android.os.Build;
import android.os.Handler;
import android.os.Looper;

Expand Down

0 comments on commit 0bf1459

Please sign in to comment.