From 68ed738dcd02e1c32a92aa787ece1447245f0b76 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Sat, 25 Jul 2020 09:45:33 +0300 Subject: [PATCH] Renamed files --- app/src/main/java/org/schabi/newpipe/player/MainPlayer.java | 6 +++--- .../{activity_main_player.xml => player.xml} | 0 .../res/layout/{activity_main_player.xml => player.xml} | 0 ..._background_notification.xml => player_notification.xml} | 0 ...cation_expanded.xml => player_notification_expanded.xml} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename app/src/main/res/layout-large-land/{activity_main_player.xml => player.xml} (100%) rename app/src/main/res/layout/{activity_main_player.xml => player.xml} (100%) rename app/src/main/res/layout/{player_background_notification.xml => player_notification.xml} (100%) rename app/src/main/res/layout/{player_background_notification_expanded.xml => player_notification_expanded.xml} (100%) diff --git a/app/src/main/java/org/schabi/newpipe/player/MainPlayer.java b/app/src/main/java/org/schabi/newpipe/player/MainPlayer.java index d3bb90660..fe1c95b9c 100644 --- a/app/src/main/java/org/schabi/newpipe/player/MainPlayer.java +++ b/app/src/main/java/org/schabi/newpipe/player/MainPlayer.java @@ -122,7 +122,7 @@ public final class MainPlayer extends Service { } private void createView() { - final View layout = View.inflate(this, R.layout.activity_main_player, null); + final View layout = View.inflate(this, R.layout.player, null); playerImpl = new VideoPlayerImpl(this); playerImpl.setup(layout); @@ -284,9 +284,9 @@ public final class MainPlayer extends Service { private NotificationCompat.Builder createNotification() { notRemoteView = new RemoteViews(BuildConfig.APPLICATION_ID, - R.layout.player_background_notification); + R.layout.player_notification); bigNotRemoteView = new RemoteViews(BuildConfig.APPLICATION_ID, - R.layout.player_background_notification_expanded); + R.layout.player_notification_expanded); setupNotification(notRemoteView); setupNotification(bigNotRemoteView); diff --git a/app/src/main/res/layout-large-land/activity_main_player.xml b/app/src/main/res/layout-large-land/player.xml similarity index 100% rename from app/src/main/res/layout-large-land/activity_main_player.xml rename to app/src/main/res/layout-large-land/player.xml diff --git a/app/src/main/res/layout/activity_main_player.xml b/app/src/main/res/layout/player.xml similarity index 100% rename from app/src/main/res/layout/activity_main_player.xml rename to app/src/main/res/layout/player.xml diff --git a/app/src/main/res/layout/player_background_notification.xml b/app/src/main/res/layout/player_notification.xml similarity index 100% rename from app/src/main/res/layout/player_background_notification.xml rename to app/src/main/res/layout/player_notification.xml diff --git a/app/src/main/res/layout/player_background_notification_expanded.xml b/app/src/main/res/layout/player_notification_expanded.xml similarity index 100% rename from app/src/main/res/layout/player_background_notification_expanded.xml rename to app/src/main/res/layout/player_notification_expanded.xml