first commit
[bylock.git] / sources / group / pals / android / lib / ui / filechooser / d.java
blob676c4a95bcd9f7fa5c5b0ae70120897f13ee3b94
1 package group.pals.android.lib.ui.filechooser;
3 import android.widget.ImageView;
4 import group.pals.android.lib.ui.filechooser.utils.history.History;
5 import group.pals.android.lib.ui.filechooser.utils.history.b;
7 /* compiled from: MyApp */
8 class d implements b {
9 final /* synthetic */ FileChooserActivity a;
11 d(FileChooserActivity fileChooserActivity) {
12 this.a = fileChooserActivity;
15 @Override // group.pals.android.lib.ui.filechooser.utils.history.b
16 public void a(History history) {
17 boolean z;
18 boolean z2 = true;
19 int d = history.d(FileChooserActivity.a(this.a));
20 ImageView c = FileChooserActivity.c(this.a);
21 if (d > 0) {
22 z = true;
23 } else {
24 z = false;
26 c.setEnabled(z);
27 ImageView d2 = FileChooserActivity.d(this.a);
28 if (d < 0 || d >= history.a() - 1) {
29 z2 = false;
31 d2.setEnabled(z2);