mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-03 20:04:49 +00:00
Silence lint error related to calling private method through reflection
This commit is contained in:
parent
39a5dc3ee8
commit
119c3838e1
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue