Silence lint error related to calling private method through reflection

This commit is contained in:
Alexander Bakker 2022-02-04 20:39:56 +01:00
parent 39a5dc3ee8
commit 119c3838e1

View file

@ -1,5 +1,6 @@
package com.beemdevelopment.aegis.ui;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Intent;
@ -71,6 +72,7 @@ public abstract class AegisActivity extends AppCompatActivity implements AegisAp
_app.setBlockAutoLock(false);
}
@SuppressLint("SoonBlockedPrivateApi")
@Override
public void onLocked(boolean userInitiated) {
setResult(RESULT_CANCELED, null);