mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-05-01 03:05:31 +02:00
Try to address #142
This commit is contained in:
parent
81abb7954d
commit
3fe7978142
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue