Try to address #142
This commit is contained in:
parent
81abb7954d
commit
3fe7978142
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue