mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
Try to address #142
This commit is contained in:
@@ -228,6 +228,10 @@ public class AutofillService extends AccessibilityService {
|
||||
}
|
||||
ByteArrayOutputStream os = new ByteArrayOutputStream();
|
||||
|
||||
// the service was disconnected, need to bind again
|
||||
if (serviceConnection.getService() == null) {
|
||||
serviceConnection.bindToService();
|
||||
}
|
||||
OpenPgpApi api = new OpenPgpApi(AutofillService.this, serviceConnection.getService());
|
||||
Intent result = api.executeApi(data, is, os);
|
||||
switch (result.getIntExtra(OpenPgpApi.RESULT_CODE, OpenPgpApi.RESULT_CODE_ERROR)) {
|
||||
|
Reference in New Issue
Block a user