Commit 6443a94e authored by jianglx's avatar jianglx

修改弹框停留的时间

parent da9b1214
...@@ -108,7 +108,7 @@ public class CustomerListActivity extends BaseStatusActivity<CommonPresenter> im ...@@ -108,7 +108,7 @@ public class CustomerListActivity extends BaseStatusActivity<CommonPresenter> im
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
if (!Settings.canDrawOverlays(this)) { if (!Settings.canDrawOverlays(this)) {
new AlertDialog.Builder(this).setTitle("提示") new AlertDialog.Builder(this).setTitle("提示")
.setMessage("允许滴房车在其他应用上层显示,实时获知新消息") .setMessage("允许在手机上层显示,实时获知新消息")
.setNegativeButton("下次再说", (dialogInterface, i) -> { .setNegativeButton("下次再说", (dialogInterface, i) -> {
dialogInterface.dismiss(); dialogInterface.dismiss();
}).setPositiveButton("好的", (dialogInterface, i) -> { }).setPositiveButton("好的", (dialogInterface, i) -> {
......
...@@ -103,7 +103,7 @@ public class TitleTextWindow implements View.OnTouchListener { ...@@ -103,7 +103,7 @@ public class TitleTextWindow implements View.OnTouchListener {
createTitleView(); createTitleView();
animShow(); animShow();
//3S后自动关闭 //3S后自动关闭
mHander.sendEmptyMessageDelayed(20, 1000); mHander.sendEmptyMessageDelayed(20, 2000);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment