Loading src/org/lineageos/updater/UpdatesDbHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ public class UpdatesDbHelper extends SQLiteOpenHelper { update.setType(cursor.getString(index)); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME_VERSION); update.setVersion(cursor.getString(index)); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME__DISPLAY_VERSION); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME_DISPLAY_VERSION); update.setDisplayVersion(cursor.getString(index)); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME_STATUS); update.setPersistentStatus(cursor.getInt(index)); Loading src/org/lineageos/updater/UpdatesListAdapter.java +6 −0 Original line number Diff line number Diff line Loading @@ -250,6 +250,12 @@ public class UpdatesListAdapter extends RecyclerView.Adapter<UpdatesListAdapter. DateFormat.LONG, update.getTimestamp()); String buildVersion = mActivity.getString(R.string.list_build_version, update.getDisplayVersion()); if (buildVersion.equals("")) { buildVersion = mActivity.getString(R.string.list_build_version, update.getVersion()); } viewHolder.mBuildDate.setText(buildDate); viewHolder.mBuildVersion.setText(buildVersion); viewHolder.mBuildVersion.setCompoundDrawables(null, null, null, null); Loading Loading
src/org/lineageos/updater/UpdatesDbHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ public class UpdatesDbHelper extends SQLiteOpenHelper { update.setType(cursor.getString(index)); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME_VERSION); update.setVersion(cursor.getString(index)); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME__DISPLAY_VERSION); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME_DISPLAY_VERSION); update.setDisplayVersion(cursor.getString(index)); index = cursor.getColumnIndex(UpdateEntry.COLUMN_NAME_STATUS); update.setPersistentStatus(cursor.getInt(index)); Loading
src/org/lineageos/updater/UpdatesListAdapter.java +6 −0 Original line number Diff line number Diff line Loading @@ -250,6 +250,12 @@ public class UpdatesListAdapter extends RecyclerView.Adapter<UpdatesListAdapter. DateFormat.LONG, update.getTimestamp()); String buildVersion = mActivity.getString(R.string.list_build_version, update.getDisplayVersion()); if (buildVersion.equals("")) { buildVersion = mActivity.getString(R.string.list_build_version, update.getVersion()); } viewHolder.mBuildDate.setText(buildDate); viewHolder.mBuildVersion.setText(buildVersion); viewHolder.mBuildVersion.setCompoundDrawables(null, null, null, null); Loading