Skip to content

Commit 845e59b

Browse files
committed
chore: remove Android instrumented tests and logging statements
1 parent 68ea0fc commit 845e59b

File tree

5 files changed

+1
-277
lines changed

5 files changed

+1
-277
lines changed

app/build.gradle

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ android {
1313
defaultConfig {
1414
minSdkVersion 21
1515
targetSdkVersion 35
16-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1716
externalNativeBuild {
1817
ndkBuild {
1918
arguments "APP_PLATFORM=android-21"
@@ -101,10 +100,4 @@ dependencies {
101100
implementation fileTree(include: ['*.jar'], dir: 'libs')
102101
implementation "androidx.print:print:1.0.0"
103102
implementation 'androidx.appcompat:appcompat:1.6.1'
104-
105-
// Testing dependencies
106-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
107-
androidTestImplementation 'androidx.test:runner:1.5.2'
108-
androidTestImplementation 'androidx.test:rules:1.5.0'
109-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
110103
}

app/src/androidTest/java/org/tuxpaint/TuxpaintActivityTest.java

Lines changed: 0 additions & 74 deletions
This file was deleted.

app/src/main/jni/tuxpaint/src/progressbar.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
#include "progressbar.h"
3232
#include "debug.h"
3333

34-
#ifdef __ANDROID__
35-
#include <android/log.h>
36-
#endif
37-
3834
SDL_Surface *img_progress;
3935
int progress_bar_disabled, prog_bar_ctr;
4036

@@ -63,9 +59,8 @@ void show_progress_bar_(SDL_Surface *screen, SDL_Texture *texture, SDL_Renderer
6359
* We still allow the function to continue to update internal state like prog_bar_ctr
6460
* and oldtime, but skip all SDL rendering calls. */
6561
newtime = SDL_GetTicks();
66-
if (newtime > oldtime + 500) { /* Log every half second instead of rendering */
62+
if (newtime > oldtime + 500) {
6763
prog_bar_ctr++;
68-
__android_log_print(ANDROID_LOG_INFO, "TuxPaint", "Loading... progress tick %d", prog_bar_ctr);
6964
}
7065
oldtime = newtime;
7166
return;

0 commit comments

Comments
 (0)