update stuff? (how is this not here already?)

This commit is contained in:
Bluzume 2021-08-05 00:38:18 +12:00
parent 8ff4e9a3f1
commit 51dd7b7e20
5 changed files with 7 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ android {
* Project Identification
*/
applicationId "com.silica.kitsune" // Change this to your applicationId.
versionCode 1 // Set this to a higher number for game updates.
versionCode 2 // Set this to a higher number for game updates.
versionName "rc6" // This is the version that the player sees.
compileSdkVersion ANDROID_SDK_TARGET

View File

@ -24,7 +24,7 @@
<application
android:label="@string/app_name"
android:icon="@mipmap/app_icon"
android:theme="@style/AppTheme"
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
android:allowBackup="true"
android:fullBackupContent="true">

View File

@ -17,6 +17,7 @@
package com.silica.kitsune;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.Activity;
import android.content.DialogInterface;
import android.net.Uri;
@ -25,6 +26,7 @@ import android.os.Bundle;
import androidx.appcompat.app.AlertDialog;
import android.view.View;
import android.view.WindowManager;
import java.io.File;
@ -56,7 +58,6 @@ public class WebPlayerActivity extends Activity {
mSystemUiVisibility |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
}
}
mPlayer = PlayerHelper.create(this);
mPlayer.setKeepScreenOn();

View File

@ -27,6 +27,7 @@ import android.os.Build;
import android.os.Message;
import android.util.AttributeSet;
import android.view.View;
import android.view.WindowManager;
import android.webkit.ConsoleMessage;
import android.webkit.WebChromeClient;
import android.webkit.WebResourceError;
@ -71,7 +72,7 @@ public class WebPlayerView extends WebView {
private void init(Context context) {
mPlayer = new WebPlayer(this);
setBackgroundColor(Color.BLACK);
setBackgroundColor(Color.WHITE);
enableJavascript();