clean
This commit is contained in:
parent
73c9e639b6
commit
85ffb4064b
|
@ -749,9 +749,9 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
chromeCast = chromeCasts.get(position);
|
||||
new Thread(() -> {
|
||||
if (chromeCast != null) {
|
||||
Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS);
|
||||
Bundle b = new Bundle();
|
||||
if (chromecastActivated) {
|
||||
Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS);
|
||||
Bundle b = new Bundle();
|
||||
b.putInt("displayed", 0);
|
||||
intentBC.putExtras(b);
|
||||
LocalBroadcastManager.getInstance(PeertubeActivity.this).sendBroadcast(intentBC);
|
||||
|
@ -763,8 +763,6 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
mainHandler.post(myRunnable);
|
||||
|
||||
} else {
|
||||
Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS);
|
||||
Bundle b = new Bundle();
|
||||
b.putInt("displayed", 1);
|
||||
b.putParcelable("castedTube", peertube);
|
||||
intentBC.putExtras(b);
|
||||
|
|
Loading…
Reference in New Issue