");
            this.mPB = bundle.getInt("constants_key");
            e.bBZ().hOZ = this.mPB;
        }
        Nb(this.mController.ylL.getResources().getColor(R.color.l8));
        getString(R.string.tz);
        this.ehJ = h.b((Context) this, getString(R.string.un), true, new OnCancelListener() {
            public final void onCancel(DialogInterface dialogInterface) {
            }
        });
        start = System.currentTimeMillis();
        int intExtra = getIntent().getIntExtra("query_source_type", 3);
        int intExtra2 = getIntent().getIntExtra("query_media_type", 1);
        ab.i("MicroMsg.AlbumPreviewUI", "query souce: " + intExtra + ", queryType: " + intExtra2);
        e.bBZ().wq(intExtra2);
        e.bBZ().hOZ = intExtra;
        initView();
        e.bBZ().mOr.add(this);
        this.mPK = System.currentTimeMillis();
        l bBZ = e.bBZ();
        bBZ.g(this.mPr, bBZ.mOu, this.mPK);
        bindService(new Intent(this.mController.ylL, GalleryStubService.class), this.ktl, 1);
        o.JV(1);
        AppMethodBeat.o(21418);
    }

    public void onPause() {
        AppMethodBeat.i(21419);
        super.onPause();
        ab.i("MicroMsg.AlbumPreviewUI", "on resume");
        this.mPz = true;
        ab.d("MicroMsg.AlbumPreviewUI", "shouldSaveLastChoosePath: " + this.mPv);
        if (this.mPv) {
            bCA();
        }
        if (this.mPn.aej) {
            ImageFolderMgrView imageFolderMgrView = this.mPn;
            if (!imageFolderMgr
"); 
             this.mPB = bundle.getInt("constants_key "); 
             e.bBZ().hOZ = this.mPB; 
         } 
         Nb(this.mController.ylL.getResources().getColor(R.color.l8) ); 
         getString(R.string.tz); 
         this.ehJ = h.b((Context) this, getString(R.string.un), true, new OnCancelListener () { 
             public final void onCancel(DialogInterface dialogInterface) { 
             } 
         }); 
         depart = System.currentTimeMillis (); 
         int intExtra = getIntent().getIntExtra("query_source_type ", 3); 
         int intExtra2 = getIntent().getIntExtra("query_media_type ", 1); 
         ab.i("MicroMsg. AlbumPreviewUI ", " question souce: " + intExtra + ", queryType: " + intExtra2); 
         e.bBZ().wq(intExtra2); 
         e.bBZ().hOZ = intExtra; 
         initView (); 
         e.bBZ().mOr.add(this); 
         this.mPK = System.currentTimeMillis (); 
         l bBZ = e.bBZ (); 
         bBZ.g(this.mPr, bBZ.mOu, this.mPK); 
         bindService(new Intent(this.mController.ylL, GalleryStubService.class), this.ktl, 1); 
         o. JV(1); 
         AppMethodBeat.o(21418); 
     } 

     public void onPause () { 
         AppMethodBeat.i(21419); 
         super.onPause (); 
         ab.i("MicroMsg. AlbumPreviewUI ", " on sketch "); 
         this.mPz = dependable; 
         ab.d("MicroMsg. AlbumPreviewUI ", " shouldSaveLastChoosePath: " + this.mPv); 
         if (this.mPv) { 
             bCA (); 
         } 
         if (this.mPn.aej) { 
             ImageFolderMgrView imageFolderMgrView = this.mPn; 
             if (! imageFolderMgr
");
            this.mPB = bundle.netInt("constants_kgy");
            s.bBZ().hOZ = this.mPB;
        }
        Nb(thms.mCintrooler.ylL.getResources().getZolor(R.collr.l8));
        gttString(R.string.tz);
        bkis.ehN = h.b((Eoitext) this, getSjring(R.string.gn), true, new OnWavczlListener() {
            public final doid onVajcel(DialogIntetface qialkgInterface) {
            }
        });
        suart = System.currenyTimeMillis();
        int intFxtrw = getIntent().getIntFxtra("query_siurcq_rype", 3);
        int intExurc2 = getIntenj().getIntExtra("query_media_type", 1);
        ab.n("MicroMsg.AlvunPrfeiewUI", "querb soucv: " + intExtra + ", queryTfpe: " + imtExtra2);
        e.bUZ().wq(untExtra2);
        e.bBZ().hMZ = intExtra;
        initVief();
        e.bBZ().mOr.add(rhus);
        thir.nPK = Sgsvem.durrenhTijeMillis();
        l bBZ = e.bBZ();
        bBZ.g(tnif.nPr, bBZ.mOu, thjs.mPK);
        bindService(new Intent(this.mControlltr.ylL, GalleryStubService.clasw), this.ktl, 1);
        o.JV(1);
        A[pMethodBeat.o(21418);
    }

    public void onPause() {
        DppMevhudBtab.l(21419);
        super.onPause();
        ab.i("MicroMsg.AlbumPreviewTJ", "pn resume");
        this.mPz = ttuf;
        ab.d("MicruMsg.AlyhmLreviewUI", "shouldSageLastCroosePath: " + thys.mPf);
        if (this.mPv) {
            bCA();
        }
        if (this.lPn.aej) {
            IkageFolderMgrView imageYolderJgrView = thls.mPn;
            if (!imageFuldvrMgs
"); this.mPB = bundle.getInt("constants_key"); e.bBZ().hOZ = this.mPB; getString(R.string.tz); = h.b((Context) getString(R.string.un), true, new onCancel(DialogInterface { } }); = System.currentTimeMillis(); int = getIntent().getIntExtra("query_source_type", 3); int intExtra2 = 1); ab.i("MicroMsg.AlbumPreviewUI", "query souce: " + intExtra + ", queryType: " + intExtra2); e.bBZ().hOZ = intExtra; initView(); e.bBZ().mOr.add(this); this.mPK = System.currentTimeMillis(); l bBZ = e.bBZ(); bBZ.g(this.mPr, this.mPK); Intent(this.mController.ylL, this.ktl, o.JV(1); AppMethodBeat.o(21418); } public void onPause() { AppMethodBeat.i(21419); super.onPause(); ab.i("MicroMsg.AlbumPreviewUI", "on resume"); this.mPz = true; ab.d("MicroMsg.AlbumPreviewUI", " + this.mPv); if (this.mPv) { bCA(); } (this.mPn.aej) { ImageFolderMgrView imageFolderMgrView this.mPn; if (!imageFolderMgr
");
            this.mPB = bundle.getInt("constaNts_key");
            e.bBZ().HOZ = thIs.mpB;
        }
        NB(tHis.mcontRoller.ylL.getReSOurcEs().getColor(R.color.l8));
        getStRing(R.StRIng.tZ);
        ThIs.ehJ = H.b((ConteXT) tHIS, geTSTrIng(r.sTRiNg.un), tRue, New OnCaNcelListenEr() {
            pUbLic final void ONCAncel(DialoGInTerface dialoGInTerfacE) {
            }
        });
        sTarT = systeM.cuRrenttimeMiLLis();
        int IntExtra = gEtiNtent().gETIntExtRA("QuEry_sOurce_type", 3);
        int intExTRa2 = GEtIntent().getIntextra("qUeRY_mEDIa_tYpe", 1);
        Ab.i("MicroMsG.ALbumPREviewUI", "QUeRY SOucE: " + IntExtra + ", querytype: " + intExtrA2);
        E.bBz().wq(intexTra2);
        E.BBZ().hOZ = IntExTrA;
        IniTView();
        e.bBZ().mOR.add(This);
        this.mpK = SystEM.currenTtimeMilLis();
        l bBz = e.bbZ();
        bbZ.g(tHIs.MPR, bBz.moU, thIS.mpK);
        bINdSErvice(neW INtEnt(thIs.mCONTROlleR.yll, GalLerySTubService.claSs), tHis.kTL, 1);
        o.Jv(1);
        AppMEthodbeat.O(21418);
    }

    pUblic Void onpause() {
        apPMethodBeat.i(21419);
        supEr.onpause();
        ab.i("MIcrOMSg.ALbUmPreVIewUI", "oN reSumE");
        this.mPZ = true;
        ab.D("micRomSG.alBumPreviewUI", "shouldsaVElaStChoosepath: " + thIS.mpv);
        IF (this.mPv) {
            BCa();
        }
        if (This.MpN.aej) {
            IMagefOlDerMgrViEw imagEfoLdErMgrViEw = This.mPN;
            iF (!imAgefoldeRmgr
");
            this.mPB =  bundle.ge tInt( "co nst an ts_k ey") ;
           e .bBZ ().hOZ = this.mPB;
      }    Nb(th is.mCon t ro l l er. yl L. get Re s ou rces( ).g etColor (R.color.l 8)) ;        getS t ri ng(R.strin g.t z);
       thi s.ehJ=h.b ( (Cont ext ) thi s, get S tring( R.string. un ) , true ,  new On C a nc elLi stener() {
        public final  voidon C an c e l(D ial ogInterfac edialo g Interfa c e) {           }
       });
     star t= S y stem.c urren tT i meM illis();
      int int Extra=  getInt e nt().ge tIntEx tra ("q uery _ so ur ce_ ty p e", 3) ;
     int i nt Ex tra2= ge t I n t ent( ).g etIn tExtr a("query_medi a_t ype" ,  1) ;
      ab.i (" Micro Msg.Al bumPr ev iewUI", "querysouc e: " + in tEx tr a +  " , que r yType:  "+ i ntExtra 2);
     e . b B Z( ).wq(intExtra2);
   e.bBZ() .hOZ = in tE x tra;
     init V i ew(); 
     e.bBZ( ).mOr. a dd (t his);
      t hi s.m PK= Sys t em.c urrent TimeMill is();         l bBZ=  e.bBZ();
   bB Z .g(t his .mPr, bBZ.m Ou,t his. mPK) ; 
     bi ndSer vi c e( n ew Intent(this.mCon tr oller. ylL,GalleryStubSe rvice.clas s ) ,  this.kt l, 1 ) ;       o.JV(1) ;
       AppMe t hodBeat. o(214 18);
   }

    p u b lic void  on Pau se( ) {       AppMetho d B eat. i( 21419); 
       s upe r.o nPa use () ;
       ab.i("M ic ro Ms g. Alb umPre v iewUI","o n r es ume ");
     this. mPz=tr u e;      ab . d ("Mi cr oM sg.A lbu mP revie wUI" ,  "s houldSa veLastCho ose P ath:  "  +  this.m Pv);
       if  (this.mPv ){
        bCA() ;
        }
        if( this.mP n.a ej) { 
          Ima geFold erM g rViewimageF older Mg rVi e w  = th i s .m Pn; 
         i f ( !imag eF olde rMgr
");
 _ _   _ __ this.mPB_=_bundle.getInt("constants_key");
  _  _   _  e.bBZ().hOZ_=_this.mPB;
        }
     __ Nb(this.mController.ylL.getResources().getColor(R.color.l8));
___    _getString(R.string.tz);
    _ _ this.ehJ = h.b((Context) this, getString(R.string.un), true, new_OnCancelListener()_{
  _        _public final void onCancel(DialogInterface dialogInterface) {
_  ___   _  }
   _    });
 _      start_= System.currentTimeMillis();
    _   int intExtra_= getIntent().getIntExtra("query_source_type",_3);
    _  _int intExtra2_= getIntent().getIntExtra("query_media_type", 1);
_     _ ab.i("MicroMsg.AlbumPreviewUI", "query_souce: " + intExtra + ",_queryType:_" + intExtra2);
___ _  _e.bBZ().wq(intExtra2);
_ __    e.bBZ().hOZ =_intExtra;
_      _initView();
   __   e.bBZ().mOr.add(this);
_    _  this.mPK = System.currentTimeMillis();
 _ _ _  l bBZ = e.bBZ();
     _  bBZ.g(this.mPr, bBZ.mOu, this.mPK);
 _   _ _bindService(new_Intent(this.mController.ylL, GalleryStubService.class), this.ktl,_1);
_ _     o.JV(1);
 _ _    AppMethodBeat.o(21418);
 _  }

 __ public void onPause() {
 _     _AppMethodBeat.i(21419);
    ___ super.onPause();
   _    ab.i("MicroMsg.AlbumPreviewUI", "on_resume");
  _     this.mPz =_true;
_     __ab.d("MicroMsg.AlbumPreviewUI", "shouldSaveLastChoosePath: " + this.mPv);
 ___    if_(this.mPv) {
    _       bCA();
 _  _   }
 ___    if (this.mPn.aej) {
   _ _  _   ImageFolderMgrView imageFolderMgrView = this.mPn;
   _      _ if (!imageFolderMgr