From 9fbfe9dea1270095699e7092a59452aba841c9a3 Mon Sep 17 00:00:00 2001 From: Mis012 Date: Thu, 14 Mar 2024 21:31:43 +0100 Subject: [PATCH] api-impl: remove hacky overrides for android.support These were originally needed because the official android.support classes required APIs that we didn't support and it didn't seem worth the effort to make them happy when the actual apps using these compat classes were comparatively trivial. We now support all the necessary APIs, so we can remove the overrides and let the apps use their bundled android.support classes. --- .../support/multidex/MultiDexApplication.java | 22 ---------- .../support/v4/app/FragmentActivity.java | 34 -------------- .../support/v7/app/AppCompatActivity.java | 6 --- .../animation/AccelerateInterpolator.java | 44 ++++++++++++++++++- src/api-impl/meson.build | 3 -- 5 files changed, 43 insertions(+), 66 deletions(-) delete mode 100644 src/api-impl/android/support/multidex/MultiDexApplication.java delete mode 100644 src/api-impl/android/support/v4/app/FragmentActivity.java delete mode 100644 src/api-impl/android/support/v7/app/AppCompatActivity.java diff --git a/src/api-impl/android/support/multidex/MultiDexApplication.java b/src/api-impl/android/support/multidex/MultiDexApplication.java deleted file mode 100644 index 6df27d75..00000000 --- a/src/api-impl/android/support/multidex/MultiDexApplication.java +++ /dev/null @@ -1,22 +0,0 @@ -package android.support.multidex; - -import android.app.Application; -import android.content.Context; - -/** - * Minimal MultiDex capable application. To use the legacy multidex library there is 3 possibility: - *