Skip to content

Commit a14fe03

Browse files
committed
Dont restart the TvInputService during migrations
1 parent 2494086 commit a14fe03

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

app/src/main/java/ie/macinnes/tvheadend/migrate/MigrateUtils.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ protected static void migrateMediaPlayerVlcRemoval(Context context) {
9393
editor.remove("vlc_deinterlace_enabled");
9494
editor.remove("vlc_deinterlace_method");
9595
editor.commit();
96-
97-
// Restart the TvInputService
98-
Intent i = new Intent(context, TvInputService.class);
99-
context.stopService(i);
100-
context.startService(i);
101-
10296
}
10397
protected static void migrateExoPlayerHttpRemoval(Context context) {
10498
SharedPreferences sharedPreferences = context.getSharedPreferences(
@@ -107,11 +101,6 @@ protected static void migrateExoPlayerHttpRemoval(Context context) {
107101
SharedPreferences.Editor editor = sharedPreferences.edit();
108102
editor.remove("http_stream_profile");
109103
editor.commit();
110-
111-
// Restart the TvInputService
112-
Intent i = new Intent(context, TvInputService.class);
113-
context.stopService(i);
114-
context.startService(i);
115104
}
116105
}
117106

0 commit comments

Comments
 (0)