Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed May 4, 2022
1 parent 3ef6ece commit 71fecc0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,10 @@ public class CapacitorUpdater {

public CapacitorUpdater (final Context context) throws PackageManager.NameNotFoundException {
this.context = context;

this.prefs = this.context.getSharedPreferences("CapWebViewSettings", Activity.MODE_PRIVATE);
this.editor = this.prefs.edit();
this.versionOs = Build.VERSION.RELEASE;
this.deviceID = Secure.getString(context.getContentResolver(), Secure.ANDROID_ID);

final PackageInfo pInfo = context.getPackageManager().getPackageInfo(context.getPackageName(), 0);
this.versionBuild = pInfo.versionName;
this.versionCode = Integer.toString(pInfo.versionCode);
Expand Down

0 comments on commit 71fecc0

Please sign in to comment.