Clean up flavors by using buildConfigField

This commit is contained in:
TacoTheDank
2022-06-05 22:40:26 -04:00
committed by Cameron Gutman
parent 8dd8dbc1d1
commit b5b3d81f00
7 changed files with 10 additions and 24 deletions
@@ -3,12 +3,12 @@ package com.limelight.binding.input.evdev;
import android.app.Activity;
import com.limelight.LimelightBuildProps;
import com.limelight.BuildConfig;
import com.limelight.binding.input.capture.InputCaptureProvider;
public class EvdevCaptureProviderShim {
public static boolean isCaptureProviderSupported() {
return LimelightBuildProps.ROOT_BUILD;
return BuildConfig.ROOT_BUILD;
}
// We need to construct our capture provider using reflection because it isn't included in non-root builds