diff --git a/app/src/main/java/com/pluscubed/velociraptor/App.java b/app/src/main/java/com/pluscubed/velociraptor/App.java index a8c444b..39b72f0 100644 --- a/app/src/main/java/com/pluscubed/velociraptor/App.java +++ b/app/src/main/java/com/pluscubed/velociraptor/App.java @@ -58,6 +58,7 @@ public Single call(List mapInfos) { }).subscribe(); PrefUtils.setVersionCode(this, BuildConfig.VERSION_CODE); + PrefUtils.setFirstRun(this, false); } } diff --git a/app/src/main/java/com/pluscubed/velociraptor/appselection/AppInfo.java b/app/src/main/java/com/pluscubed/velociraptor/appselection/AppInfo.java index bd7e67d..fcdf54c 100644 --- a/app/src/main/java/com/pluscubed/velociraptor/appselection/AppInfo.java +++ b/app/src/main/java/com/pluscubed/velociraptor/appselection/AppInfo.java @@ -5,7 +5,6 @@ import android.support.annotation.NonNull; import io.requery.Entity; -import io.requery.Generated; import io.requery.Key; import io.requery.Transient; @@ -24,8 +23,6 @@ public AppInfo[] newArray(int size) { } }; @Key - @Generated - public int id; public String packageName; @Transient public boolean enabled; @@ -37,9 +34,8 @@ public AppInfo() { } protected AppInfo(Parcel in) { - this.id = in.readInt(); - this.enabled = in.readByte() != 0; this.packageName = in.readString(); + this.enabled = in.readByte() != 0; this.name = in.readString(); } @@ -70,9 +66,8 @@ public int describeContents() { @Override public void writeToParcel(Parcel dest, int flags) { - dest.writeInt(this.id); - dest.writeByte(enabled ? (byte) 1 : (byte) 0); dest.writeString(this.packageName); + dest.writeByte(enabled ? (byte) 1 : (byte) 0); dest.writeString(this.name); } } \ No newline at end of file