From 633d81287a64889df8dfaaf99444159bee9a7be0 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 28 Mar 2021 18:24:18 +0200 Subject: [PATCH] cmd/tailscale,com/tailscale/ipn: delete unused constant, reformat Signed-off-by: Elias Naur --- android/src/main/java/com/tailscale/ipn/App.java | 10 +++++----- cmd/tailscale/main.go | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/android/src/main/java/com/tailscale/ipn/App.java b/android/src/main/java/com/tailscale/ipn/App.java index 9eb0fe9..391c195 100644 --- a/android/src/main/java/com/tailscale/ipn/App.java +++ b/android/src/main/java/com/tailscale/ipn/App.java @@ -90,11 +90,11 @@ public class App extends Application { .build(); return EncryptedSharedPreferences.create( - this, - "secret_shared_prefs", - key, - EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV, - EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM + this, + "secret_shared_prefs", + key, + EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV, + EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM ); } diff --git a/cmd/tailscale/main.go b/cmd/tailscale/main.go index 0eb1126..6295b09 100644 --- a/cmd/tailscale/main.go +++ b/cmd/tailscale/main.go @@ -128,8 +128,6 @@ type ( // by GoogleSignInOptions.Builder.requestIdToken. const serverOAuthID = "744055068597-hv4opg0h7vskq1hv37nq3u26t8c15qk0.apps.googleusercontent.com" -const enabledKey = "ipn_enabled" - // releaseCertFingerprint is the SHA-1 fingerprint of the Google Play Store signing key. // It is used to check whether the app is signed for release. const releaseCertFingerprint = "86:9D:11:8B:63:1E:F8:35:C6:D9:C2:66:53:BC:28:22:2F:B8:C1:AE"