Code with Finding: |
/* * Decompiled with CFR 0_128. * * Could not load the following classes: * android.app.AlarmManager * android.app.PendingIntent * android.content.BroadcastReceiver * android.content.Context * android.content.Intent * android.content.IntentFilter * android.os.Build * android.os.Build$VERSION * android.os.Handler * com.whatsapp.App * com.whatsapp.r6 * com.whatsapp.util.Log * com.whatsapp.util.ce * com.whatsapp.xf */ package com.whatsapp;
import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Build; import android.os.Handler; import com.whatsapp.App; import com.whatsapp.r6; import com.whatsapp.util.Log; import com.whatsapp.util.ce; import com.whatsapp.xf; import java.util.Calendar; import java.util.Date;
final class LogRotationBroadcastReceiver extends BroadcastReceiver { private static final String[] z;
/* * Enabled aggressive block sorting */ static { String[] arrstring = new String[6]; String string = "\u001bq95\u0015\u0016`;w[\bn={\u0000\u001f,%u\u0013\t.:n\u0015\bui"; int n = -1; String[] arrstring2 = arrstring; int n2 = 0; block13 : do { char[] arrc = string.toCharArray(); int n3 = arrc.length; int n4 = 0; do { int n5; if (n3 <= n4) { String string2 = new String(arrc).intern(); switch (n) { default: { arrstring2[n2] = string2; string = "\u001bm(h\u0019"; n2 = 1; arrstring2 = arrstring; n = 0; continue block13; } case 0: { arrstring2[n2] = string2; string = "\u0019n$4\u0003\u0012`=i\u0015\nq"; n2 = 2; arrstring2 = arrstring; n = 1; continue block13; } case 1: { arrstring2[n2] = string2; string = "\u0019n$4\u0003\u0012`=i\u0015\nqg{\u0018\u001bs$4&5U\bN1%M\u0006]'"; n2 = 3; arrstring2 = arrstring; n = 2; continue block13; } case 2: { arrstring2[n2] = string2; string = "\u0019n$4\u0003\u0012`=i\u0015\nqgj\u0011\bl i\u0007\u0013n'46(N\b^7;R\u001d"; n2 = 4; arrstring2 = arrstring; n = 3; continue block13; } case 3: { arrstring2[n2] = string2; n2 = 5; arrstring2 = arrstring; string = "\u0019n$4\u0003\u0012`=i\u0015\nqg{\u0018\u001bs$4&5U\bN1%M\u0006]'"; n = 4; continue block13; } case 4: } arrstring2[n2] = string2; z = arrstring; return; } char c = arrc[n4]; switch (n4 % 5) { default: { n5 = 116; break; } case 0: { n5 = 122; break; } case 1: { n5 = 1; break; } case 2: { n5 = 73; break; } case 3: { n5 = 26; } } arrc[n4] = (char)(n5 ^ c); ++n4; } while (true); break; } while (true); }
LogRotationBroadcastReceiver() { }
public void a(Context context) { context.registerReceiver((BroadcastReceiver)this, new IntentFilter(z[5]), z[4], null); }
public void b(Context context) { block3 : { long l; PendingIntent pendingIntent; AlarmManager alarmManager; block2 : { Calendar calendar = Calendar.getInstance(); calendar.add(5, 1); calendar.set(14, 0); calendar.set(13, 0); calendar.set(12, 0); calendar.set(11, 0); l = calendar.getTimeInMillis(); Log.i((String)(z[0] + new Date(l).toString())); pendingIntent = PendingIntent.getBroadcast((Context)context, (int)0, (Intent)new Intent(z[3]).setPackage(z[2]), (int)0); alarmManager = (AlarmManager)context.getSystemService(z[1]); alarmManager.cancel(pendingIntent); if (Build.VERSION.SDK_INT < 19) break block2; alarmManager.setExact(0, l, pendingIntent); if (!App.U) break block3; } alarmManager.set(0, l, pendingIntent); } }
public void onReceive(Context context, Intent intent) { ce.a((Runnable)new xf(this)); ce.a((Runnable)new r6(this)); this.b(context); } }
|