move firetv utils into utils package

This commit is contained in:
Christian Schabesberger 2019-02-19 14:57:49 +01:00
parent c08197f025
commit 4b5591d884
2 changed files with 2 additions and 3 deletions

View file

@ -0,0 +1,10 @@
package org.schabi.newpipe.util;
import org.schabi.newpipe.App;
public class FireTvUtils {
public static boolean isFireTv(){
final String AMAZON_FEATURE_FIRE_TV = "amazon.hardware.fire_tv";
return App.getApp().getPackageManager().hasSystemFeature(AMAZON_FEATURE_FIRE_TV);
}
}