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

Commit

Permalink
meta data for f-droid
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhamTyagi committed Apr 11, 2019
1 parent c72cbec commit c7f3562
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "io.github.subhamtyagi.privacyapplock"
minSdkVersion 15
targetSdkVersion 28
versionCode 7
versionName "1.0.7"
versionCode 8
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ protected void initData() {
mLockInfoManager = new CommLockInfoManager(this);
mPopWindow = new UnLockMenuPopWindow(this, pkgName, true);



initLayoutBackground();
initLockPatternView();

Expand Down Expand Up @@ -124,7 +126,7 @@ public boolean onPreDraw() {
mUnLockLayout.getViewTreeObserver().removeOnPreDrawListener(this);
mUnLockLayout.buildDrawingCache();
int width = mUnLockLayout.getWidth(), height = mUnLockLayout.getHeight();
if (width == 0 || height== 0) {
if (width == 0 || height == 0) {
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
Expand All @@ -133,8 +135,8 @@ public boolean onPreDraw() {
}
Bitmap bmp = LockUtil.drawableToBitmap(icon, width, height);
try {
LockUtil.blur(GestureUnlockActivity.this, LockUtil.big(bmp), mUnLockLayout,width,height);
}catch (IllegalArgumentException ignore){
LockUtil.blur(GestureUnlockActivity.this, LockUtil.big(bmp), mUnLockLayout, width, height);
} catch (IllegalArgumentException ignore) {
CrashReporter.logException(ignore);
}
return true;
Expand Down Expand Up @@ -178,10 +180,9 @@ public void onPatternDetected(@NonNull List<LockPatternView.Cell> pattern) {
int retry = LockPatternUtils.FAILED_ATTEMPTS_BEFORE_TIMEOUT - mFailedPatternAttemptsSinceLastTimeout;
if (retry >= 0) {
String format = getResources().getString(R.string.password_error_count);
mUnlockFailTip.setText(format);
//TODO: click a pic of intruder

}
mUnlockFailTip.setText(format);
//TODO: click a pic of intruder
}
} else {

//ToastUtil.showShort(getString(R.string.password_short));
Expand Down
5 changes: 4 additions & 1 deletion app/src/main/res/layout/activity_gesture_unlock.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/unlock_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down Expand Up @@ -41,7 +42,9 @@
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="80dp"/>
android:layout_marginBottom="80dp"

/>

<ImageView
android:id="@+id/unlock_icon"
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*First release*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*bug fixes and improvemets*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*bug fixes and improvemets*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*bug fixes and improvemets*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*bug fixes and improvemets*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*bug fixes and improvemets*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*bug fixes and improvemets*
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*First stable release*

0 comments on commit c7f3562

Please sign in to comment.