Beispiel #1
0
 public void a(ox oxVar, ActionMenuPresenter actionMenuPresenter) {
     if (oxVar != null || this.b != null) {
         l();
         ox d = this.b.d();
         if (d != oxVar) {
             if (d != null) {
                 d.b(this.F);
                 d.b(this.G);
             }
             if (this.G == null) {
                 this.G = new uy();
             }
             actionMenuPresenter.c(true);
             if (oxVar != null) {
                 oxVar.a((pm) actionMenuPresenter, this.j);
                 oxVar.a(this.G, this.j);
             } else {
                 actionMenuPresenter.a(this.j, null);
                 this.G.a(this.j, null);
                 actionMenuPresenter.a(true);
                 this.G.a(true);
             }
             this.b.setPopupTheme(this.k);
             this.b.setPresenter(actionMenuPresenter);
             this.F = actionMenuPresenter;
         }
     }
 }
Beispiel #2
0
 private void k() {
     l();
     if (this.b.d() == null) {
         ox oxVar = (ox) this.b.getMenu();
         if (this.G == null) {
             this.G = new uy();
         }
         this.b.setExpandedActionViewsExclusive(true);
         oxVar.a(this.G, this.j);
     }
 }