Skip to content

Commit

Permalink
PIA-936: Fix wrong login screen on amazon firestick
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-juan-docal committed Nov 13, 2023
1 parent efaf5d0 commit d30f93f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public static boolean isAndroidTV(Context context){
public static boolean isAmazon(){
String brand = Build.BRAND;
DLog.d("isAmazon"," " + Build.MODEL + " " + Build.DEVICE + " " + Build.BRAND + " " + Build.PRODUCT + " " + Build.BOARD);
if(!TextUtils.isEmpty(brand))
if(!TextUtils.isEmpty(brand) && BuildConfig.FLAVOR_store.equals("amazonstore"))
return brand.toLowerCase().contains("amazon");
else
return false;
Expand Down

0 comments on commit d30f93f

Please sign in to comment.