Lib update + fix TransactionTooLargeException

This commit is contained in:
Thomas 2025-02-25 09:47:53 +01:00
parent a20f583dee
commit ef50b5261a
5 changed files with 18 additions and 14 deletions

View file

@ -27,6 +27,7 @@ import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate;
@ -169,4 +170,11 @@ public class BaseActivity extends AppCompatActivity {
}
super.attachBaseContext(newBase);
}
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.clear();
}
}

View file

@ -27,6 +27,7 @@ import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate;
@ -144,4 +145,11 @@ public class BaseBarActivity extends AppCompatActivity {
super.attachBaseContext(newBase);
}
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.clear();
}
}

View file

@ -132,12 +132,6 @@ public class ContextActivity extends BaseActivity implements FragmentMastodonCon
}
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.clear();
}
private void manageTopBarScrolling(Toolbar toolbar, SharedPreferences sharedpreferences) {
final boolean topBarScrolling = !sharedpreferences.getBoolean(getString(R.string.SET_DISABLE_TOPBAR_SCROLLING), false);

View file

@ -260,12 +260,6 @@ public class ProfileActivity extends BaseActivity {
}
}
@Override
protected void onSaveInstanceState(@NonNull Bundle outState) {
super.onSaveInstanceState(outState);
outState.clear();
}
private void initializeView(Account account) {
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(ProfileActivity.this);
if (account == null) {

View file

@ -8,8 +8,8 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:8.8.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.5"
classpath 'com.google.gms:google-services:4.4.0'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.8.7"
classpath 'com.google.gms:google-services:4.4.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}