com.appnexus.oas.mobilesdk.adcontroller.adgenerator.XMraidDeviceFeatures.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appnexusoasmobileadsdk-test Show documentation
Show all versions of appnexusoasmobileadsdk-test Show documentation
AppNexus OpenAdStream Android Advertising Libraries
???? 2
Hcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidDeviceFeatures java/lang/Object context Landroid/content/Context;
xMraidWebView CLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidWebView; isSmsSupport Ljava/lang/Boolean; isPhoneSupport isCalendarSupport isPictureSupport isInlineVideoSupport featureSupportHandler PLcom/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener$FeatureSupportHandler; TAG Ljava/lang/String;
dateFormat Ljava/text/SimpleDateFormat; ^$SWITCH_TABLE$com$appnexus$oas$mobilesdk$adcontroller$adgenerator$XMraidConfiguration$FEATURES [I _(Landroid/content/Context;Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidWebView;)V Code
()V
"
$
&
( ) * getClass ()Ljava/lang/Class;
, . - java/lang/Class / 0
getSimpleName ()Ljava/lang/String; 2 4 6 8 LineNumberTable LocalVariableTable this JLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidDeviceFeatures; container isSupported U(Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$FEATURES;)Z
A B ()[I
D F E Pcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$FEATURES G H ordinal ()I
J K L
smsSupport ()Z
N O L phoneSupport
Q R L calendarSupport
T U L storePictureSupport
W X L inlineVideoSupport feature RLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$FEATURES;
StackMapTable setFeatureSupportHandler S(Lcom/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener$FeatureSupportHandler;)V _ handler getFeatureSupportHandler R()Lcom/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener$FeatureSupportHandler;
d f e java/lang/Boolean g h valueOf (Z)Ljava/lang/Boolean; j java/lang/StringBuilder l storePictureSupport():
i n o (Ljava/lang/String;)V
i q r s append -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
i u v 0 toString
x z y -com/appnexus/oas/mobilesdk/utilities/XLogUtil { | d '(Ljava/lang/String;Ljava/lang/String;)V
d ~ L booleanValue ? android.permission.SEND_SMS
? ? ? android/content/Context ? ? checkCallingOrSelfPermission (Ljava/lang/String;)I ?
smsSupport(): ? android.permission.CALL_PHONE ? phoneSupport(): ? !android.permission.WRITE_CALENDAR ? android.permission.READ_CALENDAR ? calendarSupport(): parseDateString $(Ljava/lang/String;)Ljava/lang/Long; ? java/text/SimpleDateFormat ? yyyy-MM-FF'T'HH:mmZ
? n
? ? ? ? parse $(Ljava/lang/String;)Ljava/util/Date;
? ? ? java/util/Date ? ? getTime ()J
? ? ? java/lang/Long g ? (J)Ljava/lang/Long; ? +Device Features exception parsing in date :
? ? ? java/lang/Exception ? 0
getMessage
i ? r ? -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? java/lang/System ? ? currentTimeMillis input myDate Ljava/util/Date; ex Ljava/lang/Exception; error ? ? ? android/os/Build$VERSION ? ? SDK_INT I honeycomb playVideo &(Ljava/lang/String;)Ljava/lang/String;
? ? ? android/net/Uri ? ? %(Ljava/lang/String;)Landroid/net/Uri; ? android/content/Intent ? android.intent.action.VIEW
? ? ? &(Ljava/lang/String;Landroid/net/Uri;)V
? ? ? ? getPackageManager %()Landroid/content/pm/PackageManager;
? ? ? ? resolveActivity D(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName; ? ,No video playback handler found, skipping...
? ? ? ?
startActivity (Landroid/content/Intent;)V videoUrl uri Landroid/net/Uri; i Landroid/content/Intent; ?
D ? ? ? values U()[Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$FEATURES; D ? ? Z CALENDAR D ? ? Z INLINE_VIDEO D ? ? Z SMS D ? ? Z
STORE_PICTURE D ? ? Z TEL ? java/lang/NoSuchFieldError
SourceFile XMraidDeviceFeatures.java InnerClasses android/os/Build VERSION Gcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration FEATURES Ncom/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener$FeatureSupportHandler 8com/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener FeatureSupportHandler !
? 8*? *? *? *? !*? #*? %**? '? +? 1*? 3*+? 5*,? 7? 9 . ( ? - ! 2 " 7 # : 8 ; <