mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-23 09:30:57 +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;
|
package com.beemdevelopment.aegis.ui;
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.ActivityNotFoundException;
|
import android.content.ActivityNotFoundException;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -71,6 +72,7 @@ public abstract class AegisActivity extends AppCompatActivity implements AegisAp
|
||||||
_app.setBlockAutoLock(false);
|
_app.setBlockAutoLock(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressLint("SoonBlockedPrivateApi")
|
||||||
@Override
|
@Override
|
||||||
public void onLocked(boolean userInitiated) {
|
public void onLocked(boolean userInitiated) {
|
||||||
setResult(RESULT_CANCELED, null);
|
setResult(RESULT_CANCELED, null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue