修复通知栏问题
This commit is contained in:
parent
a6672148c6
commit
188a1d4a06
|
@ -68,6 +68,7 @@ public class home extends AppCompatActivity {
|
||||||
browserConnectionCallback,//设置连接回调
|
browserConnectionCallback,//设置连接回调
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
mBrowser.connect();
|
||||||
//检测更新
|
//检测更新
|
||||||
new gj.jianchagengxin(this);
|
new gj.jianchagengxin(this);
|
||||||
binding.editView.setOnClickListener(view ->
|
binding.editView.setOnClickListener(view ->
|
||||||
|
@ -79,20 +80,6 @@ public class home extends AppCompatActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ComponentName componentName;
|
public static ComponentName componentName;
|
||||||
@Override
|
|
||||||
protected void onStart() {
|
|
||||||
super.onStart();
|
|
||||||
//Browser发送连接请求
|
|
||||||
mBrowser.connect();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void onStop() {
|
|
||||||
super.onStop();
|
|
||||||
mBrowser.disconnect();
|
|
||||||
}
|
|
||||||
|
|
||||||
private final List<Fragment> list = new ArrayList<>();
|
private final List<Fragment> list = new ArrayList<>();
|
||||||
private class adaper extends FragmentStateAdapter {
|
private class adaper extends FragmentStateAdapter {
|
||||||
public adaper(@NonNull FragmentActivity fragmentActivity) {
|
public adaper(@NonNull FragmentActivity fragmentActivity) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user