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:
@@ -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