JunZhang
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
app/src/main/java/com/cobo/cold/ui/SetupVaultActivity.java
|
|
@ -19,6 +19,7 @@ package com.cobo.cold.ui; |
|
|
|
|
|
|
|
import android.content.Intent; |
|
|
|
import android.os.Bundle; |
|
|
|
import android.view.WindowManager; |
|
|
|
|
|
|
|
import androidx.annotation.NonNull; |
|
|
|
import androidx.databinding.DataBindingUtil; |
|
|
@ -51,6 +52,7 @@ public class SetupVaultActivity extends FullScreenActivity { |
|
|
|
SetupVaultViewModel model = ViewModelProviders.of(this).get(SetupVaultViewModel.class); |
|
|
|
model.setPassword(password); |
|
|
|
} |
|
|
|
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); |
|
|
|
} |
|
|
|
|
|
|
|
private void setupNavController(Bundle savedInstanceState) { |
|
|
|