cq.java
24.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
import android.os.Bundle;
import android.support.v4.app.FragmentHostCallback;
import android.support.v4.app.LoaderManager;
import android.support.v4.app.LoaderManager.LoaderCallbacks;
import android.support.v4.content.Loader;
import android.support.v4.content.Loader.OnLoadCanceledListener;
import android.support.v4.content.Loader.OnLoadCompleteListener;
import android.support.v4.util.DebugUtils;
import android.support.v4.util.SparseArrayCompat;
import android.util.Log;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.lang.reflect.Modifier;
public final class cq
extends LoaderManager
{
public static boolean a = false;
public final SparseArrayCompat<cq.a> b = new SparseArrayCompat();
final SparseArrayCompat<cq.a> c = new SparseArrayCompat();
public final String d;
public boolean e;
public boolean f;
boolean g;
public FragmentHostCallback h;
public cq(String paramString, FragmentHostCallback paramFragmentHostCallback, boolean paramBoolean)
{
this.d = paramString;
this.h = paramFragmentHostCallback;
this.e = paramBoolean;
}
private cq.a a(int paramInt, Bundle paramBundle, LoaderManager.LoaderCallbacks<Object> paramLoaderCallbacks)
{
cq.a locala = new cq.a(paramInt, paramBundle, paramLoaderCallbacks);
locala.d = paramLoaderCallbacks.onCreateLoader(paramInt, paramBundle);
return locala;
}
private cq.a b(int paramInt, Bundle paramBundle, LoaderManager.LoaderCallbacks<Object> paramLoaderCallbacks)
{
try
{
this.g = true;
paramBundle = a(paramInt, paramBundle, paramLoaderCallbacks);
a(paramBundle);
return paramBundle;
}
finally
{
this.g = false;
}
}
public final void a()
{
if (a) {
Log.v("LoaderManager", "Starting in " + this);
}
if (this.e)
{
RuntimeException localRuntimeException = new RuntimeException("here");
localRuntimeException.fillInStackTrace();
Log.w("LoaderManager", "Called doStart when already started: " + this, localRuntimeException);
}
for (;;)
{
return;
this.e = true;
int i = this.b.size() - 1;
while (i >= 0)
{
((cq.a)this.b.valueAt(i)).a();
i -= 1;
}
}
}
final void a(cq.a parama)
{
this.b.put(parama.a, parama);
if (this.e) {
parama.a();
}
}
public final void b()
{
if (a) {
Log.v("LoaderManager", "Stopping in " + this);
}
if (!this.e)
{
RuntimeException localRuntimeException = new RuntimeException("here");
localRuntimeException.fillInStackTrace();
Log.w("LoaderManager", "Called doStop when not started: " + this, localRuntimeException);
return;
}
int i = this.b.size() - 1;
while (i >= 0)
{
((cq.a)this.b.valueAt(i)).b();
i -= 1;
}
this.e = false;
}
public final void c()
{
if (a) {
Log.v("LoaderManager", "Retaining in " + this);
}
Object localObject;
if (!this.e)
{
localObject = new RuntimeException("here");
((RuntimeException)localObject).fillInStackTrace();
Log.w("LoaderManager", "Called doRetain when not started: " + this, (Throwable)localObject);
}
for (;;)
{
return;
this.f = true;
this.e = false;
int i = this.b.size() - 1;
while (i >= 0)
{
localObject = (cq.a)this.b.valueAt(i);
if (a) {
Log.v("LoaderManager", " Retaining: " + localObject);
}
((cq.a)localObject).i = true;
((cq.a)localObject).j = ((cq.a)localObject).h;
((cq.a)localObject).h = false;
((cq.a)localObject).c = null;
i -= 1;
}
}
}
public final void d()
{
int i = this.b.size() - 1;
while (i >= 0)
{
((cq.a)this.b.valueAt(i)).k = true;
i -= 1;
}
}
public final void destroyLoader(int paramInt)
{
if (this.g) {
throw new IllegalStateException("Called while creating a loader");
}
if (a) {
Log.v("LoaderManager", "destroyLoader in " + this + " of " + paramInt);
}
int i = this.b.indexOfKey(paramInt);
cq.a locala;
if (i >= 0)
{
locala = (cq.a)this.b.valueAt(i);
this.b.removeAt(i);
locala.c();
}
paramInt = this.c.indexOfKey(paramInt);
if (paramInt >= 0)
{
locala = (cq.a)this.c.valueAt(paramInt);
this.c.removeAt(paramInt);
locala.c();
}
if ((this.h != null) && (!hasRunningLoaders())) {
this.h.f.a();
}
}
public final void dump(String paramString, FileDescriptor paramFileDescriptor, PrintWriter paramPrintWriter, String[] paramArrayOfString)
{
int j = 0;
String str;
int i;
cq.a locala;
if (this.b.size() > 0)
{
paramPrintWriter.print(paramString);
paramPrintWriter.println("Active Loaders:");
str = paramString + " ";
i = 0;
while (i < this.b.size())
{
locala = (cq.a)this.b.valueAt(i);
paramPrintWriter.print(paramString);
paramPrintWriter.print(" #");
paramPrintWriter.print(this.b.keyAt(i));
paramPrintWriter.print(": ");
paramPrintWriter.println(locala.toString());
locala.a(str, paramFileDescriptor, paramPrintWriter, paramArrayOfString);
i += 1;
}
}
if (this.c.size() > 0)
{
paramPrintWriter.print(paramString);
paramPrintWriter.println("Inactive Loaders:");
str = paramString + " ";
i = j;
while (i < this.c.size())
{
locala = (cq.a)this.c.valueAt(i);
paramPrintWriter.print(paramString);
paramPrintWriter.print(" #");
paramPrintWriter.print(this.c.keyAt(i));
paramPrintWriter.print(": ");
paramPrintWriter.println(locala.toString());
locala.a(str, paramFileDescriptor, paramPrintWriter, paramArrayOfString);
i += 1;
}
}
}
public final void e()
{
int i = this.b.size() - 1;
while (i >= 0)
{
cq.a locala = (cq.a)this.b.valueAt(i);
if ((locala.h) && (locala.k))
{
locala.k = false;
if ((locala.e) && (!locala.i)) {
locala.a(locala.d, locala.g);
}
}
i -= 1;
}
}
public final void f()
{
if (!this.f)
{
if (a) {
Log.v("LoaderManager", "Destroying Active in " + this);
}
i = this.b.size() - 1;
while (i >= 0)
{
((cq.a)this.b.valueAt(i)).c();
i -= 1;
}
this.b.clear();
}
if (a) {
Log.v("LoaderManager", "Destroying Inactive in " + this);
}
int i = this.c.size() - 1;
while (i >= 0)
{
((cq.a)this.c.valueAt(i)).c();
i -= 1;
}
this.c.clear();
}
public final <D> Loader<D> getLoader(int paramInt)
{
if (this.g) {
throw new IllegalStateException("Called while creating a loader");
}
cq.a locala = (cq.a)this.b.get(paramInt);
if (locala != null)
{
if (locala.n != null) {
return locala.n.d;
}
return locala.d;
}
return null;
}
public final boolean hasRunningLoaders()
{
int j = this.b.size();
int i = 0;
boolean bool2 = false;
if (i < j)
{
cq.a locala = (cq.a)this.b.valueAt(i);
if ((locala.h) && (!locala.f)) {}
for (boolean bool1 = true;; bool1 = false)
{
bool2 |= bool1;
i += 1;
break;
}
}
return bool2;
}
public final <D> Loader<D> initLoader(int paramInt, Bundle paramBundle, LoaderManager.LoaderCallbacks<D> paramLoaderCallbacks)
{
if (this.g) {
throw new IllegalStateException("Called while creating a loader");
}
cq.a locala = (cq.a)this.b.get(paramInt);
if (a) {
Log.v("LoaderManager", "initLoader in " + this + ": args=" + paramBundle);
}
if (locala == null)
{
paramLoaderCallbacks = b(paramInt, paramBundle, paramLoaderCallbacks);
paramBundle = paramLoaderCallbacks;
if (a) {
Log.v("LoaderManager", " Created new loader " + paramLoaderCallbacks);
}
}
for (paramBundle = paramLoaderCallbacks;; paramBundle = locala)
{
if ((paramBundle.e) && (this.e)) {
paramBundle.a(paramBundle.d, paramBundle.g);
}
return paramBundle.d;
if (a) {
Log.v("LoaderManager", " Re-using existing loader " + locala);
}
locala.c = paramLoaderCallbacks;
}
}
public final <D> Loader<D> restartLoader(int paramInt, Bundle paramBundle, LoaderManager.LoaderCallbacks<D> paramLoaderCallbacks)
{
if (this.g) {
throw new IllegalStateException("Called while creating a loader");
}
cq.a locala1 = (cq.a)this.b.get(paramInt);
if (a) {
Log.v("LoaderManager", "restartLoader in " + this + ": args=" + paramBundle);
}
if (locala1 != null)
{
cq.a locala2 = (cq.a)this.c.get(paramInt);
if (locala2 == null) {
break label404;
}
if (!locala1.e) {
break label168;
}
if (a) {
Log.v("LoaderManager", " Removing last inactive loader: " + locala1);
}
locala2.f = false;
locala2.c();
}
for (;;)
{
locala1.d.abandon();
this.c.put(paramInt, locala1);
return b(paramInt, paramBundle, paramLoaderCallbacks).d;
label168:
if (a) {
Log.v("LoaderManager", " Canceling: " + locala1);
}
boolean bool2;
if ((locala1.h) && (locala1.d != null) && (locala1.m))
{
bool2 = locala1.d.cancelLoad();
bool1 = bool2;
if (!bool2) {
locala1.onLoadCanceled(locala1.d);
}
}
for (boolean bool1 = bool2;; bool1 = false)
{
if (bool1) {
break label298;
}
if (a) {
Log.v("LoaderManager", " Current loader is stopped; replacing");
}
this.b.put(paramInt, null);
locala1.c();
break;
}
label298:
if (a) {
Log.v("LoaderManager", " Current loader is running; configuring pending loader");
}
if (locala1.n != null)
{
if (a) {
Log.v("LoaderManager", " Removing pending loader: " + locala1.n);
}
locala1.n.c();
locala1.n = null;
}
if (a) {
Log.v("LoaderManager", " Enqueuing as new pending loader");
}
locala1.n = a(paramInt, paramBundle, paramLoaderCallbacks);
return locala1.n.d;
label404:
if (a) {
Log.v("LoaderManager", " Making last loader inactive: " + locala1);
}
}
}
public final String toString()
{
StringBuilder localStringBuilder = new StringBuilder(128);
localStringBuilder.append("LoaderManager{");
localStringBuilder.append(Integer.toHexString(System.identityHashCode(this)));
localStringBuilder.append(" in ");
DebugUtils.buildShortClassTag(this.h, localStringBuilder);
localStringBuilder.append("}}");
return localStringBuilder.toString();
}
public final class a
implements Loader.OnLoadCanceledListener<Object>, Loader.OnLoadCompleteListener<Object>
{
final int a;
final Bundle b;
LoaderManager.LoaderCallbacks<Object> c;
public Loader<Object> d;
public boolean e;
boolean f;
public Object g;
public boolean h;
public boolean i;
public boolean j;
public boolean k;
boolean l;
boolean m;
a n;
public a(Bundle paramBundle, LoaderManager.LoaderCallbacks<Object> paramLoaderCallbacks)
{
this.a = paramBundle;
this.b = paramLoaderCallbacks;
LoaderManager.LoaderCallbacks localLoaderCallbacks;
this.c = localLoaderCallbacks;
}
final void a()
{
if ((this.i) && (this.j)) {
this.h = true;
}
do
{
do
{
return;
} while (this.h);
this.h = true;
if (cq.a) {
Log.v("LoaderManager", " Starting: " + this);
}
if ((this.d == null) && (this.c != null)) {
this.d = this.c.onCreateLoader(this.a, this.b);
}
} while (this.d == null);
if ((this.d.getClass().isMemberClass()) && (!Modifier.isStatic(this.d.getClass().getModifiers()))) {
throw new IllegalArgumentException("Object returned from onCreateLoader must not be a non-static inner member class: " + this.d);
}
if (!this.m)
{
this.d.registerListener(this.a, this);
this.d.registerOnLoadCanceledListener(this);
this.m = true;
}
this.d.startLoading();
}
public final void a(Loader<Object> paramLoader, Object paramObject)
{
String str;
if (this.c != null)
{
if (cq.this.h == null) {
break label155;
}
str = cq.this.h.f.u;
cq.this.h.f.u = "onLoadFinished";
}
for (;;)
{
try
{
if (cq.a) {
Log.v("LoaderManager", " onLoadFinished in " + paramLoader + ": " + paramLoader.dataToString(paramObject));
}
this.c.onLoadFinished(paramLoader, paramObject);
if (cq.this.h != null) {
cq.this.h.f.u = str;
}
this.f = true;
return;
}
finally
{
if (cq.this.h != null) {
cq.this.h.f.u = str;
}
}
label155:
str = null;
}
}
public final void a(String paramString, FileDescriptor paramFileDescriptor, PrintWriter paramPrintWriter, String[] paramArrayOfString)
{
String str = paramString;
paramString = this;
for (;;)
{
paramPrintWriter.print(str);
paramPrintWriter.print("mId=");
paramPrintWriter.print(paramString.a);
paramPrintWriter.print(" mArgs=");
paramPrintWriter.println(paramString.b);
paramPrintWriter.print(str);
paramPrintWriter.print("mCallbacks=");
paramPrintWriter.println(paramString.c);
paramPrintWriter.print(str);
paramPrintWriter.print("mLoader=");
paramPrintWriter.println(paramString.d);
if (paramString.d != null) {
paramString.d.dump(str + " ", paramFileDescriptor, paramPrintWriter, paramArrayOfString);
}
if ((paramString.e) || (paramString.f))
{
paramPrintWriter.print(str);
paramPrintWriter.print("mHaveData=");
paramPrintWriter.print(paramString.e);
paramPrintWriter.print(" mDeliveredData=");
paramPrintWriter.println(paramString.f);
paramPrintWriter.print(str);
paramPrintWriter.print("mData=");
paramPrintWriter.println(paramString.g);
}
paramPrintWriter.print(str);
paramPrintWriter.print("mStarted=");
paramPrintWriter.print(paramString.h);
paramPrintWriter.print(" mReportNextStart=");
paramPrintWriter.print(paramString.k);
paramPrintWriter.print(" mDestroyed=");
paramPrintWriter.println(paramString.l);
paramPrintWriter.print(str);
paramPrintWriter.print("mRetaining=");
paramPrintWriter.print(paramString.i);
paramPrintWriter.print(" mRetainingStarted=");
paramPrintWriter.print(paramString.j);
paramPrintWriter.print(" mListenerRegistered=");
paramPrintWriter.println(paramString.m);
if (paramString.n == null) {
break;
}
paramPrintWriter.print(str);
paramPrintWriter.println("Pending Loader ");
paramPrintWriter.print(paramString.n);
paramPrintWriter.println(":");
paramString = paramString.n;
str = str + " ";
}
}
public final void b()
{
if (cq.a) {
Log.v("LoaderManager", " Stopping: " + this);
}
this.h = false;
if ((!this.i) && (this.d != null) && (this.m))
{
this.m = false;
this.d.unregisterListener(this);
this.d.unregisterOnLoadCanceledListener(this);
this.d.stopLoading();
}
}
/* Error */
final void c()
{
// Byte code:
// 0: aload_0
// 1: astore_2
// 2: getstatic 60 cq:a Z
// 5: ifeq +25 -> 30
// 8: ldc 62
// 10: new 64 java/lang/StringBuilder
// 13: dup
// 14: ldc -10
// 16: invokespecial 69 java/lang/StringBuilder:<init> (Ljava/lang/String;)V
// 19: aload_2
// 20: invokevirtual 73 java/lang/StringBuilder:append (Ljava/lang/Object;)Ljava/lang/StringBuilder;
// 23: invokevirtual 77 java/lang/StringBuilder:toString ()Ljava/lang/String;
// 26: invokestatic 83 android/util/Log:v (Ljava/lang/String;Ljava/lang/String;)I
// 29: pop
// 30: aload_2
// 31: iconst_1
// 32: putfield 216 cq$a:l Z
// 35: aload_2
// 36: getfield 163 cq$a:f Z
// 39: istore_1
// 40: aload_2
// 41: iconst_0
// 42: putfield 163 cq$a:f Z
// 45: aload_2
// 46: getfield 49 cq$a:c Landroid/support/v4/app/LoaderManager$LoaderCallbacks;
// 49: ifnull +125 -> 174
// 52: aload_2
// 53: getfield 85 cq$a:d Landroid/support/v4/content/Loader;
// 56: ifnull +118 -> 174
// 59: aload_2
// 60: getfield 193 cq$a:e Z
// 63: ifeq +111 -> 174
// 66: iload_1
// 67: ifeq +107 -> 174
// 70: getstatic 60 cq:a Z
// 73: ifeq +25 -> 98
// 76: ldc 62
// 78: new 64 java/lang/StringBuilder
// 81: dup
// 82: ldc -8
// 84: invokespecial 69 java/lang/StringBuilder:<init> (Ljava/lang/String;)V
// 87: aload_2
// 88: invokevirtual 73 java/lang/StringBuilder:append (Ljava/lang/Object;)Ljava/lang/StringBuilder;
// 91: invokevirtual 77 java/lang/StringBuilder:toString ()Ljava/lang/String;
// 94: invokestatic 83 android/util/Log:v (Ljava/lang/String;Ljava/lang/String;)I
// 97: pop
// 98: aload_2
// 99: getfield 40 cq$a:o Lcq;
// 102: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 105: ifnull +171 -> 276
// 108: aload_2
// 109: getfield 40 cq$a:o Lcq;
// 112: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 115: getfield 140 android/support/v4/app/FragmentHostCallback:f Lcn;
// 118: getfield 146 cn:u Ljava/lang/String;
// 121: astore_3
// 122: aload_2
// 123: getfield 40 cq$a:o Lcq;
// 126: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 129: getfield 140 android/support/v4/app/FragmentHostCallback:f Lcn;
// 132: ldc -6
// 134: putfield 146 cn:u Ljava/lang/String;
// 137: aload_2
// 138: getfield 49 cq$a:c Landroid/support/v4/app/LoaderManager$LoaderCallbacks;
// 141: aload_2
// 142: getfield 85 cq$a:d Landroid/support/v4/content/Loader;
// 145: invokeinterface 253 2 0
// 150: aload_2
// 151: getfield 40 cq$a:o Lcq;
// 154: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 157: ifnull +17 -> 174
// 160: aload_2
// 161: getfield 40 cq$a:o Lcq;
// 164: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 167: getfield 140 android/support/v4/app/FragmentHostCallback:f Lcn;
// 170: aload_3
// 171: putfield 146 cn:u Ljava/lang/String;
// 174: aload_2
// 175: aconst_null
// 176: putfield 49 cq$a:c Landroid/support/v4/app/LoaderManager$LoaderCallbacks;
// 179: aload_2
// 180: aconst_null
// 181: putfield 206 cq$a:g Ljava/lang/Object;
// 184: aload_2
// 185: iconst_0
// 186: putfield 193 cq$a:e Z
// 189: aload_2
// 190: getfield 85 cq$a:d Landroid/support/v4/content/Loader;
// 193: ifnull +38 -> 231
// 196: aload_2
// 197: getfield 118 cq$a:m Z
// 200: ifeq +24 -> 224
// 203: aload_2
// 204: iconst_0
// 205: putfield 118 cq$a:m Z
// 208: aload_2
// 209: getfield 85 cq$a:d Landroid/support/v4/content/Loader;
// 212: aload_2
// 213: invokevirtual 238 android/support/v4/content/Loader:unregisterListener (Landroid/support/v4/content/Loader$OnLoadCompleteListener;)V
// 216: aload_2
// 217: getfield 85 cq$a:d Landroid/support/v4/content/Loader;
// 220: aload_2
// 221: invokevirtual 241 android/support/v4/content/Loader:unregisterOnLoadCanceledListener (Landroid/support/v4/content/Loader$OnLoadCanceledListener;)V
// 224: aload_2
// 225: getfield 85 cq$a:d Landroid/support/v4/content/Loader;
// 228: invokevirtual 256 android/support/v4/content/Loader:reset ()V
// 231: aload_2
// 232: getfield 224 cq$a:n Lcq$a;
// 235: ifnull +40 -> 275
// 238: aload_2
// 239: getfield 224 cq$a:n Lcq$a;
// 242: astore_2
// 243: goto -241 -> 2
// 246: astore 4
// 248: aload_2
// 249: getfield 40 cq$a:o Lcq;
// 252: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 255: ifnull +17 -> 272
// 258: aload_2
// 259: getfield 40 cq$a:o Lcq;
// 262: getfield 135 cq:h Landroid/support/v4/app/FragmentHostCallback;
// 265: getfield 140 android/support/v4/app/FragmentHostCallback:f Lcn;
// 268: aload_3
// 269: putfield 146 cn:u Ljava/lang/String;
// 272: aload 4
// 274: athrow
// 275: return
// 276: aconst_null
// 277: astore_3
// 278: goto -141 -> 137
// Local variable table:
// start length slot name signature
// 0 281 0 this a
// 39 28 1 bool boolean
// 1 258 2 locala a
// 121 157 3 str String
// 246 27 4 localObject Object
// Exception table:
// from to target type
// 137 150 246 finally
}
public final void onLoadCanceled(Loader<Object> paramLoader)
{
if (cq.a) {
Log.v("LoaderManager", "onLoadCanceled: " + this);
}
if (this.l) {
if (cq.a) {
Log.v("LoaderManager", " Ignoring load canceled -- destroyed");
}
}
do
{
do
{
return;
if (cq.this.b.get(this.a) == this) {
break;
}
} while (!cq.a);
Log.v("LoaderManager", " Ignoring load canceled -- not active");
return;
paramLoader = this.n;
} while (paramLoader == null);
if (cq.a) {
Log.v("LoaderManager", " Switching to pending loader: " + paramLoader);
}
this.n = null;
cq.this.b.put(this.a, null);
c();
cq.this.a(paramLoader);
}
public final void onLoadComplete(Loader<Object> paramLoader, Object paramObject)
{
if (cq.a) {
Log.v("LoaderManager", "onLoadComplete: " + this);
}
if (this.l) {
if (cq.a) {
Log.v("LoaderManager", " Ignoring load complete -- destroyed");
}
}
do
{
do
{
return;
if (cq.this.b.get(this.a) == this) {
break;
}
} while (!cq.a);
Log.v("LoaderManager", " Ignoring load complete -- not active");
return;
a locala = this.n;
if (locala != null)
{
if (cq.a) {
Log.v("LoaderManager", " Switching to pending loader: " + locala);
}
this.n = null;
cq.this.b.put(this.a, null);
c();
cq.this.a(locala);
return;
}
if ((this.g != paramObject) || (!this.e))
{
this.g = paramObject;
this.e = true;
if (this.h) {
a(paramLoader, paramObject);
}
}
paramLoader = (a)cq.this.c.get(this.a);
if ((paramLoader != null) && (paramLoader != this))
{
paramLoader.f = false;
paramLoader.c();
cq.this.c.remove(this.a);
}
} while ((cq.this.h == null) || (cq.this.hasRunningLoaders()));
cq.this.h.f.a();
}
public final String toString()
{
StringBuilder localStringBuilder = new StringBuilder(64);
localStringBuilder.append("LoaderInfo{");
localStringBuilder.append(Integer.toHexString(System.identityHashCode(this)));
localStringBuilder.append(" #");
localStringBuilder.append(this.a);
localStringBuilder.append(" : ");
DebugUtils.buildShortClassTag(this.d, localStringBuilder);
localStringBuilder.append("}}");
return localStringBuilder.toString();
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/cq.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/