Update to Android Studio 3.4 and fix the non working Restore/Delete backup.

This commit is contained in:
dgis 2019-04-19 19:27:23 +02:00
parent 6b5c6dc51f
commit f511c7238e
6 changed files with 9 additions and 7 deletions

View file

@ -45,6 +45,7 @@ CHANGES
Version 1.4 (2019-04-xx)
- Fix the authentic speed issue at the first start.
- Fix the non working Restore/Delete backup.
Version 1.3 (2019-04-04)

View file

@ -47,6 +47,7 @@ CHANGES
Version 1.4 (2019-04-xx)
- Fix the authentic speed issue at the first start.
- Fix the non working Restore/Delete backup.
Version 1.3 (2019-04-04)

View file

@ -904,7 +904,7 @@ JNIEXPORT void JNICALL Java_org_emulator_forty_eight_NativeLib_setConfiguration(
bRealSpeed = (BOOL) intValue1;
SetSpeed(bRealSpeed); // set speed
} else if(_tcscmp(_T("settings_grayscale"), configKey) == 0) {
// LCD grayscale checkbox has been changed
// LCD grayscale checkOnBackupDeletebox has been changed
if (bGrayscale != (BOOL)intValue1) {
UINT nOldState = SwitchToState(SM_INVALID);
SetLcdMode(!bGrayscale); // set new display mode

View file

@ -738,15 +738,15 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
}
private void OnBackupSave() {
NativeLib.onBackupSave();
updateNavigationDrawerItems();
}
private void OnBackupRestore() {
NativeLib.onBackupRestore();
updateNavigationDrawerItems();
}
private void OnBackupDelete() {
NativeLib.onBackupDelete();
updateNavigationDrawerItems();
}
private void OnViewScript() {
if (NativeLib.getState() != 0 /*SM_RUN*/) {

View file

@ -7,7 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.android.tools.build:gradle:3.4.0'
// NOTE: Do not place your application dependencies here; they belong

View file

@ -1,6 +1,6 @@
#Thu Jan 17 15:25:15 CET 2019
#Fri Apr 19 10:09:27 CEST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip