mirror of
				https://framagit.org/tom79/fedilab-tube
				synced 2025-06-05 21:09:11 +02:00 
			
		
		
		
	Some fixes
This commit is contained in:
		| @@ -860,9 +860,9 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd | |||||||
|             @Override |             @Override | ||||||
|             public void onReceive(Context context, Intent intent) { |             public void onReceive(Context context, Intent intent) { | ||||||
|                 String strAction = intent.getAction(); |                 String strAction = intent.getAction(); | ||||||
|                 if (strAction.equals(Intent.ACTION_SCREEN_OFF) || strAction.equals(Intent.ACTION_SCREEN_ON)) { |                 if (strAction.equals(Intent.ACTION_SCREEN_OFF)) { | ||||||
|                     if (player != null && isPlayInMinimized) { |                     if (player != null && isPlayInMinimized) { | ||||||
|                         player.setPlayWhenReady(!strAction.equals(Intent.ACTION_SCREEN_OFF)); |                         player.setPlayWhenReady(false); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user