Interface: Convert to using Keypair class
This allows retrieving the public key and generating keypairs, both of which will be exposed in the UI. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
1 parent
19e8087642
commit
874db0b95e
2 files changed
+23
-7
No files matched your search
@@ -156,7 +156,7 @@ public class ProfileService extends Service {
|
||||
profile.parseFrom(openFileInput(fileName));
|
||||
profile.setIsConnected(interfaceNames.contains(profileName));
|
||||
loadedProfiles.add(profile);
|
||||
} catch (IOException e) {
|
||||
} catch (IOException | IndexOutOfBoundsException e) {
|
||||
Log.w(TAG, "Failed to load profile from " + fileName, e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user