Compare commits
4 Commits
7119b3b7a5
...
appbase
| Author | SHA1 | Date | |
|---|---|---|---|
| e726c9d435 | |||
| 5277913606 | |||
| c1bd31df2f | |||
| c6591e83a5 |
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Tue Apr 28 17:08:30 HKT 2026
|
||||
stageCount=22
|
||||
#Sat May 09 20:50:12 HKT 2026
|
||||
stageCount=23
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.15
|
||||
publishVersion=15.15.21
|
||||
publishVersion=15.15.22
|
||||
buildCount=0
|
||||
baseBetaVersion=15.15.22
|
||||
baseBetaVersion=15.15.23
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Tue Apr 28 17:08:04 HKT 2026
|
||||
stageCount=22
|
||||
#Sat May 09 20:49:55 HKT 2026
|
||||
stageCount=23
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.15
|
||||
publishVersion=15.15.21
|
||||
publishVersion=15.15.22
|
||||
buildCount=0
|
||||
baseBetaVersion=15.15.22
|
||||
baseBetaVersion=15.15.23
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "cc.winboll.studio.winboll"
|
||||
minSdkVersion 23
|
||||
minSdkVersion 26
|
||||
// 适配MIUI12
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed May 06 11:22:14 CST 2026
|
||||
#Wed May 06 13:39:52 CST 2026
|
||||
stageCount=27
|
||||
libraryProject=
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.26
|
||||
buildCount=20
|
||||
buildCount=22
|
||||
baseBetaVersion=15.11.27
|
||||
|
||||
@@ -65,7 +65,12 @@ public class PatternLockActivity extends BaseWinBoLLActivity {
|
||||
setSupportActionBar(toolbar);
|
||||
getSupportActionBar().setSubtitle(TAG);
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
toolbar.setNavigationOnClickListener(v -> finish());
|
||||
toolbar.setNavigationOnClickListener(new android.view.View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(android.view.View v) {
|
||||
finish();
|
||||
}
|
||||
});
|
||||
|
||||
mContainer = findViewById(R.id.container);
|
||||
mPatternView = new PatternView(this);
|
||||
@@ -111,12 +116,15 @@ public class PatternLockActivity extends BaseWinBoLLActivity {
|
||||
private void showErrorState() {
|
||||
mIsInErrorState = true;
|
||||
invalidatePattern();
|
||||
mHandler.postDelayed(() -> {
|
||||
mIsInErrorState = false;
|
||||
SharedPreferences prefs = getSharedPreferences(PREFS_NAME, MODE_PRIVATE);
|
||||
prefs.edit().putBoolean(KEY_ERROR_STATE, false).apply();
|
||||
invalidatePattern();
|
||||
if (mPatternView != null) mPatternView.invalidate();
|
||||
mHandler.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mIsInErrorState = false;
|
||||
SharedPreferences prefs = getSharedPreferences(PREFS_NAME, MODE_PRIVATE);
|
||||
prefs.edit().putBoolean(KEY_ERROR_STATE, false).apply();
|
||||
invalidatePattern();
|
||||
if (mPatternView != null) mPatternView.invalidate();
|
||||
}
|
||||
}, PATTERN_ERROR_DURATION);
|
||||
}
|
||||
|
||||
@@ -138,7 +146,12 @@ public class PatternLockActivity extends BaseWinBoLLActivity {
|
||||
android.app.AlertDialog alertDialog = new android.app.AlertDialog.Builder(this)
|
||||
.setTitle("设置成功")
|
||||
.setMessage("图案密码已设置成功")
|
||||
.setPositiveButton("确定", (dialog, which) -> finish())
|
||||
.setPositiveButton("确定", new android.content.DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(android.content.DialogInterface dialog, int which) {
|
||||
finish();
|
||||
}
|
||||
})
|
||||
.setCancelable(false)
|
||||
.create();
|
||||
alertDialog.show();
|
||||
|
||||
Reference in New Issue
Block a user