Updated on 2026-08-14
This commit is contained in:
parent
e78061dac1
commit
9500fd0af9
1 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import android.content.DialogInterface;
|
|||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.WindowManager;
|
||||
import android.widget.ProgressBar;
|
||||
|
||||
import com.tangem.wallet.R;
|
||||
|
|
@ -23,6 +24,12 @@ public class WaitSecurityDelayDialog extends DialogFragment {
|
|||
private int msTimeout = 60000, msProgress = 0;
|
||||
private Timer timer;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
getActivity().getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue