[android] Multidex library is not needed for Android 5+ targets

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2022-06-10 01:09:37 +02:00 committed by Viktor Govako
parent 8ad687e27e
commit 95eb7e4dc7
2 changed files with 0 additions and 10 deletions

View file

@ -82,7 +82,6 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.fragment:fragment:1.4.1'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.preference:preference:1.2.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.work:work-runtime:2.7.1'

View file

@ -7,7 +7,6 @@ import android.os.Handler;
import android.os.Message;
import androidx.annotation.NonNull;
import androidx.multidex.MultiDex;
import com.mapswithme.maps.background.AppBackgroundTracker;
import com.mapswithme.maps.background.NotificationChannelFactory;
@ -100,14 +99,6 @@ public class MwmApplication extends Application implements AppBackgroundTracker.
return context.getSharedPreferences(context.getString(R.string.pref_file_name), MODE_PRIVATE);
}
@Override
protected void attachBaseContext(Context base)
{
super.attachBaseContext(base);
MultiDex.install(this);
}
@SuppressWarnings("ResultOfMethodCallIgnored")
@Override
public void onCreate()
{