File tree 1 file changed +3
-3
lines changed
iterableapi/src/main/java/com/iterable/iterableapi
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ public void onActivityStarted(Activity activity) {
57
57
@ Override
58
58
public void onActivityResumed (Activity activity ) {
59
59
currentActivity = new WeakReference <>(activity );
60
- final String AMAZON_FEATURE_FIRE_TV = "amazon.hardware.fire_tv" ;
61
- String AMAZON_MODEL = Build .MODEL ;
60
+ String amazonFireTvHardware = "amazon.hardware.fire_tv" ;
61
+ String amazonModel = Build .MODEL ;
62
62
63
- if (!inForeground || AMAZON_MODEL .matches ("AFTN" ) || activity .getPackageManager ().hasSystemFeature (AMAZON_FEATURE_FIRE_TV )) {
63
+ if (!inForeground || amazonModel .matches ("AFTN" ) || activity .getPackageManager ().hasSystemFeature (amazonFireTvHardware )) {
64
64
inForeground = true ;
65
65
for (WeakReference <AppStateCallback > callback : callbacks ) {
66
66
if (callback .get () != null ) {
You can’t perform that action at this time.
0 commit comments