Update appcompat lib

This commit is contained in:
xynngh 2020-08-08 12:12:56 +04:00
parent f5ecc3f711
commit b3912358ca
2 changed files with 1 additions and 8 deletions

View File

@ -47,7 +47,7 @@ dependencies {
implementation 'com.gitlab.xynngh:LibPhoneNumberInfo:fd60ad9583' implementation 'com.gitlab.xynngh:LibPhoneNumberInfo:fd60ad9583'
implementation 'org.apache.commons:commons-csv:1.8' implementation 'org.apache.commons:commons-csv:1.8'
implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.recyclerview:recyclerview-selection:1.0.0' implementation 'androidx.recyclerview:recyclerview-selection:1.0.0'
implementation 'com.google.android.material:material:1.2.0' implementation 'com.google.android.material:material:1.2.0'

View File

@ -3,7 +3,6 @@ package dummydomain.yetanothercallblocker;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
import android.os.AsyncTask; import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.os.Parcelable; import android.os.Parcelable;
@ -90,12 +89,6 @@ public class MainActivity extends AppCompatActivity {
@Override @Override
protected void onStart() { protected void onStart() {
// workaround for a black/non-responsive activity after theme change
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
&& Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) {
getDelegate().setLocalNightMode(settings.getUiMode());
}
super.onStart(); super.onStart();
EventUtils.register(this); EventUtils.register(this);