正在查看: Fancy Optimizer v4.6.3 应用的 CleanPhotoRecycleBinJobIntentService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 CleanPhotoRecycleBinJobIntentService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.similarphoto.service;
import android.content.Intent;
import androidx.annotation.NonNull;
import c7.e;
import com.fancyclean.boost.similarphoto.model.RecycledPhoto;
import java.util.ArrayList;
import java.util.Iterator;
import sb.b;
import ub.a;
import ub.c;
import vj.h;
public class CleanPhotoRecycleBinJobIntentService extends e {
public static final h d = h.f(CleanPhotoRecycleBinJobIntentService.class);
public b c;
public final void onHandleWork(@NonNull Intent intent) {
if (this.c == null) {
this.c = new b(this);
}
b bVar = this.c;
bVar.getClass();
ArrayList arrayList = new ArrayList();
a aVar = bVar.a;
aVar.getClass();
c cVar = new c(((ak.a) aVar.d).getReadableDatabase().query("photo_recycle_bin", null, "deleted_time < ?", new String[]{String.valueOf(System.currentTimeMillis() - (7 * 86400000))}, null, null, null));
try {
if (cVar.moveToFirst()) {
do {
arrayList.add(cVar.t());
} while (cVar.moveToNext());
}
cVar.close();
if (j4.b.G(arrayList)) {
return;
}
Iterator it = arrayList.iterator();
while (it.hasNext()) {
RecycledPhoto recycledPhoto = (RecycledPhoto) it.next();
boolean a = this.c.a(recycledPhoto);
h hVar = d;
if (a) {
hVar.c("Delete photo succeed, " + recycledPhoto.toString());
} else {
hVar.d("Delete photo failed, " + recycledPhoto.toString(), (Throwable) null);
}
}
} catch (Throwable th) {
try {
cVar.close();
} catch (Throwable th2) {
th.addSuppressed(th2);
}
throw th;
}
}
}