public void onEvent(f f) { a.b(false); }
static String a(Context context, String str, String str2, int i) { String str3 = ","; String str4 = "android.intent.action.VIEW"; String str5 = AdManager.LOG; String str6 = AdManager.LOG; if (Log.isLoggable(str5, R.styleable.com_admob_android_ads_AdView_keywords)) { str6 = AdManager.LOG; Log.d(str5, "Ad request:"); } StringBuilder stringBuilder = new StringBuilder(); long currentTimeMillis = System.currentTimeMillis(); stringBuilder .append("z") .append("=") .append(currentTimeMillis / 1000) .append(".") .append(currentTimeMillis % 1000); a(stringBuilder, "rt", "0"); String publisherId = AdManager.getPublisherId(context); if (publisherId == null) { throw new IllegalStateException( "Publisher ID is not set! To serve ads you must set your publisher ID assigned from www.admob.com. Either add it to AndroidManifest.xml under the <application> tag or call AdManager.setPublisherId()."); } a(stringBuilder, "s", publisherId); a(stringBuilder, "l", o.a()); a(stringBuilder, "f", "jsonp"); a(stringBuilder, "client_sdk", "1"); a(stringBuilder, "ex", "1"); a(stringBuilder, "v", AdManager.SDK_VERSION); a(stringBuilder, "isu", AdManager.getUserId(context)); a(stringBuilder, "so", AdManager.getOrientation(context)); if (i > 0) { a(stringBuilder, "screen_width", String.valueOf(i)); } a(stringBuilder, "d[coord]", AdManager.a(context)); a(stringBuilder, "d[coord_timestamp]", AdManager.a()); a(stringBuilder, "d[pc]", AdManager.getPostalCode()); a(stringBuilder, "d[dob]", AdManager.b()); a(stringBuilder, "d[gender]", AdManager.c()); a(stringBuilder, "k", str); a(stringBuilder, "search", str2); a(stringBuilder, "density", String.valueOf(g.c())); if (AdManager.isTestDevice(context)) { publisherId = AdManager.LOG; if (Log.isLoggable(str5, R.styleable.com_admob_android_ads_AdView_refreshInterval)) { publisherId = AdManager.LOG; Log.i(str5, "Making ad request in test mode"); } a(stringBuilder, "m", "test"); a(stringBuilder, "test_action", AdManager.getTestAction()); } if (d == null) { StringBuilder stringBuilder2 = new StringBuilder(); PackageManager packageManager = context.getPackageManager(); String str7 = "android.intent.action.VIEW"; List queryIntentActivities = packageManager.queryIntentActivities( new Intent(str4, Uri.parse("geo:0,0?q=donuts")), 65536); if (queryIntentActivities == null || queryIntentActivities.size() == 0) { stringBuilder2.append("m"); } str7 = "android.intent.action.VIEW"; queryIntentActivities = packageManager.queryIntentActivities( new Intent(str4, Uri.parse("market://search?q=pname:com.admob")), 65536); if (queryIntentActivities == null || queryIntentActivities.size() == 0) { if (stringBuilder2.length() > 0) { String str8 = ","; stringBuilder2.append(str3); } stringBuilder2.append("a"); } str7 = "android.intent.action.VIEW"; List queryIntentActivities2 = packageManager.queryIntentActivities( new Intent(str4, Uri.parse("tel://6509313940")), 65536); if (queryIntentActivities2 == null || queryIntentActivities2.size() == 0) { if (stringBuilder2.length() > 0) { String str9 = ","; stringBuilder2.append(str3); } stringBuilder2.append("t"); } d = stringBuilder2.toString(); } publisherId = d; if (publisherId != null && publisherId.length() > 0) { a(stringBuilder, "ic", publisherId); } int i2 = b + 1; b = i2; if (i2 == 1) { c = System.currentTimeMillis(); a(stringBuilder, "pub_data[identifier]", AdManager.getApplicationPackageName(context)); a( stringBuilder, "pub_data[version]", String.valueOf(AdManager.getApplicationVersion(context))); } else { a(stringBuilder, "stats[reqs]", String.valueOf(b)); a(stringBuilder, "stats[time]", String.valueOf((System.currentTimeMillis() - c) / 1000)); } return stringBuilder.toString(); }