mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Remove Jelly Bean condition
This commit is contained in:
@@ -3,7 +3,6 @@ package com.kunzisoft.magikeyboard;
|
|||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.os.Build;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.support.annotation.Nullable;
|
import android.support.annotation.Nullable;
|
||||||
@@ -22,16 +21,14 @@ public class EntryRetrieverActivity extends AppCompatActivity {
|
|||||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { // TODO lock for < jelly bean
|
Intent intent;
|
||||||
Intent intent;
|
try {
|
||||||
try {
|
intent = new Intent(this,
|
||||||
intent = new Intent(this,
|
Class.forName("com.kunzisoft.keepass.selection.EntrySelectionAuthActivity"));
|
||||||
Class.forName("com.kunzisoft.keepass.selection.EntrySelectionAuthActivity"));
|
startActivityForResult(intent, ENTRY_REQUEST_CODE);
|
||||||
startActivityForResult(intent, ENTRY_REQUEST_CODE);
|
} catch (ClassNotFoundException e) {
|
||||||
} catch (ClassNotFoundException e) {
|
Log.e(TAG, "Unable to load the entry retriever", e);
|
||||||
Log.e(TAG, "Unable to load the entry retriever", e);
|
finish();
|
||||||
finish();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user