Skip to content

Commit

Permalink
修BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
sifacaii committed May 22, 2023
1 parent da5e0c1 commit df17efe
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions app/src/main/java/org/sifacai/vlcjellyfin/Dlna/DlnaActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ protected void onCreate(Bundle savedInstanceState) {
getSupportActionBar().hide();

broadCastTheader.SetHandler(handler);
broadCastTheader.start();

findViewById(R.id.refresh).setOnClickListener(new View.OnClickListener() {
@Override
Expand Down Expand Up @@ -113,26 +114,10 @@ public void onError(String str) {
});
}

@Override
protected void onStart() {
super.onStart();
broadCastTheader.start();
}

@Override
protected void onPause() {
super.onPause();
}

@Override
protected void onStop() {
super.onStop();
broadCastTheader.Stop();
}

@Override
protected void onDestroy() {
super.onDestroy();
broadCastTheader.Stop();
}

}

0 comments on commit df17efe

Please sign in to comment.