version:1.4.3
fix: update:增加添加应用,实时更新信息
This commit is contained in:
@@ -142,7 +142,7 @@ public class ExitActivity extends BaseActivity {
|
||||
return;
|
||||
}
|
||||
Log.e(TAG, "inputComplete: " + content);
|
||||
String password = Settings.Global.getString(getContentResolver(), CommonConfig.DEFAULT_PASSWORD);
|
||||
String password = Settings.Global.getString(getContentResolver(), CommonConfig.LOCK_SCREEN_PASSWORD);
|
||||
if ((!TextUtils.isEmpty(content) && !TextUtils.isEmpty(password))) {
|
||||
if (password.equals(content)) {
|
||||
exitDesktop();
|
||||
@@ -187,7 +187,7 @@ public class ExitActivity extends BaseActivity {
|
||||
String oldText = codeView.getEditText().getText().toString();
|
||||
Log.e(TAG, "add: " + oldText);
|
||||
codeView.getEditText().setText(text);
|
||||
soundPool.play(soundId, 1, 1, 0, 0, 1);
|
||||
// soundPool.play(soundId, 1, 1, 0, 0, 1);
|
||||
}
|
||||
|
||||
private void exitDesktop() {
|
||||
|
||||
Reference in New Issue
Block a user