V4.2.11d - removed data points count from data sharing screen to see if that speeds it up

This commit is contained in:
Graham Jones
2025-02-09 19:12:04 +00:00
parent 74d859d370
commit e844d2d2b0
4 changed files with 7 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:versionCode="149" android:versionCode="149"
android:versionName="4.2.11c"> android:versionName="4.2.11d">
<!-- android:allowBackup="false" --> <!-- android:allowBackup="false" -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

View File

@@ -305,10 +305,10 @@ public class LogManagerControlActivity extends AppCompatActivity {
TextView tv1 = (TextView) findViewById(R.id.num_local_events_tv); TextView tv1 = (TextView) findViewById(R.id.num_local_events_tv);
tv1.setText(String.format("%d", eventCount)); tv1.setText(String.format("%d", eventCount));
}); });
mLm.getLocalDatapointsCount((Long datapointsCount) -> { //mLm.getLocalDatapointsCount((Long datapointsCount) -> {
TextView tv2 = (TextView) findViewById(R.id.num_local_datapoints_tv); // TextView tv2 = (TextView) findViewById(R.id.num_local_datapoints_tv);
tv2.setText(String.format("%d", datapointsCount)); // tv2.setText(String.format("%d", datapointsCount));
}); //});
TextView tv3 = (TextView) findViewById(R.id.nda_time_remaining_tv); TextView tv3 = (TextView) findViewById(R.id.nda_time_remaining_tv);
tv3.setText(String.format("%.1f hrs", mLm.mNDATimeRemaining)); tv3.setText(String.format("%.1f hrs", mLm.mNDATimeRemaining));
Log.d(TAG, "mNDATimeRemaining = " + String.format("%.1f hrs", mLm.mNDATimeRemaining)); Log.d(TAG, "mNDATimeRemaining = " + String.format("%.1f hrs", mLm.mNDATimeRemaining));

View File

@@ -33,6 +33,7 @@
android:text="000" /> android:text="000" />
</LinearLayout> </LinearLayout>
<!--
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -49,6 +50,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="000" /> android:text="000" />
</LinearLayout> </LinearLayout>
-->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"

Binary file not shown.