mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 22:35:17 +00:00
undo process change. (not a simple change, sharedpreferences don't work)
This commit is contained in:
@@ -46,8 +46,7 @@
|
|||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<service android:name=".autofill.AutofillService"
|
<service android:name=".autofill.AutofillService"
|
||||||
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
|
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||||
android:process=":background">
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.accessibilityservice.AccessibilityService" />
|
<action android:name="android.accessibilityservice.AccessibilityService" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
@@ -230,7 +230,13 @@ public class AutofillService extends AccessibilityService {
|
|||||||
|
|
||||||
private void showDialog(final String appName) {
|
private void showDialog(final String appName) {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(this, R.style.Theme_AppCompat_Dialog);
|
AlertDialog.Builder builder = new AlertDialog.Builder(this, R.style.Theme_AppCompat_Dialog);
|
||||||
builder.setNegativeButton(R.string.dialog_cancel, null);
|
builder.setNegativeButton(R.string.dialog_cancel, new DialogInterface.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(DialogInterface d, int which) {
|
||||||
|
dialog.dismiss();
|
||||||
|
dialog = null;
|
||||||
|
}
|
||||||
|
});
|
||||||
builder.setPositiveButton(R.string.autofill_fill, new DialogInterface.OnClickListener() {
|
builder.setPositiveButton(R.string.autofill_fill, new DialogInterface.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
|
Reference in New Issue
Block a user