public void a(b paramb, int paramInt) { int i1 = 0; k(); if (paramb == null) { Log.debug("DisplayView|No banner provided, skipping display"); } do { for (; ; ) { return; this.a = paramb; if (this.a.d != null) { paramb = getContext().getPackageName(); i1 = getResources().getIdentifier(this.a.d, "layout", paramb); } if (i1 == 0) { Log.warn("DisplayView|Wrong banner template provided : " + this.a.d + " using default"); if (this.b != null) { this.b.e(this); } } else { try { this.m = LayoutInflater.from(getContext()).inflate(i1, this, false); h(); this.l = paramInt; if ((this.c == null) && ((this.l & 0x1) == 0)) { this.l = (paramInt | 0x1); } i(); if (this.c == null) { l(); return; } } catch (InflateException paramb) { Log.error( "DisplayView|A fatal error occured when inflating template " + this.a.d + " or default template. Aborting display..", paramb); } } } } while (this.b == null); this.b.e(this); }