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:
Samuel Holland
2017-08-01 01:12:59 -05:00
parent 19e8087642
commit 874db0b95e
2 changed files with 23 additions and 7 deletions
@@ -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);
}
}