Adding release to google changes.

This commit is contained in:
Sergiotarxz 2024-08-05 23:20:31 +02:00
parent 4bc7c9c584
commit 598fa55800
6 changed files with 23 additions and 2 deletions

View File

@ -8,7 +8,7 @@ android {
defaultConfig {
applicationId "me.sergiotarxz.bedrockstation"
minSdk 33
minSdk 14
targetSdk 34
versionCode 1
versionName "1.0"
@ -16,12 +16,23 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
storeFile file("<file>")
storePassword "<store pass>"
keyAlias "<alias>"
keyPassword "<pass>"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17

View File

@ -0,0 +1,3 @@
<resources>
<string name="app_name">BedrockStation (Demo)</string>
</resources>

View File

@ -42,13 +42,18 @@ import android.os.Handler;
import android.os.Message;
public class CountDownStartProxy extends AppCompatActivity {
static int SECONDS = 5;
static int SECONDS = 60;
int seconds = SECONDS;
TextView secondsToWaitTextView;
Timer timer;
int messageNumber = 0;
static AppCompatActivity activity;
@Override
protected void onStop() {
super.onStop();
timer.cancel();
}
@Override
protected void onStart() {
super.onStart();
seconds = SECONDS;

View File

@ -164,6 +164,7 @@ public class MainActivity extends AppCompatActivity {
options.set(Options.PORT_SELECTED, options.get(Options.PORT_CACHE));
if (Premium.ENABLED) {
startServiceProxy();
return;
}
Intent intent = new Intent(this, CountDownStartProxy.class);
startActivity(intent);
@ -390,6 +391,7 @@ public class MainActivity extends AppCompatActivity {
if (isGranted) {
if (Premium.ENABLED) {
startServiceProxy();
return;
}
Intent intent = new Intent(this, CountDownStartProxy.class);
startActivity(intent);

BIN
stupid_art_for_google.kra Normal file

Binary file not shown.

BIN
stupid_art_for_google.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB