Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit c7f3562

Browse files
committed
meta data for f-droid
1 parent c72cbec commit c7f3562

File tree

11 files changed

+22
-10
lines changed

11 files changed

+22
-10
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ android {
66
applicationId "io.github.subhamtyagi.privacyapplock"
77
minSdkVersion 15
88
targetSdkVersion 28
9-
versionCode 7
10-
versionName "1.0.7"
9+
versionCode 8
10+
versionName "1.1"
1111
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1212
}
1313
buildTypes {

app/src/main/java/com/lzx/lock/activities/lock/GestureUnlockActivity.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ protected void initData() {
9494
mLockInfoManager = new CommLockInfoManager(this);
9595
mPopWindow = new UnLockMenuPopWindow(this, pkgName, true);
9696

97+
98+
9799
initLayoutBackground();
98100
initLockPatternView();
99101

@@ -124,7 +126,7 @@ public boolean onPreDraw() {
124126
mUnLockLayout.getViewTreeObserver().removeOnPreDrawListener(this);
125127
mUnLockLayout.buildDrawingCache();
126128
int width = mUnLockLayout.getWidth(), height = mUnLockLayout.getHeight();
127-
if (width == 0 || height== 0) {
129+
if (width == 0 || height == 0) {
128130
Display display = getWindowManager().getDefaultDisplay();
129131
Point size = new Point();
130132
display.getSize(size);
@@ -133,8 +135,8 @@ public boolean onPreDraw() {
133135
}
134136
Bitmap bmp = LockUtil.drawableToBitmap(icon, width, height);
135137
try {
136-
LockUtil.blur(GestureUnlockActivity.this, LockUtil.big(bmp), mUnLockLayout,width,height);
137-
}catch (IllegalArgumentException ignore){
138+
LockUtil.blur(GestureUnlockActivity.this, LockUtil.big(bmp), mUnLockLayout, width, height);
139+
} catch (IllegalArgumentException ignore) {
138140
CrashReporter.logException(ignore);
139141
}
140142
return true;
@@ -178,10 +180,9 @@ public void onPatternDetected(@NonNull List<LockPatternView.Cell> pattern) {
178180
int retry = LockPatternUtils.FAILED_ATTEMPTS_BEFORE_TIMEOUT - mFailedPatternAttemptsSinceLastTimeout;
179181
if (retry >= 0) {
180182
String format = getResources().getString(R.string.password_error_count);
181-
mUnlockFailTip.setText(format);
182-
//TODO: click a pic of intruder
183-
184-
}
183+
mUnlockFailTip.setText(format);
184+
//TODO: click a pic of intruder
185+
}
185186
} else {
186187

187188
//ToastUtil.showShort(getString(R.string.password_short));

app/src/main/res/layout/activity_gesture_unlock.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
android:id="@+id/unlock_layout"
45
android:layout_width="match_parent"
56
android:layout_height="match_parent"
@@ -41,7 +42,9 @@
4142
android:layout_alignParentBottom="true"
4243
android:layout_centerHorizontal="true"
4344
android:layout_gravity="center_horizontal"
44-
android:layout_marginBottom="80dp"/>
45+
android:layout_marginBottom="80dp"
46+
47+
/>
4548

4649
<ImageView
4750
android:id="@+id/unlock_icon"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*First release*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*bug fixes and improvemets*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*bug fixes and improvemets*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*bug fixes and improvemets*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*bug fixes and improvemets*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*bug fixes and improvemets*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*bug fixes and improvemets*

0 commit comments

Comments
 (0)