Skip to content

Commit 63dfb51

Browse files
committed
V1.0
1 parent e90d706 commit 63dfb51

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
# AndroidAppLockscreen
2-
An easily implementable, clean, minimal Lockscreen module for Android Apps

easypasscodelock/src/main/java/p32929/easypasscodelock/Utils/LockscreenHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void onTrimMemory(int i) {
2828
ComponentName componentInfo = taskInfo.get(0).topActivity;
2929
packageName = componentInfo.getPackageName();
3030
}
31-
if (!packageName.equals("com.thamao") && i == ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN) {
31+
if (!packageName.equals(getPackageName()) && i == ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN) {
3232
// We're in the Background
3333
wentToBg = true;
3434
Log.d(TAG, "wentToBg: " + wentToBg);

0 commit comments

Comments
 (0)