导航菜单

页面标题

页面副标题

远离手机 v4.9.11 - EditScheduleActivity.java 源代码

正在查看: 远离手机 v4.9.11 应用的 EditScheduleActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.lijianqiang12.silent.component.activity.lock.schedule;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.widget.NestedScrollView;
import androidx.lifecycle.LifecycleOwnerKt;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelLazy;
import androidx.lifecycle.ViewModelProvider;
import androidx.lifecycle.ViewModelStore;
import androidx.lifecycle.viewmodel.CreationExtras;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.Ill1llIIlIlll;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.blankj.utilcode.util.LogUtils;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.listener.OnItemClickListener;
import com.google.android.material.card.MaterialCardView;
import com.lijianqiang12.silent.I11III11ll1I1;
import com.lijianqiang12.silent.I11Ill1Il1I1;
import com.lijianqiang12.silent.I11l111lII;
import com.lijianqiang12.silent.I1I1lllll1;
import com.lijianqiang12.silent.I1Il1lIl11I;
import com.lijianqiang12.silent.I1l1111111II;
import com.lijianqiang12.silent.I1l1I1IIl1;
import com.lijianqiang12.silent.I1lIII11I1Il;
import com.lijianqiang12.silent.I1lIlIl11111I;
import com.lijianqiang12.silent.I1lIlIlIlIIl1;
import com.lijianqiang12.silent.II1II111I1lll;
import com.lijianqiang12.silent.II1IIIllIl1l;
import com.lijianqiang12.silent.II1IlIl1lll11;
import com.lijianqiang12.silent.IIIIlIll1I1l;
import com.lijianqiang12.silent.IIIllI1Il1lll;
import com.lijianqiang12.silent.IIl1I111lI1l;
import com.lijianqiang12.silent.IIlIllII111;
import com.lijianqiang12.silent.IIll1llI1ll;
import com.lijianqiang12.silent.Il1111ll11I;
import com.lijianqiang12.silent.Il1I11I1IIIl;
import com.lijianqiang12.silent.IlI11IIl1IIl;
import com.lijianqiang12.silent.IlI11lII1Il;
import com.lijianqiang12.silent.IlIIII11lIII;
import com.lijianqiang12.silent.IlIlII1IIII11;
import com.lijianqiang12.silent.Ill1IIIl1lIll;
import com.lijianqiang12.silent.IllIlI1llll1I;
import com.lijianqiang12.silent.component.activity.lock.schedule.EditScheduleActivity;
import com.lijianqiang12.silent.component.activity.lock.tomato.TomatoAdapter;
import com.lijianqiang12.silent.data.model.db.LockConfig;
import com.lijianqiang12.silent.data.model.db.Schedule;
import com.lijianqiang12.silent.data.model.db.ScheduleWithSub;
import com.lijianqiang12.silent.data.model.db.TomatoWithSub;
import com.lijianqiang12.silent.data.model.db.WhiteApp;
import com.lijianqiang12.silent.l11I11IllI1;
import com.lijianqiang12.silent.l11IlIIl1Il;
import com.lijianqiang12.silent.l11llIll1lI11;
import com.lijianqiang12.silent.l1I1l1l1;
import com.lijianqiang12.silent.l1l11IlIllI;
import com.lijianqiang12.silent.l1l1lIII11I11;
import com.lijianqiang12.silent.l1lIl1lIlll1l;
import com.lijianqiang12.silent.lI1111I11I11I;
import com.lijianqiang12.silent.lI1111l1I1Il;
import com.lijianqiang12.silent.lI11llI11;
import com.lijianqiang12.silent.lI1l11ll11I;
import com.lijianqiang12.silent.lI1llI111l1I;
import com.lijianqiang12.silent.lII1llllI;
import com.lijianqiang12.silent.lIII1llI11l;
import com.lijianqiang12.silent.lIIIIIll1;
import com.lijianqiang12.silent.lIIIlIlIlIlIl;
import com.lijianqiang12.silent.lIIl1Ill111;
import com.lijianqiang12.silent.lIIlI11IlII1;
import com.lijianqiang12.silent.lIl11ll1II;
import com.lijianqiang12.silent.lIllI1IIlI11l;
import com.lijianqiang12.silent.ll111IlIl11;
import com.lijianqiang12.silent.ll111ll1lII;
import com.lijianqiang12.silent.ll11ll1lllIlI;
import com.lijianqiang12.silent.ll1II1Il1111l;
import com.lijianqiang12.silent.ll1l1I1ll11I1;
import com.lijianqiang12.silent.lllI1llIllIll;
import com.lijianqiang12.silent.llll1lll11;
import com.tencent.connect.share.QQShare;
import com.tencent.cos.xml.crypto.JceEncryptionConstants;
import com.ut.device.AidConstants;
import com.xw.repo.BubbleSeekBar;
import java.util.ArrayList;
import java.util.List;
import kotlin.Metadata;

@Metadata(d1 = {"\u0000\\\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\t\u0018\u00002\u00020\u0001:\u00012B\u0007¢\u0006\u0004\b0\u00101J\b\u0010\u0003\u001a\u00020\u0002H\u0002J\b\u0010\u0004\u001a\u00020\u0002H\u0002J\b\u0010\u0005\u001a\u00020\u0002H\u0002J\u0012\u0010\b\u001a\u00020\u00022\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0015J\b\u0010\t\u001a\u00020\u0002H\u0014J\b\u0010\n\u001a\u00020\u0002H\u0016R\u0016\u0010\u000e\u001a\u00020\u000b8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\f\u0010\rR\u0016\u0010\u0012\u001a\u00020\u000f8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011R\u0016\u0010\u0016\u001a\u00020\u00138\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u0014\u0010\u0015R\u0016\u0010\u001a\u001a\u00020\u00178\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0018\u0010\u0019R\u0016\u0010\u001e\u001a\u00020\u001b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001c\u0010\u001dR\u0016\u0010 \u001a\u00020\u00178\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001f\u0010\u0019R\u001c\u0010%\u001a\b\u0012\u0004\u0012\u00020\"0!8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b#\u0010$R\u0016\u0010)\u001a\u00020&8\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b'\u0010(R\u001b\u0010/\u001a\u00020*8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b+\u0010,\u001a\u0004\b-\u0010.¨\u00063"}, d2 = {"Lcom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity;", "Lcom/lijianqiang12/silent/lI1llI111l1I;", "Lcom/lijianqiang12/silent/ll1II1Il1111l;", "l1lIl1I1IIII", "lIlIlllI1I", "I1II1111IIl1l", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "onResume", "onBackPressed", "Lcom/lijianqiang12/silent/data/model/db/Schedule;", "l1I11II1llI1I", "Lcom/lijianqiang12/silent/data/model/db/Schedule;", "schedule", "Lcom/lijianqiang12/silent/data/model/db/LockConfig;", "IIl1ll1ll1l", "Lcom/lijianqiang12/silent/data/model/db/LockConfig;", "lockConfig", "Lcom/lijianqiang12/silent/data/model/db/ScheduleWithSub;", "l11llI1Ill1", "Lcom/lijianqiang12/silent/data/model/db/ScheduleWithSub;", "scheduleWithSub", "", "Ill1l11ll11l", "I", "saveMode", "", "IllII1lIII", "Z", "changed", "IlIII1l1l111", "item", "", "Lcom/lijianqiang12/silent/data/model/db/WhiteApp;", "llll11l11l1", "Ljava/util/List;", "oldWhiteList", "Landroidx/recyclerview/widget/RecyclerView;", "lI11lI1l1", "Landroidx/recyclerview/widget/RecyclerView;", "recyclerview", "Lcom/lijianqiang12/silent/l11llIll1lI11;", "lllIl1ll1l1I", "Lcom/lijianqiang12/silent/II1IlIl1lll11;", "II1IIll1lIIII", "()Lcom/lijianqiang12/silent/l11llIll1lI11;", "viewModel", "<init>", "()V", "IIllIl1llII", "app_honor64Release"}, k = 1, mv = {1, 9, 0})
@I11III11ll1I1({"SMAP\nEditScheduleActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 EditScheduleActivity.kt\ncom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity\n+ 2 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt\n+ 3 ActivityEditSchedule.kt\nkotlinx/android/synthetic/main/activity_edit_schedule/ActivityEditScheduleKt\n+ 4 IncludeLockConfig.kt\nkotlinx/android/synthetic/main/include_lock_config/IncludeLockConfigKt\n*L\n1#1,1126:1\n70#2,11:1127\n60#3:1138\n58#3:1139\n179#3:1140\n177#3:1141\n186#3:1142\n184#3:1143\n214#3:1144\n212#3:1145\n137#3:1146\n135#3:1147\n186#3:1148\n184#3:1149\n354#3:1150\n352#3:1151\n144#3:1152\n142#3:1153\n193#3:1154\n191#3:1155\n207#3:1156\n205#3:1157\n137#3:1158\n135#3:1159\n186#3:1160\n184#3:1161\n354#3:1162\n352#3:1163\n144#3:1164\n142#3:1165\n193#3:1166\n191#3:1167\n200#3:1168\n198#3:1169\n165#3:1170\n163#3:1171\n172#3:1172\n170#3:1173\n228#3:1174\n226#3:1175\n284#3:1176\n282#3:1177\n165#3:1178\n163#3:1179\n172#3:1180\n170#3:1181\n228#3:1182\n226#3:1183\n284#3:1184\n282#3:1185\n158#3:1186\n156#3:1187\n235#3:1188\n233#3:1189\n235#3:1190\n233#3:1191\n242#3:1192\n240#3:1193\n242#3:1194\n240#3:1195\n249#3:1196\n247#3:1197\n249#3:1198\n247#3:1199\n256#3:1200\n254#3:1201\n256#3:1202\n254#3:1203\n263#3:1204\n261#3:1205\n263#3:1206\n261#3:1207\n270#3:1208\n268#3:1209\n270#3:1210\n268#3:1211\n277#3:1212\n275#3:1213\n277#3:1214\n275#3:1215\n235#3:1216\n233#3:1217\n242#3:1218\n240#3:1219\n249#3:1220\n247#3:1221\n256#3:1222\n254#3:1223\n263#3:1224\n261#3:1225\n270#3:1226\n268#3:1227\n277#3:1228\n275#3:1229\n116#3:1230\n114#3:1231\n123#3:1232\n121#3:1233\n116#3:1234\n114#3:1235\n123#3:1236\n121#3:1237\n109#3:1238\n107#3:1239\n319#3:1240\n317#3:1241\n319#3:1242\n317#3:1243\n340#3:1244\n338#3:1245\n347#3:1246\n345#3:1247\n340#3:1248\n338#3:1249\n347#3:1250\n345#3:1251\n333#3:1252\n331#3:1253\n39#3:1344\n37#3:1345\n18#3:1346\n16#3:1347\n32#3:1348\n30#3:1349\n137#3:1368\n135#3:1369\n186#3:1370\n184#3:1371\n354#3:1372\n352#3:1373\n144#3:1374\n142#3:1375\n193#3:1376\n191#3:1377\n137#3:1378\n135#3:1379\n186#3:1380\n184#3:1381\n354#3:1382\n352#3:1383\n144#3:1384\n142#3:1385\n193#3:1386\n191#3:1387\n228#3:1388\n226#3:1389\n284#3:1390\n282#3:1391\n228#3:1392\n226#3:1393\n284#3:1394\n282#3:1395\n235#3:1396\n233#3:1397\n235#3:1398\n233#3:1399\n242#3:1400\n240#3:1401\n242#3:1402\n240#3:1403\n249#3:1404\n247#3:1405\n249#3:1406\n247#3:1407\n256#3:1408\n254#3:1409\n256#3:1410\n254#3:1411\n263#3:1412\n261#3:1413\n263#3:1414\n261#3:1415\n270#3:1416\n268#3:1417\n270#3:1418\n268#3:1419\n277#3:1420\n275#3:1421\n277#3:1422\n275#3:1423\n53#4:1254\n51#4:1255\n67#4:1256\n65#4:1257\n60#4:1258\n58#4:1259\n67#4:1260\n65#4:1261\n46#4:1262\n44#4:1263\n95#4:1264\n93#4:1265\n25#4:1266\n23#4:1267\n186#4:1268\n184#4:1269\n32#4:1270\n30#4:1271\n186#4:1272\n184#4:1273\n18#4:1274\n16#4:1275\n207#4:1276\n205#4:1277\n193#4:1278\n191#4:1279\n123#4:1280\n121#4:1281\n361#4:1282\n359#4:1283\n130#4:1284\n128#4:1285\n361#4:1286\n359#4:1287\n116#4:1288\n114#4:1289\n375#4:1290\n373#4:1291\n361#4:1292\n359#4:1293\n347#4:1294\n345#4:1295\n158#4:1296\n156#4:1297\n354#4:1298\n352#4:1299\n158#4:1300\n156#4:1301\n340#4:1302\n338#4:1303\n172#4:1304\n170#4:1305\n158#4:1306\n156#4:1307\n144#4:1308\n142#4:1309\n179#4:1310\n177#4:1311\n151#4:1312\n149#4:1313\n179#4:1314\n177#4:1315\n137#4:1316\n135#4:1317\n179#4:1318\n177#4:1319\n179#4:1320\n177#4:1321\n179#4:1322\n177#4:1323\n403#4:1324\n401#4:1325\n417#4:1326\n415#4:1327\n410#4:1328\n408#4:1329\n417#4:1330\n415#4:1331\n396#4:1332\n394#4:1333\n417#4:1334\n415#4:1335\n417#4:1336\n415#4:1337\n417#4:1338\n415#4:1339\n270#4:1340\n268#4:1341\n305#4:1342\n303#4:1343\n88#4:1350\n86#4:1351\n81#4:1352\n79#4:1353\n81#4:1354\n79#4:1355\n277#4:1356\n275#4:1357\n284#4:1358\n282#4:1359\n291#4:1360\n289#4:1361\n312#4:1362\n310#4:1363\n319#4:1364\n317#4:1365\n326#4:1366\n324#4:1367\n67#4:1424\n65#4:1425\n67#4:1426\n65#4:1427\n53#4:1428\n51#4:1429\n186#4:1430\n184#4:1431\n186#4:1432\n184#4:1433\n25#4:1434\n23#4:1435\n361#4:1436\n359#4:1437\n361#4:1438\n359#4:1439\n123#4:1440\n121#4:1441\n158#4:1442\n156#4:1443\n158#4:1444\n156#4:1445\n347#4:1446\n345#4:1447\n179#4:1448\n177#4:1449\n179#4:1450\n177#4:1451\n144#4:1452\n142#4:1453\n417#4:1454\n415#4:1455\n417#4:1456\n415#4:1457\n403#4:1458\n401#4:1459\n277#4:1460\n275#4:1461\n277#4:1462\n275#4:1463\n277#4:1464\n275#4:1465\n312#4:1466\n310#4:1467\n312#4:1468\n310#4:1469\n312#4:1470\n310#4:1471\n179#4:1472\n177#4:1473\n417#4:1474\n415#4:1475\n*S KotlinDebug\n*F\n+ 1 EditScheduleActivity.kt\ncom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity\n*L\n57#1:1127,11\n84#1:1138\n84#1:1139\n107#1:1140\n107#1:1141\n127#1:1142\n127#1:1143\n160#1:1144\n160#1:1145\n162#1:1146\n162#1:1147\n163#1:1148\n163#1:1149\n164#1:1150\n164#1:1151\n166#1:1152\n166#1:1153\n167#1:1154\n167#1:1155\n169#1:1156\n169#1:1157\n171#1:1158\n171#1:1159\n172#1:1160\n172#1:1161\n173#1:1162\n173#1:1163\n175#1:1164\n175#1:1165\n176#1:1166\n176#1:1167\n178#1:1168\n178#1:1169\n249#1:1170\n249#1:1171\n250#1:1172\n250#1:1173\n251#1:1174\n251#1:1175\n252#1:1176\n252#1:1177\n254#1:1178\n254#1:1179\n255#1:1180\n255#1:1181\n256#1:1182\n256#1:1183\n257#1:1184\n257#1:1185\n259#1:1186\n259#1:1187\n278#1:1188\n278#1:1189\n280#1:1190\n280#1:1191\n283#1:1192\n283#1:1193\n285#1:1194\n285#1:1195\n288#1:1196\n288#1:1197\n290#1:1198\n290#1:1199\n293#1:1200\n293#1:1201\n295#1:1202\n295#1:1203\n298#1:1204\n298#1:1205\n300#1:1206\n300#1:1207\n303#1:1208\n303#1:1209\n305#1:1210\n305#1:1211\n308#1:1212\n308#1:1213\n310#1:1214\n310#1:1215\n312#1:1216\n312#1:1217\n321#1:1218\n321#1:1219\n330#1:1220\n330#1:1221\n339#1:1222\n339#1:1223\n348#1:1224\n348#1:1225\n357#1:1226\n357#1:1227\n366#1:1228\n366#1:1229\n379#1:1230\n379#1:1231\n380#1:1232\n380#1:1233\n382#1:1234\n382#1:1235\n383#1:1236\n383#1:1237\n385#1:1238\n385#1:1239\n399#1:1240\n399#1:1241\n400#1:1242\n400#1:1243\n415#1:1244\n415#1:1245\n416#1:1246\n416#1:1247\n418#1:1248\n418#1:1249\n419#1:1250\n419#1:1251\n421#1:1252\n421#1:1253\n921#1:1344\n921#1:1345\n927#1:1346\n927#1:1347\n931#1:1348\n931#1:1349\n184#1:1368\n184#1:1369\n185#1:1370\n185#1:1371\n186#1:1372\n186#1:1373\n188#1:1374\n188#1:1375\n189#1:1376\n189#1:1377\n195#1:1378\n195#1:1379\n196#1:1380\n196#1:1381\n197#1:1382\n197#1:1383\n199#1:1384\n199#1:1385\n200#1:1386\n200#1:1387\n264#1:1388\n264#1:1389\n265#1:1390\n265#1:1391\n270#1:1392\n270#1:1393\n271#1:1394\n271#1:1395\n316#1:1396\n316#1:1397\n318#1:1398\n318#1:1399\n325#1:1400\n325#1:1401\n327#1:1402\n327#1:1403\n334#1:1404\n334#1:1405\n336#1:1406\n336#1:1407\n343#1:1408\n343#1:1409\n345#1:1410\n345#1:1411\n352#1:1412\n352#1:1413\n354#1:1414\n354#1:1415\n361#1:1416\n361#1:1417\n363#1:1418\n363#1:1419\n370#1:1420\n370#1:1421\n372#1:1422\n372#1:1423\n437#1:1254\n437#1:1255\n438#1:1256\n438#1:1257\n440#1:1258\n440#1:1259\n441#1:1260\n441#1:1261\n443#1:1262\n443#1:1263\n474#1:1264\n474#1:1265\n505#1:1266\n505#1:1267\n506#1:1268\n506#1:1269\n508#1:1270\n508#1:1271\n509#1:1272\n509#1:1273\n511#1:1274\n511#1:1275\n541#1:1276\n541#1:1277\n549#1:1278\n549#1:1279\n567#1:1280\n567#1:1281\n568#1:1282\n568#1:1283\n570#1:1284\n570#1:1285\n571#1:1286\n571#1:1287\n573#1:1288\n573#1:1289\n604#1:1290\n604#1:1291\n606#1:1292\n606#1:1293\n622#1:1294\n622#1:1295\n623#1:1296\n623#1:1297\n625#1:1298\n625#1:1299\n626#1:1300\n626#1:1301\n628#1:1302\n628#1:1303\n658#1:1304\n658#1:1305\n660#1:1306\n660#1:1307\n676#1:1308\n676#1:1309\n677#1:1310\n677#1:1311\n679#1:1312\n679#1:1313\n680#1:1314\n680#1:1315\n682#1:1316\n682#1:1317\n713#1:1318\n713#1:1319\n723#1:1320\n723#1:1321\n724#1:1322\n724#1:1323\n734#1:1324\n734#1:1325\n735#1:1326\n735#1:1327\n737#1:1328\n737#1:1329\n738#1:1330\n738#1:1331\n740#1:1332\n740#1:1333\n770#1:1334\n770#1:1335\n780#1:1336\n780#1:1337\n781#1:1338\n781#1:1339\n791#1:1340\n791#1:1341\n857#1:1342\n857#1:1343\n961#1:1350\n961#1:1351\n969#1:1352\n969#1:1353\n971#1:1354\n971#1:1355\n1081#1:1356\n1081#1:1357\n1084#1:1358\n1084#1:1359\n1086#1:1360\n1086#1:1361\n1090#1:1362\n1090#1:1363\n1093#1:1364\n1093#1:1365\n1095#1:1366\n1095#1:1367\n448#1:1424\n448#1:1425\n454#1:1426\n454#1:1427\n456#1:1428\n456#1:1429\n516#1:1430\n516#1:1431\n522#1:1432\n522#1:1433\n524#1:1434\n524#1:1435\n578#1:1436\n578#1:1437\n584#1:1438\n584#1:1439\n586#1:1440\n586#1:1441\n633#1:1442\n633#1:1443\n639#1:1444\n639#1:1445\n641#1:1446\n641#1:1447\n687#1:1448\n687#1:1449\n693#1:1450\n693#1:1451\n695#1:1452\n695#1:1453\n745#1:1454\n745#1:1455\n751#1:1456\n751#1:1457\n753#1:1458\n753#1:1459\n804#1:1460\n804#1:1461\n817#1:1462\n817#1:1463\n838#1:1464\n838#1:1465\n870#1:1466\n870#1:1467\n883#1:1468\n883#1:1469\n904#1:1470\n904#1:1471\n922#1:1472\n922#1:1473\n923#1:1474\n923#1:1475\n*E\n"})
public final class EditScheduleActivity extends lI1llI111l1I {

    private LockConfig lockConfig;

    private int saveMode;

    private boolean changed;

    private ScheduleWithSub scheduleWithSub;

    private Schedule schedule;

    private RecyclerView recyclerview;

    private int item = -1;

    @lIllI1IIlI11l
    private List<WhiteApp> oldWhiteList = new ArrayList();

    @lIllI1IIlI11l
    private final II1IlIl1lll11 viewModel = new ViewModelLazy(Il1111ll11I.lIIl1I1I(l11llIll1lI11.class), new IIllll1Il1lIl(this), new lllIlIl11ll(), new lI1l11l11ll(null, this));

    @IIll1llI1ll(c = "com.lijianqiang12.silent.component.activity.lock.schedule.EditScheduleActivity$refreshWhiteListView$1$1", f = "EditScheduleActivity.kt", i = {}, l = {977}, m = "invokeSuspend", n = {}, s = {})
    static final class I11ll1l1lI11l extends l11IlIIl1Il implements IIIllI1Il1lll<ll11ll1lllIlI, IllIlI1llll1I<? super ll1II1Il1111l>, Object> {
        int Il11lIlllll1;
        final List<WhiteApp> l11l1l11I1;
        final TomatoWhiteAppAdapter lI11lI1llIl11;

        @IIll1llI1ll(c = "com.lijianqiang12.silent.component.activity.lock.schedule.EditScheduleActivity$refreshWhiteListView$1$1$1", f = "EditScheduleActivity.kt", i = {}, l = {}, m = "invokeSuspend", n = {}, s = {})
        static final class IIllIl1llII extends l11IlIIl1Il implements IIIllI1Il1lll<ll11ll1lllIlI, IllIlI1llll1I<? super ll1II1Il1111l>, Object> {
            final TomatoWhiteAppAdapter I1II1ll1lI1;
            int Il11lIlllll1;
            final List<WhiteApp> l11l1l11I1;
            final Ill1llIIlIlll.Il1IlII1 lI11lI1llIl11;

            IIllIl1llII(TomatoWhiteAppAdapter tomatoWhiteAppAdapter, List<WhiteApp> list, Ill1llIIlIlll.Il1IlII1 il1IlII1, IllIlI1llll1I<? super IIllIl1llII> illIlI1llll1I) {
                super(2, illIlI1llll1I);
                this.I1II1ll1lI1 = tomatoWhiteAppAdapter;
                this.l11l1l11I1 = list;
                this.lI11lI1llIl11 = il1IlII1;
            }

            @Override
            @lIllI1IIlI11l
            public final IllIlI1llll1I<ll1II1Il1111l> create(@lIIl1Ill111 Object obj, @lIllI1IIlI11l IllIlI1llll1I<?> illIlI1llll1I) {
                return new IIllIl1llII(this.I1II1ll1lI1, this.l11l1l11I1, this.lI11lI1llIl11, illIlI1llll1I);
            }

            @Override
            @lIIl1Ill111
            public final Object invoke(@lIllI1IIlI11l ll11ll1lllIlI ll11ll1lllili, @lIIl1Ill111 IllIlI1llll1I<? super ll1II1Il1111l> illIlI1llll1I) {
                return ((IIllIl1llII) create(ll11ll1lllili, illIlI1llll1I)).invokeSuspend(ll1II1Il1111l.IIllIl1llII);
            }

            @Override
            @lIIl1Ill111
            public final Object invokeSuspend(@lIllI1IIlI11l Object obj) {
                IIIIlIll1I1l.ll11llIII1111();
                if (this.Il11lIlllll1 != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                l1l11IlIllI.l1llllI11l111(obj);
                this.I1II1ll1lI1.setNewInstance(this.l11l1l11I1);
                this.lI11lI1llIl11.lIIl1I1I(this.I1II1ll1lI1);
                return ll1II1Il1111l.IIllIl1llII;
            }
        }

        I11ll1l1lI11l(List<WhiteApp> list, TomatoWhiteAppAdapter tomatoWhiteAppAdapter, IllIlI1llll1I<? super I11ll1l1lI11l> illIlI1llll1I) {
            super(2, illIlI1llll1I);
            this.l11l1l11I1 = list;
            this.lI11lI1llIl11 = tomatoWhiteAppAdapter;
        }

        @Override
        @lIllI1IIlI11l
        public final IllIlI1llll1I<ll1II1Il1111l> create(@lIIl1Ill111 Object obj, @lIllI1IIlI11l IllIlI1llll1I<?> illIlI1llll1I) {
            return EditScheduleActivity.this.new I11ll1l1lI11l(this.l11l1l11I1, this.lI11lI1llIl11, illIlI1llll1I);
        }

        @Override
        @lIIl1Ill111
        public final Object invoke(@lIllI1IIlI11l ll11ll1lllIlI ll11ll1lllili, @lIIl1Ill111 IllIlI1llll1I<? super ll1II1Il1111l> illIlI1llll1I) {
            return ((I11ll1l1lI11l) create(ll11ll1lllili, illIlI1llll1I)).invokeSuspend(ll1II1Il1111l.IIllIl1llII);
        }

        @Override
        @lIIl1Ill111
        public final Object invokeSuspend(@lIllI1IIlI11l Object obj) {
            Object ll11llIII1111;
            ll11llIII1111 = IIIIlIll1I1l.ll11llIII1111();
            int i = this.Il11lIlllll1;
            if (i == 0) {
                l1l11IlIllI.l1llllI11l111(obj);
                Ill1llIIlIlll.Il1IlII1 Il11lI1III1 = androidx.recyclerview.widget.Ill1llIIlIlll.Il11lI1III1(new IIllIl1llII(EditScheduleActivity.this.oldWhiteList, this.l11l1l11I1), true);
                l1l1lIII11I11.III11IIll1lI1(Il11lI1III1, "calculateDiff(...)");
                EditScheduleActivity.this.oldWhiteList = this.l11l1l11I1;
                I1lIlIlIlIIl1 Il1IlII1 = lI1111l1I1Il.Il1IlII1();
                IIllIl1llII iIllIl1llII = new IIllIl1llII(this.lI11lI1llIl11, this.l11l1l11I1, Il11lI1III1, null);
                this.Il11lIlllll1 = 1;
                if (IlIIII11lIII.lI111l1I1llIl(Il1IlII1, iIllIl1llII, this) == ll11llIII1111) {
                    return ll11llIII1111;
                }
            } else {
                if (i != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                l1l11IlIllI.l1llllI11l111(obj);
            }
            return ll1II1Il1111l.IIllIl1llII;
        }
    }

    public static final class I1Il11llllIl implements l1I1l1l1.IIllIl1llII {
        final TextView IlllIll1I1I;

        I1Il11llllIl(TextView textView) {
            this.IlllIll1I1I = textView;
        }

        @Override
        public void IIllIl1llII(int i) {
            Schedule schedule = EditScheduleActivity.this.schedule;
            Schedule schedule2 = null;
            if (schedule == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule = null;
            }
            schedule.Ill1I1lIIll(i / 60);
            Schedule schedule3 = EditScheduleActivity.this.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule3 = null;
            }
            schedule3.llIl11III1lI1(i % 60);
            TextView textView = this.IlllIll1I1I;
            IlI11lII1Il.IIllIl1llII iIllIl1llII = IlI11lII1Il.IIllIl1llII;
            Schedule schedule4 = EditScheduleActivity.this.schedule;
            if (schedule4 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule4 = null;
            }
            int startHour = schedule4.getStartHour();
            Schedule schedule5 = EditScheduleActivity.this.schedule;
            if (schedule5 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule2 = schedule5;
            }
            textView.setText(iIllIl1llII.Il11lI1III1(startHour, schedule2.getStartMinute()));
            EditScheduleActivity.this.changed = true;
        }
    }

    public static final class III11IIll1lI1 implements l1I1l1l1.IIllIl1llII {
        final TextView Il11lI1III1;
        final IIlIllII111.lI111l1I1llIl<String> IlllIll1I1I;

        III11IIll1lI1(IIlIllII111.lI111l1I1llIl<String> li111l1i1llil, TextView textView) {
            this.IlllIll1I1I = li111l1i1llil;
            this.Il11lI1III1 = textView;
        }

        @Override
        public void IIllIl1llII(int i) {
            Schedule schedule = EditScheduleActivity.this.schedule;
            Schedule schedule2 = null;
            if (schedule == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule = null;
            }
            schedule.llllII1llIlI(i / 60);
            Schedule schedule3 = EditScheduleActivity.this.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule3 = null;
            }
            schedule3.l1Il1IlII1(i % 60);
            IIlIllII111.lI111l1I1llIl<String> li111l1i1llil = this.IlllIll1I1I;
            Schedule schedule4 = EditScheduleActivity.this.schedule;
            if (schedule4 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule4 = null;
            }
            int startHour = schedule4.getStartHour() * 60;
            Schedule schedule5 = EditScheduleActivity.this.schedule;
            if (schedule5 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule5 = null;
            }
            int startMinute = startHour + schedule5.getStartMinute();
            Schedule schedule6 = EditScheduleActivity.this.schedule;
            if (schedule6 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule6 = null;
            }
            int endHour = schedule6.getEndHour() * 60;
            Schedule schedule7 = EditScheduleActivity.this.schedule;
            if (schedule7 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule7 = null;
            }
            li111l1i1llil.Il11lIlllll1 = startMinute >= endHour + schedule7.getEndMinute() ? "次日" : "";
            TextView textView = this.Il11lI1III1;
            String str = this.IlllIll1I1I.Il11lIlllll1;
            IlI11lII1Il.IIllIl1llII iIllIl1llII = IlI11lII1Il.IIllIl1llII;
            Schedule schedule8 = EditScheduleActivity.this.schedule;
            if (schedule8 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule8 = null;
            }
            int endHour2 = schedule8.getEndHour();
            Schedule schedule9 = EditScheduleActivity.this.schedule;
            if (schedule9 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule2 = schedule9;
            }
            textView.setText(((Object) str) + iIllIl1llII.Il11lI1III1(endHour2, schedule2.getEndMinute()));
            EditScheduleActivity.this.changed = true;
        }
    }

    public static final class IIIII11lIlIl implements ll111ll1lII {
        IIIII11lIlIl() {
        }

        @Override
        public void IIllIl1llII() {
            ScheduleWithSub scheduleWithSub = null;
            if (EditScheduleActivity.this.saveMode == 0) {
                l11llIll1lI11 II1IIll1lIIII = EditScheduleActivity.this.II1IIll1lIIII();
                ScheduleWithSub scheduleWithSub2 = EditScheduleActivity.this.scheduleWithSub;
                if (scheduleWithSub2 == null) {
                    l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                } else {
                    scheduleWithSub = scheduleWithSub2;
                }
                II1IIll1lIIII.IllIlI1l1I(scheduleWithSub);
            } else {
                l11llIll1lI11 II1IIll1lIIII2 = EditScheduleActivity.this.II1IIll1lIIII();
                ScheduleWithSub scheduleWithSub3 = EditScheduleActivity.this.scheduleWithSub;
                if (scheduleWithSub3 == null) {
                    l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                } else {
                    scheduleWithSub = scheduleWithSub3;
                }
                II1IIll1lIIII2.l1IlI1IIII1I(scheduleWithSub);
            }
            EditScheduleActivity.this.finish();
        }
    }

    @I11III11ll1I1({"SMAP\nEditScheduleActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 EditScheduleActivity.kt\ncom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity$onCreate$6\n+ 2 ActivityEditSchedule.kt\nkotlinx/android/synthetic/main/activity_edit_schedule/ActivityEditScheduleKt\n+ 3 DialogLockTomatoDrag.kt\nkotlinx/android/synthetic/main/dialog_lock_tomato_drag/view/DialogLockTomatoDragKt\n*L\n1#1,1126:1\n193#2:1127\n191#2:1128\n193#2:1129\n191#2:1130\n193#2:1131\n191#2:1132\n193#2:1133\n191#2:1134\n11#3:1135\n8#3:1136\n8#3:1137\n*S KotlinDebug\n*F\n+ 1 EditScheduleActivity.kt\ncom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity$onCreate$6\n*L\n209#1:1127\n209#1:1128\n217#1:1129\n217#1:1130\n220#1:1131\n220#1:1132\n232#1:1133\n232#1:1134\n222#1:1135\n226#1:1136\n229#1:1137\n*E\n"})
    static final class IIl1I11I1lI1l extends I11Ill1Il1I1 implements lIII1llI11l<List<TomatoWithSub>, ll1II1Il1111l> {
        IIl1I11I1lI1l() {
            super(1);
        }

        public static final void Il1IlII1(EditScheduleActivity editScheduleActivity, I1l1I1IIl1 i1l1I1IIl1, BaseQuickAdapter baseQuickAdapter, View view, int i) {
            l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
            l1l1lIII11I11.IIl1I11I1lI1l(i1l1I1IIl1, "$dialog");
            l1l1lIII11I11.IIl1I11I1lI1l(baseQuickAdapter, "adapter");
            l1l1lIII11I11.IIl1I11I1lI1l(view, "view");
            Schedule schedule = editScheduleActivity.schedule;
            if (schedule == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule = null;
            }
            Object obj = baseQuickAdapter.getData().get(i);
            l1l1lIII11I11.l1llllI11l111(obj, "null cannot be cast to non-null type com.lijianqiang12.silent.data.model.db.TomatoWithSub");
            schedule.I1IIl1IlIlI(((TomatoWithSub) obj).llIIlllll111().llll11l11l1());
            TextView textView = (TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class);
            Object obj2 = baseQuickAdapter.getData().get(i);
            l1l1lIII11I11.l1llllI11l111(obj2, "null cannot be cast to non-null type com.lijianqiang12.silent.data.model.db.TomatoWithSub");
            textView.setText(((TomatoWithSub) obj2).llIIlllll111().getTitle());
            editScheduleActivity.changed = true;
            i1l1I1IIl1.dismiss();
        }

        public static final void lIIl1I1I(final EditScheduleActivity editScheduleActivity, List list, View view) {
            l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
            View inflate = LayoutInflater.from(editScheduleActivity).inflate(IlIlII1IIII11.Ill1llIIlIlll.l1lIl1I1IIII, (ViewGroup) null);
            l1l1lIII11I11.IllIlI1l1I(inflate);
            ((TextView) lIIIlIlIlIlIl.IIllIl1llII(inflate, IlIlII1IIII11.lI111l1I1llIl.ll1III1IIl1I, TextView.class)).setText("选择要定时运行的番茄任务");
            final I1l1I1IIl1 IIll11IllI1l = I1l1I1IIl1.IIll11IllI1l(l11I11IllI1.IlllIll1I1I(new I1l1I1IIl1(editScheduleActivity, (I11l111lII) null, 2, (l1lIl1lIlll1l) null), Integer.valueOf(IlIlII1IIII11.Ill1llIIlIlll.l1lIl1I1IIII), inflate, false, false, false, false, 56, (Object) null), Float.valueOf(8.0f), (Integer) null, 2, (Object) null);
            lIIIlIlIlIlIl.IIllIl1llII(inflate, IlIlII1IIII11.lI111l1I1llIl.IlIl1lIlII1l, RecyclerView.class).setLayoutManager(new LinearLayoutManager(editScheduleActivity));
            TomatoAdapter tomatoAdapter = new TomatoAdapter(IlIlII1IIII11.Ill1llIIlIlll.IllII11l11, new ArrayList());
            tomatoAdapter.setAnimationEnable(true);
            lIIIlIlIlIlIl.IIllIl1llII(inflate, IlIlII1IIII11.lI111l1I1llIl.IlIl1lIlII1l, RecyclerView.class).setAdapter(tomatoAdapter);
            tomatoAdapter.setOnItemClickListener(new OnItemClickListener() {
                public final void onItemClick(BaseQuickAdapter baseQuickAdapter, View view2, int i) {
                    EditScheduleActivity.IIl1I11I1lI1l.Il1IlII1(EditScheduleActivity.this, IIll11IllI1l, baseQuickAdapter, view2, i);
                }
            });
            l1l1lIII11I11.IllIlI1l1I(list);
            tomatoAdapter.addData(list);
            tomatoAdapter.notifyDataSetChanged();
            IIll11IllI1l.show();
        }

        public final void Il11lI1III1(final List<TomatoWithSub> list) {
            Schedule schedule = EditScheduleActivity.this.schedule;
            if (schedule == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule = null;
            }
            if (l1l1lIII11I11.lII1lI1Illl(schedule.Illllll1Illl(), "")) {
                ll1l1I1ll11I1 ll1l1i1ll11i1 = EditScheduleActivity.this;
                l1l1lIII11I11.l1llllI11l111(ll1l1i1ll11i1, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
                ((TextView) ll1l1i1ll11i1.IIllIl1llII(ll1l1i1ll11i1, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class)).setText("未选择");
            } else {
                String str = "已删除";
                for (TomatoWithSub tomatoWithSub : list) {
                    String llll11l11l1 = tomatoWithSub.llIIlllll111().llll11l11l1();
                    Schedule schedule2 = EditScheduleActivity.this.schedule;
                    if (schedule2 == null) {
                        l1l1lIII11I11.lI1111IllIl1("schedule");
                        schedule2 = null;
                    }
                    if (l1l1lIII11I11.lII1lI1Illl(llll11l11l1, schedule2.Illllll1Illl())) {
                        str = tomatoWithSub.llIIlllll111().getTitle();
                    }
                }
                ll1l1I1ll11I1 ll1l1i1ll11i12 = EditScheduleActivity.this;
                l1l1lIII11I11.l1llllI11l111(ll1l1i1ll11i12, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
                ((TextView) ll1l1i1ll11i12.IIllIl1llII(ll1l1i1ll11i12, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class)).setText(str);
            }
            ll1l1I1ll11I1 ll1l1i1ll11i13 = EditScheduleActivity.this;
            l1l1lIII11I11.l1llllI11l111(ll1l1i1ll11i13, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            TextView textView = (TextView) ll1l1i1ll11i13.IIllIl1llII(ll1l1i1ll11i13, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class);
            final EditScheduleActivity editScheduleActivity = EditScheduleActivity.this;
            textView.setOnClickListener(new View.OnClickListener() {
                @Override
                public final void onClick(View view) {
                    EditScheduleActivity.IIl1I11I1lI1l.lIIl1I1I(EditScheduleActivity.this, list, view);
                }
            });
        }

        @Override
        public ll1II1Il1111l invoke(List<TomatoWithSub> list) {
            Il11lI1III1(list);
            return ll1II1Il1111l.IIllIl1llII;
        }
    }

    public static final class IIll11IllI1l extends BubbleSeekBar.ll11llIII1111 {
        IIll11IllI1l() {
        }

        @Override
        public void IIllIl1llII(@lIIl1Ill111 BubbleSeekBar bubbleSeekBar, int i, float f, boolean z) {
            super.IIllIl1llII(bubbleSeekBar, i, f, z);
            LockConfig lockConfig = EditScheduleActivity.this.lockConfig;
            if (lockConfig == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
                lockConfig = null;
            }
            lockConfig.l1Illll1lI((long) (f * AidConstants.EVENT_REQUEST_STARTED));
        }
    }

    private static final class IIllIl1llII extends Ill1llIIlIlll.IlllIll1I1I {

        @lIllI1IIlI11l
        private final List<WhiteApp> IIllIl1llII;

        @lIllI1IIlI11l
        private final List<WhiteApp> IlllIll1I1I;

        public IIllIl1llII(@lIllI1IIlI11l List<WhiteApp> list, @lIllI1IIlI11l List<WhiteApp> list2) {
            l1l1lIII11I11.IIl1I11I1lI1l(list, "oldList");
            l1l1lIII11I11.IIl1I11I1lI1l(list2, "newList");
            this.IIllIl1llII = list;
            this.IlllIll1I1I = list2;
        }

        @lIllI1IIlI11l
        public final List<WhiteApp> IIllIl1llII() {
            return this.IlllIll1I1I;
        }

        @lIllI1IIlI11l
        public final List<WhiteApp> IlllIll1I1I() {
            return this.IIllIl1llII;
        }

        public boolean areContentsTheSame(int i, int i2) {
            return l1l1lIII11I11.lII1lI1Illl(this.IIllIl1llII.get(i).getPkg(), this.IlllIll1I1I.get(i2).getPkg()) && l1l1lIII11I11.lII1lI1Illl(this.IIllIl1llII.get(i).getMainActivity(), this.IlllIll1I1I.get(i2).getMainActivity()) && this.IIllIl1llII.get(i).getMaxLen() == this.IlllIll1I1I.get(i2).getMaxLen();
        }

        public boolean areItemsTheSame(int i, int i2) {
            return l1l1lIII11I11.lII1lI1Illl(this.IIllIl1llII.get(i).getWhiteAppIndexId(), this.IlllIll1I1I.get(i2).getWhiteAppIndexId());
        }

        public int getNewListSize() {
            return this.IlllIll1I1I.size();
        }

        public int getOldListSize() {
            return this.IIllIl1llII.size();
        }
    }

    @I11III11ll1I1({"SMAP\nActivityViewModelLazy.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt$viewModels$3\n*L\n1#1,78:1\n*E\n"})
    public static final class IIllll1Il1lIl extends I11Ill1Il1I1 implements lllI1llIllIll<ViewModelStore> {
        final lI1l11ll11I Il11lIlllll1;

        public IIllll1Il1lIl(lI1l11ll11I li1l11ll11i) {
            super(0);
            this.Il11lIlllll1 = li1l11ll11i;
        }

        @Override
        public final ViewModelStore invoke() {
            return this.Il11lIlllll1.getViewModelStore();
        }
    }

    public static final class Il11lI1III1 implements IlI11IIl1IIl {
        Il11lI1III1() {
        }

        @Override
        public void IIllIl1llII() {
            EditScheduleActivity.this.finish();
        }
    }

    static final class Il11lI1l implements Observer, I1lIII11I1Il {
        private final lIII1llI11l IIllIl1llII;

        Il11lI1l(lIII1llI11l liii1lli11l) {
            l1l1lIII11I11.IIl1I11I1lI1l(liii1lli11l, "function");
            this.IIllIl1llII = liii1lli11l;
        }

        public final boolean equals(@lIIl1Ill111 Object obj) {
            if ((obj instanceof Observer) && (obj instanceof I1lIII11I1Il)) {
                return l1l1lIII11I11.lII1lI1Illl(getFunctionDelegate(), ((I1lIII11I1Il) obj).getFunctionDelegate());
            }
            return false;
        }

        @Override
        @lIllI1IIlI11l
        public final I1l1111111II<?> getFunctionDelegate() {
            return this.IIllIl1llII;
        }

        public final int hashCode() {
            return getFunctionDelegate().hashCode();
        }

        public final void onChanged(Object obj) {
            this.IIllIl1llII.invoke(obj);
        }
    }

    public static final class Il1IlII1 implements II1II111I1lll.IlllIll1I1I {
        Il1IlII1() {
        }

        @Override
        public void IIllIl1llII() {
            EditScheduleActivity.this.changed = true;
            EditScheduleActivity.this.lIlIlllI1I();
        }
    }

    public static final class Ill1llIIlIlll implements IIl1I111lI1l.IIllIl1llII {
        final TextView IlllIll1I1I;

        Ill1llIIlIlll(TextView textView) {
            this.IlllIll1I1I = textView;
        }

        @Override
        public void IIllIl1llII(int i) {
            LockConfig lockConfig = EditScheduleActivity.this.lockConfig;
            LockConfig lockConfig2 = null;
            if (lockConfig == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
                lockConfig = null;
            }
            lockConfig.l1l1Il1llII1(i);
            TextView textView = this.IlllIll1I1I;
            String[] IIllIl1llII = Il1I11I1IIIl.IIllIl1llII();
            LockConfig lockConfig3 = EditScheduleActivity.this.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig2 = lockConfig3;
            }
            textView.setText(IIllIl1llII[lockConfig2.getEndVoiceNotify()]);
        }
    }

    public static final class IllIlI1l1I implements ll111ll1lII {
        IllIlI1l1I() {
        }

        @Override
        public void IIllIl1llII() {
            I1lIlIl11111I.IIllIl1llII.Il11lIlllll1(EditScheduleActivity.this);
        }
    }

    public static final class IlllIll1I1I implements ll111ll1lII {
        IlllIll1I1I() {
        }

        @Override
        public void IIllIl1llII() {
            EditScheduleActivity.this.I1II1111IIl1l();
        }
    }

    public static final class l1llllI11l111 implements ll111ll1lII {
        l1llllI11l111() {
        }

        @Override
        public void IIllIl1llII() {
            I1lIlIl11111I.IIllIl1llII.Ill11IIlII1(EditScheduleActivity.this);
        }
    }

    public static final class lI11111lI1 implements llll1lll11.IIllIl1llII {
        final TextView IlllIll1I1I;

        lI11111lI1(TextView textView) {
            this.IlllIll1I1I = textView;
        }

        @Override
        public void IIllIl1llII(@lIllI1IIlI11l String str) {
            l1l1lIII11I11.IIl1I11I1lI1l(str, lIIIIIll1.Il1IlII1);
            EditScheduleActivity.this.changed = true;
            Schedule schedule = EditScheduleActivity.this.schedule;
            if (schedule == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule = null;
            }
            schedule.IlI1I11llII(str);
            TextView textView = this.IlllIll1I1I;
            if (str.length() == 0) {
                str = "未命名";
            }
            textView.setText(str);
        }
    }

    public static final class lI111l1I1llIl implements IIl1I111lI1l.IIllIl1llII {
        final TextView IlllIll1I1I;

        lI111l1I1llIl(TextView textView) {
            this.IlllIll1I1I = textView;
        }

        @Override
        public void IIllIl1llII(int i) {
            LockConfig lockConfig = EditScheduleActivity.this.lockConfig;
            LockConfig lockConfig2 = null;
            if (lockConfig == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
                lockConfig = null;
            }
            lockConfig.Il1l1IIIl1ll(i);
            TextView textView = this.IlllIll1I1I;
            String[] IIllIl1llII = Il1I11I1IIIl.IIllIl1llII();
            LockConfig lockConfig3 = EditScheduleActivity.this.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig2 = lockConfig3;
            }
            textView.setText(IIllIl1llII[lockConfig2.getStartVoiceNotify()]);
        }
    }

    @I11III11ll1I1({"SMAP\nActivityViewModelLazy.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt$viewModels$4\n*L\n1#1,80:1\n*E\n"})
    public static final class lI1l11l11ll extends I11Ill1Il1I1 implements lllI1llIllIll<CreationExtras> {
        final lI1l11ll11I I1II1ll1lI1;
        final lllI1llIllIll Il11lIlllll1;

        public lI1l11l11ll(lllI1llIllIll llli1llillill, lI1l11ll11I li1l11ll11i) {
            super(0);
            this.Il11lIlllll1 = llli1llillill;
            this.I1II1ll1lI1 = li1l11ll11i;
        }

        @Override
        public final CreationExtras invoke() {
            CreationExtras creationExtras;
            lllI1llIllIll llli1llillill = this.Il11lIlllll1;
            return (llli1llillill == null || (creationExtras = (CreationExtras) llli1llillill.invoke()) == null) ? this.I1II1ll1lI1.getDefaultViewModelCreationExtras() : creationExtras;
        }
    }

    public static final class lII1lI1Illl implements lII1llllI.Il11lI1III1 {
        final ImageView IlllIll1I1I;

        lII1lI1Illl(ImageView imageView) {
            this.IlllIll1I1I = imageView;
        }

        @Override
        public void IIllIl1llII(@lIllI1IIlI11l String str) {
            l1l1lIII11I11.IIl1I11I1lI1l(str, "imgUrl");
            LockConfig lockConfig = EditScheduleActivity.this.lockConfig;
            LockConfig lockConfig2 = null;
            if (lockConfig == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
                lockConfig = null;
            }
            lockConfig.lIllll11l1I1I(str);
            com.bumptech.glide.lII1lI1Illl IIl1ll1ll1l = com.bumptech.glide.IIllIl1llII.IIl1ll1ll1l(EditScheduleActivity.this);
            LockConfig lockConfig3 = EditScheduleActivity.this.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig2 = lockConfig3;
            }
            IIl1ll1ll1l.lI11lI1l1(lockConfig2.getBgUrl()).IIIII11lIlIl(II1IIIllIl1l.Il1IlII1).I1II1111IIl1l(this.IlllIll1I1I);
        }
    }

    @I11III11ll1I1({"SMAP\nEditScheduleActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 EditScheduleActivity.kt\ncom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity$onCreate$16$1\n+ 2 ActivityEditSchedule.kt\nkotlinx/android/synthetic/main/activity_edit_schedule/ActivityEditScheduleKt\n*L\n1#1,1126:1\n319#2:1127\n317#2:1128\n*S KotlinDebug\n*F\n+ 1 EditScheduleActivity.kt\ncom/lijianqiang12/silent/component/activity/lock/schedule/EditScheduleActivity$onCreate$16$1\n*L\n407#1:1127\n407#1:1128\n*E\n"})
    public static final class lIIl1I1I implements lIl11ll1II.IlllIll1I1I {
        lIIl1I1I() {
        }

        @Override
        public void IIllIl1llII(long j, @lIllI1IIlI11l String str) {
            l1l1lIII11I11.IIl1I11I1lI1l(str, "show");
            Schedule schedule = EditScheduleActivity.this.schedule;
            if (schedule == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule = null;
            }
            schedule.ll1ll1IllII((int) j);
            ll1l1I1ll11I1 ll1l1i1ll11i1 = EditScheduleActivity.this;
            l1l1lIII11I11.l1llllI11l111(ll1l1i1ll11i1, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) ll1l1i1ll11i1.IIllIl1llII(ll1l1i1ll11i1, IlIlII1IIII11.lI111l1I1llIl.llII1llI1l111, TextView.class)).setText(str);
        }
    }

    public static final class ll11llIII1111 extends BubbleSeekBar.ll11llIII1111 {
        ll11llIII1111() {
        }

        @Override
        public void IIllIl1llII(@lIIl1Ill111 BubbleSeekBar bubbleSeekBar, int i, float f, boolean z) {
            super.IIllIl1llII(bubbleSeekBar, i, f, z);
            LockConfig lockConfig = EditScheduleActivity.this.lockConfig;
            if (lockConfig == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
                lockConfig = null;
            }
            lockConfig.lIlI1IIllI1((long) (f * AidConstants.EVENT_REQUEST_STARTED));
        }
    }

    @I11III11ll1I1({"SMAP\nActivityViewModelLazy.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt$viewModels$factoryPromise$2\n*L\n1#1,74:1\n*E\n"})
    public static final class llI1l1l1Il1I extends I11Ill1Il1I1 implements lllI1llIllIll<ViewModelProvider.Factory> {
        final lI1l11ll11I Il11lIlllll1;

        public llI1l1l1Il1I(lI1l11ll11I li1l11ll11i) {
            super(0);
            this.Il11lIlllll1 = li1l11ll11i;
        }

        @Override
        public final ViewModelProvider.Factory invoke() {
            return this.Il11lIlllll1.getDefaultViewModelProviderFactory();
        }
    }

    public static final class llIIlllll111 implements IlI11IIl1IIl {
        llIIlllll111() {
        }

        @Override
        public void IIllIl1llII() {
        }
    }

    static final class lllIlIl11ll extends I11Ill1Il1I1 implements lllI1llIllIll<ViewModelProvider.Factory> {
        lllIlIl11ll() {
            super(0);
        }

        @Override
        @lIllI1IIlI11l
        public final ViewModelProvider.Factory invoke() {
            return ll111IlIl11.IIllIl1llII.ll11llIII1111(EditScheduleActivity.this);
        }
    }

    public final void I1II1111IIl1l() {
        Object[] objArr = new Object[1];
        ScheduleWithSub scheduleWithSub = this.scheduleWithSub;
        Schedule schedule = null;
        if (scheduleWithSub == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub = null;
        }
        objArr[0] = "save scheduleWithSub.whiteList.size = " + scheduleWithSub.lI1l11l11ll().size();
        LogUtils.d(objArr);
        Schedule schedule2 = this.schedule;
        if (schedule2 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule2 = null;
        }
        if (schedule2.lIlll1lIII1()) {
            Schedule schedule3 = this.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule3;
            }
            if (l1l1lIII11I11.lII1lI1Illl(schedule.Illllll1Illl(), "")) {
                I1Il1lIl11I.IIllIl1llII.lII1lI1Illl("还没选择番茄任务哦");
                return;
            }
        } else {
            Schedule schedule4 = this.schedule;
            if (schedule4 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule4 = null;
            }
            if (schedule4.IlIl1llIlIl1()) {
                Schedule schedule5 = this.schedule;
                if (schedule5 == null) {
                    l1l1lIII11I11.lI1111IllIl1("schedule");
                    schedule5 = null;
                }
                if (schedule5.l1l1Il1llII1()) {
                    Schedule schedule6 = this.schedule;
                    if (schedule6 == null) {
                        l1l1lIII11I11.lI1111IllIl1("schedule");
                        schedule6 = null;
                    }
                    if (schedule6.llIIlIIllI111()) {
                        Schedule schedule7 = this.schedule;
                        if (schedule7 == null) {
                            l1l1lIII11I11.lI1111IllIl1("schedule");
                            schedule7 = null;
                        }
                        if (schedule7.l1ll1IllII11()) {
                            Schedule schedule8 = this.schedule;
                            if (schedule8 == null) {
                                l1l1lIII11I11.lI1111IllIl1("schedule");
                                schedule8 = null;
                            }
                            if (schedule8.Il1l1IIIl1ll()) {
                                Schedule schedule9 = this.schedule;
                                if (schedule9 == null) {
                                    l1l1lIII11I11.lI1111IllIl1("schedule");
                                    schedule9 = null;
                                }
                                if (schedule9.getFriday()) {
                                    Schedule schedule10 = this.schedule;
                                    if (schedule10 == null) {
                                        l1l1lIII11I11.lI1111IllIl1("schedule");
                                        schedule10 = null;
                                    }
                                    if (schedule10.getSaturday()) {
                                        Schedule schedule11 = this.schedule;
                                        if (schedule11 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule11 = null;
                                        }
                                        int startHour = schedule11.getStartHour() * 60;
                                        Schedule schedule12 = this.schedule;
                                        if (schedule12 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule12 = null;
                                        }
                                        int startMinute = startHour + schedule12.getStartMinute();
                                        Schedule schedule13 = this.schedule;
                                        if (schedule13 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule13 = null;
                                        }
                                        int endHour = schedule13.getEndHour() * 60;
                                        Schedule schedule14 = this.schedule;
                                        if (schedule14 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule14 = null;
                                        }
                                        if (startMinute == endHour + schedule14.getEndMinute()) {
                                            I1Il1lIl11I.IIllIl1llII.lI111l1I1llIl("开始时间不能等于结束时间", 1);
                                            return;
                                        }
                                        Schedule schedule15 = this.schedule;
                                        if (schedule15 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule15 = null;
                                        }
                                        int denyChangeLength = schedule15.getDenyChangeLength();
                                        Schedule schedule16 = this.schedule;
                                        if (schedule16 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule16 = null;
                                        }
                                        int startHour2 = schedule16.getStartHour() * 60;
                                        Schedule schedule17 = this.schedule;
                                        if (schedule17 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule17 = null;
                                        }
                                        int startMinute2 = startHour2 + schedule17.getStartMinute();
                                        Schedule schedule18 = this.schedule;
                                        if (schedule18 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule18 = null;
                                        }
                                        int endHour2 = schedule18.getEndHour() * 60;
                                        Schedule schedule19 = this.schedule;
                                        if (schedule19 == null) {
                                            l1l1lIII11I11.lI1111IllIl1("schedule");
                                            schedule19 = null;
                                        }
                                        int endMinute = startMinute2 - (endHour2 + schedule19.getEndMinute());
                                        if (1 <= endMinute && endMinute <= denyChangeLength) {
                                            Schedule schedule20 = this.schedule;
                                            if (schedule20 == null) {
                                                l1l1lIII11I11.lI1111IllIl1("schedule");
                                                schedule20 = null;
                                            }
                                            if (schedule20.getIsDenyChange()) {
                                                I1Il1lIl11I.IIllIl1llII iIllIl1llII = I1Il1lIl11I.IIllIl1llII;
                                                Schedule schedule21 = this.schedule;
                                                if (schedule21 == null) {
                                                    l1l1lIII11I11.lI1111IllIl1("schedule");
                                                } else {
                                                    schedule = schedule21;
                                                }
                                                iIllIl1llII.lI111l1I1llIl("请缩小锁机时间范围或关闭禁止" + schedule.getDenyChangeLength() + "分钟内更改,否则激活后将会无法变更", 1);
                                                return;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        Ill1IIIl1lIll ill1IIIl1lIll = new Ill1IIIl1lIll((androidx.fragment.app.IllIlI1l1I) this);
        ill1IIIl1lIll.IIlIlIlI111ll("温馨提示");
        ill1IIIl1lIll.lI1111IllIl1("请确定您设置的所有定时任务之间没有时间重叠,否则将会有无限锁机无法解锁的风险,请仔细检查。");
        ill1IIIl1lIll.Ill11IIlII1(8388611);
        ill1IIIl1lIll.I1II1ll1lI1(false);
        ill1IIIl1lIll.Il1I1l111l1l("我确定", new IIIII11lIlIl());
        ill1IIIl1lIll.lIllll11l1I1I("不确定", new llIIlllll111());
        ill1IIIl1lIll.l1IlI1IIII1I();
    }

    public static final void I1IIl1IlIlI(EditScheduleActivity editScheduleActivity, TextView textView, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        llll1lll11 llll1lll11Var = new llll1lll11(editScheduleActivity);
        llll1lll11Var.lllIl1ll1l1I(true);
        llll1lll11Var.I1IlIl1llII(editScheduleActivity.new lI11111lI1(textView));
        llll1lll11Var.l1IlI1lI();
    }

    public static final void I1IIlIlI1II11(EditScheduleActivity editScheduleActivity, TextView textView, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        l1I1l1l1 l1i1l1l1 = new l1I1l1l1(editScheduleActivity);
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        l1i1l1l1.ll1I1I1IIIl1I(schedule.getStartHour());
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule3;
        }
        l1i1l1l1.l1IlI1lI(schedule2.getStartMinute());
        l1i1l1l1.lI1111IllIl1(editScheduleActivity.new I1Il11llllIl(textView));
        l1i1l1l1.Ill11IIlII1();
    }

    public static final void I1Il11I11II1I(EditScheduleActivity editScheduleActivity, TextView textView, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        IIl1I111lI1l iIl1I111lI1l = new IIl1I111lI1l(editScheduleActivity);
        LockConfig lockConfig = editScheduleActivity.lockConfig;
        if (lockConfig == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig = null;
        }
        iIl1I111lI1l.lI1111IllIl1(lockConfig.getEndVoiceNotify());
        iIl1I111lI1l.II11lIlI1lll1(editScheduleActivity.new Ill1llIIlIlll(textView));
        iIl1I111lI1l.Ill11IIlII1();
    }

    public static final void I1Il1II11Ill(EditScheduleActivity editScheduleActivity, ImageView imageView, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        lII1llllI.Companion companion = lII1llllI.INSTANCE;
        LockConfig lockConfig = editScheduleActivity.lockConfig;
        if (lockConfig == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig = null;
        }
        lII1llllI IIllIl1llII2 = companion.IIllIl1llII(lockConfig.getBgUrl(), "定时锁机背景图片");
        IIllIl1llII2.IIlIlIlI111ll(editScheduleActivity.new lII1lI1Illl(imageView));
        IIllIl1llII2.l11llI1Ill1(editScheduleActivity.getSupportFragmentManager(), "BgBottomSheetDialogFragment");
    }

    public static final void I1IlIIl11lIII(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.lIIl11ll1) {
            Schedule schedule2 = editScheduleActivity.schedule;
            if (schedule2 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule2;
            }
            schedule.I1IlI1I1lIIl1(true);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.l1Il1IlI111) {
            Schedule schedule3 = editScheduleActivity.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule3;
            }
            schedule.I1IlI1I1lIIl1(false);
        }
    }

    public static final void I1lIIl1llIl(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.I1II1111IIl1l();
    }

    public static final void I1lll111IlllI(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        lIl11ll1II IIllIl1llII2 = lIl11ll1II.INSTANCE.IIllIl1llII();
        IIllIl1llII2.lI1111IllIl1(I1I1lllll1.IIIII11lIlIl("5分钟", "10分钟", "20分钟", "30分钟", "45分钟", "60分钟", "120分钟", "180分钟", "240分钟", "300分钟", "600分钟"));
        IIllIl1llII2.II11lIlI1lll1(I1I1lllll1.IIIII11lIlIl(5L, 10L, 20L, 30L, 45L, 60L, 120L, 180L, 240L, 300L, 600L));
        IIllIl1llII2.l1IlI1lI(editScheduleActivity.new lIIl1I1I());
        IIllIl1llII2.l11llI1Ill1(editScheduleActivity.getSupportFragmentManager(), "");
    }

    public static final void II1111lIIII(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.IIlIIlI1I1I(true ^ schedule3.llIIlIIllI111());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.llIIlIIllI111()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.lllIlIII1III, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.lllIlIII1III, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public final l11llIll1lI11 II1IIll1lIIII() {
        return (l11llIll1lI11) this.viewModel.getValue();
    }

    public static final void II1IllIlI1(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        LockConfig lockConfig = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.ll111I1111) {
            LockConfig lockConfig2 = editScheduleActivity.lockConfig;
            if (lockConfig2 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig2;
            }
            lockConfig.Il1I1l111l1l(true);
            ((BubbleSeekBar) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.IlII111ll11) {
            if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.ll111I1111, RadioButton.class)).setChecked(true);
                lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立震动强度,开通后,即可在不同的锁机任务使用不同的震动强度。", "EditScheduleActivity_VIP可使用独立设置_结束震动", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                return;
            }
            LockConfig lockConfig3 = editScheduleActivity.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig3;
            }
            lockConfig.Il1I1l111l1l(false);
            ((BubbleSeekBar) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).setVisibility(0);
        }
    }

    public static final void II1lllllllI(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        ScheduleWithSub scheduleWithSub = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.llI1llI1ll1) {
            ScheduleWithSub scheduleWithSub2 = editScheduleActivity.scheduleWithSub;
            if (scheduleWithSub2 == null) {
                l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            } else {
                scheduleWithSub = scheduleWithSub2;
            }
            scheduleWithSub.llI1l1l1Il1I().getLockConfig().l1IlI1IIII1I(true);
            return;
        }
        if (i != IlIlII1IIII11.lI111l1I1llIl.IIl1l11lI11I) {
            if (i == IlIlII1IIII11.lI111l1I1llIl.lI1l1IIIllI1I) {
                if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                    ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llI1llI1ll1, RadioButton.class)).setChecked(true);
                    lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立屏蔽通知设置,开通后,即可为不同的锁机任务分别设置是否屏蔽通知。", "EditScheduleActivity_VIP可使用独立设置_屏蔽通知", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                    return;
                }
                ScheduleWithSub scheduleWithSub3 = editScheduleActivity.scheduleWithSub;
                if (scheduleWithSub3 == null) {
                    l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                    scheduleWithSub3 = null;
                }
                scheduleWithSub3.llI1l1l1Il1I().getLockConfig().l1IlI1IIII1I(false);
                ScheduleWithSub scheduleWithSub4 = editScheduleActivity.scheduleWithSub;
                if (scheduleWithSub4 == null) {
                    l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                } else {
                    scheduleWithSub = scheduleWithSub4;
                }
                scheduleWithSub.llI1l1l1Il1I().getLockConfig().IlII1l1l1IIlI(false);
                return;
            }
            return;
        }
        if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
            ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llI1llI1ll1, RadioButton.class)).setChecked(true);
            lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立屏蔽通知设置,开通后,即可为不同的锁机任务分别设置是否屏蔽通知。", "EditScheduleActivity_VIP可使用独立设置_屏蔽通知", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
            return;
        }
        if (!I1lIlIl11111I.IIllIl1llII.llll11l11l1(editScheduleActivity)) {
            ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llI1llI1ll1, RadioButton.class)).setChecked(true);
            Ill1IIIl1lIll ill1IIIl1lIll = new Ill1IIIl1lIll((androidx.fragment.app.IllIlI1l1I) editScheduleActivity);
            ill1IIIl1lIll.IIlIlIlI111ll("缺少权限");
            ill1IIIl1lIll.lI1111IllIl1("需要您授予“通知权限”,点击下方“确定”,跳转权限授予页面");
            ill1IIIl1lIll.lIlI1IIllI1(editScheduleActivity.new IllIlI1l1I());
            ill1IIIl1lIll.l1IlI1IIII1I();
            return;
        }
        ScheduleWithSub scheduleWithSub5 = editScheduleActivity.scheduleWithSub;
        if (scheduleWithSub5 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub5 = null;
        }
        scheduleWithSub5.llI1l1l1Il1I().getLockConfig().l1IlI1IIII1I(false);
        ScheduleWithSub scheduleWithSub6 = editScheduleActivity.scheduleWithSub;
        if (scheduleWithSub6 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
        } else {
            scheduleWithSub = scheduleWithSub6;
        }
        scheduleWithSub.llI1l1l1Il1I().getLockConfig().IlII1l1l1IIlI(true);
    }

    public static final void III11l1IlI(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        LockConfig lockConfig = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.Il1lII1l1l1l) {
            LockConfig lockConfig2 = editScheduleActivity.lockConfig;
            if (lockConfig2 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig2;
            }
            lockConfig.l1IlI1II1IIll(true);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llllll1Il11, ConstraintLayout.class).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.l1111I1I111) {
            if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Il1lII1l1l1l, RadioButton.class)).setChecked(true);
                lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立提示音,开通后,即可在不同的锁机任务使用不同的提示音。", "EditScheduleActivity_VIP可使用独立设置_开始音乐", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                return;
            }
            LockConfig lockConfig3 = editScheduleActivity.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig3;
            }
            lockConfig.l1IlI1II1IIll(false);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llllll1Il11, ConstraintLayout.class).setVisibility(0);
        }
    }

    public static final void IIIl1l1lIlI11(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.II1I1IlI1lI1l) {
            Schedule schedule2 = editScheduleActivity.schedule;
            if (schedule2 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule2;
            }
            schedule.IIl1lllI11lIl(true);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.l1l1I1II1llI) {
            Schedule schedule3 = editScheduleActivity.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule3;
            }
            schedule.IIl1lllI11lIl(false);
        }
    }

    public static final void IIIlI1Il1l111(EditScheduleActivity editScheduleActivity, IIlIllII111.lI111l1I1llIl li111l1i1llil, TextView textView, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        l1l1lIII11I11.IIl1I11I1lI1l(li111l1i1llil, "$relativeText");
        l1I1l1l1 l1i1l1l1 = new l1I1l1l1(editScheduleActivity);
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        l1i1l1l1.ll1I1I1IIIl1I(schedule.getEndHour());
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule3;
        }
        l1i1l1l1.l1IlI1lI(schedule2.getEndMinute());
        l1i1l1l1.lI1111IllIl1(editScheduleActivity.new III11IIll1lI1(li111l1i1llil, textView));
        l1i1l1l1.Ill11IIlII1();
    }

    public static final void IIl1l11I11(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        LockConfig lockConfig = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.Illll11lIII1) {
            LockConfig lockConfig2 = editScheduleActivity.lockConfig;
            if (lockConfig2 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig2;
            }
            lockConfig.ll11lIII1lll(true);
            ((BubbleSeekBar) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.lIlIl1IIl1lI) {
            if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Illll11lIII1, RadioButton.class)).setChecked(true);
                lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立震动强度,开通后,即可在不同的锁机任务使用不同的震动强度。", "EditScheduleActivity_VIP可使用独立设置_开始震动", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                return;
            }
            LockConfig lockConfig3 = editScheduleActivity.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig3;
            }
            lockConfig.ll11lIII1lll(false);
            ((BubbleSeekBar) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).setVisibility(0);
        }
    }

    public static final void IIl1lllI11lIl(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        LockConfig lockConfig = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.IIl1II1lllI1l) {
            LockConfig lockConfig2 = editScheduleActivity.lockConfig;
            if (lockConfig2 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig2;
            }
            lockConfig.IIlIlIlI111ll(true);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I1IlII111llI, ConstraintLayout.class).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.l11IIII111) {
            if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IIl1II1lllI1l, RadioButton.class)).setChecked(true);
                lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立提示音,开通后,即可在不同的锁机任务使用不同的提示音。", "EditScheduleActivity_VIP可使用独立设置_结束音乐", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                return;
            }
            LockConfig lockConfig3 = editScheduleActivity.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig3;
            }
            lockConfig.IIlIlIlI111ll(false);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I1IlII111llI, ConstraintLayout.class).setVisibility(0);
        }
    }

    public static final void IIlIIlI1I1I(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        LockConfig lockConfig = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.IIllIIl1II1) {
            LockConfig lockConfig2 = editScheduleActivity.lockConfig;
            if (lockConfig2 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig2;
            }
            lockConfig.I1Il1l11II1lI(true);
            ((MaterialCardView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.lIIlllI11l, MaterialCardView.class)).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.lI11l11I11lII) {
            if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IIllIIl1II1, RadioButton.class)).setChecked(true);
                lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立锁机背景,开通后,即可在不同的锁机任务使用不同的背景图片。", "EditScheduleActivity_VIP可使用独立设置_背景", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                return;
            }
            LockConfig lockConfig3 = editScheduleActivity.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig3;
            }
            lockConfig.I1Il1l11II1lI(false);
            ((MaterialCardView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.lIIlllI11l, MaterialCardView.class)).setVisibility(0);
        }
    }

    public static final void Il11IIIlII1l(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.Il11IIIlII1l(true ^ schedule3.IlIl1llIlIl1());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.IlIl1llIlIl1()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IIlllIl11I, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IIlllIl11I, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public static final void Il1IIlIII111(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.IIl1l11I11(true ^ schedule3.l1ll1IllII11());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.l1ll1IllII11()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Il1lIII, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Il1lIII, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public static final void IlI1I11llII(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        LockConfig lockConfig = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.IllI111l111l) {
            LockConfig lockConfig2 = editScheduleActivity.lockConfig;
            if (lockConfig2 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig2;
            }
            lockConfig.Illllll1Illl(true);
            ((MaterialCardView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlII111III1, MaterialCardView.class)).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.IllIlIIIlI1ll) {
            if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IllI111l111l, RadioButton.class)).setChecked(true);
                lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立白名单,开通后,即可在不同的锁机任务使用不同的软件。", "EditScheduleActivity_VIP可使用独立设置_白名单", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                return;
            }
            LockConfig lockConfig3 = editScheduleActivity.lockConfig;
            if (lockConfig3 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
            } else {
                lockConfig = lockConfig3;
            }
            lockConfig.Illllll1Illl(false);
            ((MaterialCardView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlII111III1, MaterialCardView.class)).setVisibility(0);
        }
    }

    public static final void Ill1I1lIIll(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.l1llI1111I1lI(true ^ schedule3.getFriday());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.getFriday()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llI11I1Il11II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llI11I1Il11II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public static final void Illll1I1IIll(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.II1IIll1lIIII(true ^ schedule3.l1l1Il1llII1());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.l1l1Il1llII1()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IllIll1IlI1II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IllIll1IlI1II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public static final SparseArray l1lI1IllIll1(int i, SparseArray sparseArray) {
        l1l1lIII11I11.IIl1I11I1lI1l(sparseArray, "array");
        sparseArray.clear();
        sparseArray.put(0, "不振动");
        sparseArray.put(1, "振1s");
        sparseArray.put(2, "振2s");
        sparseArray.put(3, "振3s");
        sparseArray.put(4, "振4s");
        sparseArray.put(5, "振5s");
        return sparseArray;
    }

    private final void l1lIl1I1IIII() {
        if (!this.changed) {
            finish();
            return;
        }
        Ill1IIIl1lIll ill1IIIl1lIll = new Ill1IIIl1lIll((androidx.fragment.app.IllIlI1l1I) this);
        ill1IIIl1lIll.IIlIlIlI111ll("警告");
        ill1IIIl1lIll.lI1111IllIl1("您有数据尚未保存,是否先保存?");
        ill1IIIl1lIll.Il1I1l111l1l("保存并退出", new IlllIll1I1I());
        ill1IIIl1lIll.lIllll11l1I1I("直接退出", new Il11lI1III1());
        ill1IIIl1lIll.l1IlI1IIII1I();
    }

    public static final void lI111lI1IllII(EditScheduleActivity editScheduleActivity, NestedScrollView nestedScrollView, int i, int i2, int i3, int i4) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        ((BubbleSeekBar) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).l11l1l11I1();
        ((BubbleSeekBar) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).l11l1l11I1();
    }

    public static final void lI11lII1Il1I(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
            lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立设置白名单,开通后,即可在不同的锁机任务使用不同的软件。", "EditScheduleActivity_VIP可使用独立设置_白名单", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
            return;
        }
        ScheduleWithSub scheduleWithSub = editScheduleActivity.scheduleWithSub;
        if (scheduleWithSub == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub = null;
        }
        II1II111I1lll iI1II111I1lll = new II1II111I1lll(scheduleWithSub.lI1l11l11ll());
        iI1II111I1lll.IlII1l1l1IIlI(editScheduleActivity.new Il1IlII1());
        iI1II111I1lll.l11llI1Ill1(editScheduleActivity.getSupportFragmentManager(), "ScheduleWhiteBottomSheetDialogFragment");
    }

    public static final void lIIIlIll(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.I1IlIIl11lIII(true ^ schedule3.Il1l1IIIl1ll());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.Il1l1IIIl1ll()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.lIlIIIlIl1, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.lIlIIIlIl1, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public static final void lIIllI1lIIl1(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        ScheduleWithSub scheduleWithSub = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.I111IlI1llIII) {
            ScheduleWithSub scheduleWithSub2 = editScheduleActivity.scheduleWithSub;
            if (scheduleWithSub2 == null) {
                l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            } else {
                scheduleWithSub = scheduleWithSub2;
            }
            scheduleWithSub.llI1l1l1Il1I().getLockConfig().IlIl1llIlIl1(true);
            return;
        }
        if (i != IlIlII1IIII11.lI111l1I1llIl.I1llIIlllIIl1) {
            if (i == IlIlII1IIII11.lI111l1I1llIl.lI11lIIIlIIl1) {
                if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
                    ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I111IlI1llIII, RadioButton.class)).setChecked(true);
                    lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立勿扰模式设置,开通后,即可为不同的锁机任务分别设置是否开启勿扰模式。", "EditScheduleActivity_VIP可使用独立设置_勿扰", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
                    return;
                }
                ScheduleWithSub scheduleWithSub3 = editScheduleActivity.scheduleWithSub;
                if (scheduleWithSub3 == null) {
                    l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                    scheduleWithSub3 = null;
                }
                scheduleWithSub3.llI1l1l1Il1I().getLockConfig().IlIl1llIlIl1(false);
                ScheduleWithSub scheduleWithSub4 = editScheduleActivity.scheduleWithSub;
                if (scheduleWithSub4 == null) {
                    l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                } else {
                    scheduleWithSub = scheduleWithSub4;
                }
                scheduleWithSub.llI1l1l1Il1I().getLockConfig().IlI11I1l11II1(false);
                return;
            }
            return;
        }
        if (!lI11llI11.IIllIl1llII.l1Illll1lI()) {
            ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I111IlI1llIII, RadioButton.class)).setChecked(true);
            lI1111I11I11I.IIllIl1llII.Il11lI1l(editScheduleActivity, null, "VIP用户可使用独立勿扰模式设置,开通后,即可为不同的锁机任务分别设置是否开启勿扰模式。", "EditScheduleActivity_VIP可使用独立设置_勿扰", (r22 & 16) != 0 ? "开通VIP" : null, (r22 & 32) != 0 ? "" : null, (r22 & 64) != 0 ? "立即开通" : null, (r22 & QQShare.QQ_SHARE_TITLE_MAX_LENGTH) != 0 ? "取消" : null, (r22 & JceEncryptionConstants.SYMMETRIC_KEY_LENGTH) != 0 ? null : null);
            return;
        }
        if (!I1lIlIl11111I.IIllIl1llII.l11llI1Ill1(editScheduleActivity)) {
            ((RadioButton) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I111IlI1llIII, RadioButton.class)).setChecked(true);
            Ill1IIIl1lIll ill1IIIl1lIll = new Ill1IIIl1lIll((androidx.fragment.app.IllIlI1l1I) editScheduleActivity);
            ill1IIIl1lIll.IIlIlIlI111ll("缺少权限");
            ill1IIIl1lIll.lI1111IllIl1("需要您授予“免打扰权限”,点击下方“确定”,跳转权限授予页面");
            ill1IIIl1lIll.lIlI1IIllI1(editScheduleActivity.new l1llllI11l111());
            ill1IIIl1lIll.l1IlI1IIII1I();
            return;
        }
        ScheduleWithSub scheduleWithSub5 = editScheduleActivity.scheduleWithSub;
        if (scheduleWithSub5 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub5 = null;
        }
        scheduleWithSub5.llI1l1l1Il1I().getLockConfig().IlIl1llIlIl1(false);
        ScheduleWithSub scheduleWithSub6 = editScheduleActivity.scheduleWithSub;
        if (scheduleWithSub6 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
        } else {
            scheduleWithSub = scheduleWithSub6;
        }
        scheduleWithSub.llI1l1l1Il1I().getLockConfig().IlI11I1l11II1(true);
    }

    public static final void lIl1IllllII1(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.l1lIl1I1IIII();
    }

    public final void lIlIlllI1I() {
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        RecyclerView IIllIl1llII2 = IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI1lIII1I11I1, RecyclerView.class);
        l1l1lIII11I11.III11IIll1lI1(IIllIl1llII2, "<get-rv_tomato_edit_white>(...)");
        this.recyclerview = IIllIl1llII2;
        if (IIllIl1llII2 == null) {
            l1l1lIII11I11.lI1111IllIl1("recyclerview");
            IIllIl1llII2 = null;
        }
        IIllIl1llII2.setLayoutManager(new GridLayoutManager(this, 6));
        TomatoWhiteAppAdapter tomatoWhiteAppAdapter = new TomatoWhiteAppAdapter(this, IlIlII1IIII11.Ill1llIIlIlll.I1l1lIl1l1III, new ArrayList());
        tomatoWhiteAppAdapter.setAnimationEnable(true);
        RecyclerView recyclerView = this.recyclerview;
        if (recyclerView == null) {
            l1l1lIII11I11.lI1111IllIl1("recyclerview");
            recyclerView = null;
        }
        recyclerView.setAdapter(tomatoWhiteAppAdapter);
        ScheduleWithSub scheduleWithSub = this.scheduleWithSub;
        if (scheduleWithSub == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub = null;
        }
        List<WhiteApp> lI1l11l11ll2 = scheduleWithSub.lI1l11l11ll();
        if (lI1l11l11ll2.size() == 0) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlI1Il11111, TextView.class)).setVisibility(0);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlI1Il11111, TextView.class)).setVisibility(8);
        }
        IlIIII11lIII.Il1IlII1(LifecycleOwnerKt.getLifecycleScope(this), lI1111l1I1Il.IIllIl1llII(), (lIIlI11IlII1) null, new I11ll1l1lI11l(lI1l11l11ll2, tomatoWhiteAppAdapter, null), 2, (Object) null);
    }

    public static final void ll11Ill1l1(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.llllIIl11I1) {
            Schedule schedule2 = editScheduleActivity.schedule;
            if (schedule2 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule2;
            }
            schedule.I1Il1II11Ill(false);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llII11I1l1I1, TextView.class)).setVisibility(0);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I1lIlIl1I, TextView.class)).setVisibility(0);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIllI111l1, View.class).setVisibility(0);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llII1llIIlI1I, TextView.class)).setVisibility(8);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class)).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.IllI1lI11lI) {
            Schedule schedule3 = editScheduleActivity.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule3;
            }
            schedule.I1Il1II11Ill(true);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llII11I1l1I1, TextView.class)).setVisibility(8);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.I1lIlIl1I, TextView.class)).setVisibility(8);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIllI111l1, View.class).setVisibility(8);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llII1llIIlI1I, TextView.class)).setVisibility(0);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class)).setVisibility(0);
        }
    }

    public static final void ll1l1l11llI1l(EditScheduleActivity editScheduleActivity, TextView textView, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        IIl1I111lI1l iIl1I111lI1l = new IIl1I111lI1l(editScheduleActivity);
        LockConfig lockConfig = editScheduleActivity.lockConfig;
        if (lockConfig == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig = null;
        }
        iIl1I111lI1l.lI1111IllIl1(lockConfig.getStartVoiceNotify());
        iIl1I111lI1l.II11lIlI1lll1(editScheduleActivity.new lI111l1I1llIl(textView));
        iIl1I111lI1l.Ill11IIlII1();
    }

    public static final void llIl11III1lI1(EditScheduleActivity editScheduleActivity, View view) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = editScheduleActivity.schedule;
        Schedule schedule2 = null;
        if (schedule == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule = null;
        }
        Schedule schedule3 = editScheduleActivity.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        schedule.Il1IIlIII111(true ^ schedule3.getSaturday());
        Schedule schedule4 = editScheduleActivity.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
        } else {
            schedule2 = schedule4;
        }
        if (schedule2.getSaturday()) {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIIlll111II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.IlIIlll111II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
    }

    public static final SparseArray lll1I11Ill1l1(int i, SparseArray sparseArray) {
        l1l1lIII11I11.IIl1I11I1lI1l(sparseArray, "array");
        sparseArray.clear();
        sparseArray.put(0, "不振动");
        sparseArray.put(1, "振1s");
        sparseArray.put(2, "振2s");
        sparseArray.put(3, "振3s");
        sparseArray.put(4, "振4s");
        sparseArray.put(5, "振5s");
        return sparseArray;
    }

    public static final void lll1Ill1I1IIl(EditScheduleActivity editScheduleActivity, RadioGroup radioGroup, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(editScheduleActivity, "this$0");
        editScheduleActivity.changed = true;
        Schedule schedule = null;
        if (i == IlIlII1IIII11.lI111l1I1llIl.l1I11IlI111Il) {
            Schedule schedule2 = editScheduleActivity.schedule;
            if (schedule2 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule2;
            }
            schedule.II1111lIIII(true);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.ll1l1I111I1, ConstraintLayout.class).setVisibility(0);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.II11IIIIl1I, TextView.class)).setVisibility(8);
            return;
        }
        if (i == IlIlII1IIII11.lI111l1I1llIl.I1l1IIIllll) {
            Schedule schedule3 = editScheduleActivity.schedule;
            if (schedule3 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
            } else {
                schedule = schedule3;
            }
            schedule.II1111lIIII(false);
            editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.ll1l1I111I1, ConstraintLayout.class).setVisibility(8);
            ((TextView) editScheduleActivity.IIllIl1llII(editScheduleActivity, IlIlII1IIII11.lI111l1I1llIl.II11IIIIl1I, TextView.class)).setVisibility(0);
        }
    }

    public void onBackPressed() {
        l1lIl1I1IIII();
    }

    @Override
    @SuppressLint({"CheckResult"})
    protected void onCreate(@lIIl1Ill111 Bundle bundle) {
        super.onCreate(bundle);
        setContentView(IlIlII1IIII11.Ill1llIIlIlll.IllIlI1l1I);
        LockConfig lockConfig = null;
        if (getIntent().getParcelableExtra("scheduleWithSub") == null) {
            this.saveMode = 0;
            Schedule schedule = new Schedule();
            this.schedule = schedule;
            this.lockConfig = schedule.getLockConfig();
            ArrayList arrayList = new ArrayList();
            Schedule schedule2 = this.schedule;
            if (schedule2 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                schedule2 = null;
            }
            this.scheduleWithSub = new ScheduleWithSub(null, arrayList, schedule2);
        } else {
            this.saveMode = 1;
            Parcelable parcelableExtra = getIntent().getParcelableExtra("scheduleWithSub");
            l1l1lIII11I11.IllIlI1l1I(parcelableExtra);
            ScheduleWithSub scheduleWithSub = (ScheduleWithSub) parcelableExtra;
            this.scheduleWithSub = scheduleWithSub;
            if (scheduleWithSub == null) {
                l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                scheduleWithSub = null;
            }
            Schedule llI1l1l1Il1I2 = scheduleWithSub.llI1l1l1Il1I();
            this.schedule = llI1l1l1Il1I2;
            if (llI1l1l1Il1I2 == null) {
                l1l1lIII11I11.lI1111IllIl1("schedule");
                llI1l1l1Il1I2 = null;
            }
            this.lockConfig = llI1l1l1Il1I2.getLockConfig();
        }
        Object[] objArr = new Object[1];
        ScheduleWithSub scheduleWithSub2 = this.scheduleWithSub;
        if (scheduleWithSub2 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub2 = null;
        }
        objArr[0] = "begin scheduleWithSub.whiteList.size = " + scheduleWithSub2.lI1l11l11ll().size();
        LogUtils.d(objArr);
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        final TextView textView = (TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIllllI1, TextView.class);
        Schedule schedule3 = this.schedule;
        if (schedule3 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule3 = null;
        }
        String l1IlI1II1IIll = schedule3.l1IlI1II1IIll();
        if (l1IlI1II1IIll.length() == 0) {
            l1IlI1II1IIll = "未命名";
        }
        textView.setText(l1IlI1II1IIll);
        textView.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.I1IIl1IlIlI(EditScheduleActivity.this, textView, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        final TextView textView2 = (TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1111III1llI1, TextView.class);
        IlI11lII1Il.IIllIl1llII iIllIl1llII = IlI11lII1Il.IIllIl1llII;
        Schedule schedule4 = this.schedule;
        if (schedule4 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule4 = null;
        }
        int startHour = schedule4.getStartHour();
        Schedule schedule5 = this.schedule;
        if (schedule5 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule5 = null;
        }
        textView2.setText(iIllIl1llII.Il11lI1III1(startHour, schedule5.getStartMinute()));
        textView2.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.I1IIlIlI1II11(EditScheduleActivity.this, textView2, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        final TextView textView3 = (TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1lIlIl1I, TextView.class);
        final IIlIllII111.lI111l1I1llIl li111l1i1llil = new IIlIllII111.lI111l1I1llIl();
        String str = "";
        li111l1i1llil.Il11lIlllll1 = "";
        Schedule schedule6 = this.schedule;
        if (schedule6 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule6 = null;
        }
        int startHour2 = schedule6.getStartHour() * 60;
        Schedule schedule7 = this.schedule;
        if (schedule7 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule7 = null;
        }
        int startMinute = startHour2 + schedule7.getStartMinute();
        Schedule schedule8 = this.schedule;
        if (schedule8 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule8 = null;
        }
        int endHour = schedule8.getEndHour() * 60;
        Schedule schedule9 = this.schedule;
        if (schedule9 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule9 = null;
        }
        T t = str;
        if (startMinute >= endHour + schedule9.getEndMinute()) {
            t = "次日";
        }
        li111l1i1llil.Il11lIlllll1 = t;
        Schedule schedule10 = this.schedule;
        if (schedule10 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule10 = null;
        }
        int endHour2 = schedule10.getEndHour();
        Schedule schedule11 = this.schedule;
        if (schedule11 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule11 = null;
        }
        textView3.setText(t + iIllIl1llII.Il11lI1III1(endHour2, schedule11.getEndMinute()));
        textView3.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.IIIlI1Il1l111(EditScheduleActivity.this, li111l1i1llil, textView3, view);
            }
        });
        Schedule schedule12 = this.schedule;
        if (schedule12 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule12 = null;
        }
        if (schedule12.lIlll1lIII1()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllI1lI11lI, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llII11I1l1I1, TextView.class)).setVisibility(8);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1lIlIl1I, TextView.class)).setVisibility(8);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIllI111l1, View.class).setVisibility(8);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llII1llIIlI1I, TextView.class)).setVisibility(0);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class)).setVisibility(0);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llllIIl11I1, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llII11I1l1I1, TextView.class)).setVisibility(0);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1lIlIl1I, TextView.class)).setVisibility(0);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIllI111l1, View.class).setVisibility(0);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llII1llIIlI1I, TextView.class)).setVisibility(8);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llllllIIlI, TextView.class)).setVisibility(8);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI1IIl1II, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.ll11Ill1l1(EditScheduleActivity.this, radioGroup, i);
            }
        });
        II1IIll1lIIII().lI11lI1l1().observe(this, new Il11lI1l(new IIl1I11I1lI1l()));
        Schedule schedule13 = this.schedule;
        if (schedule13 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule13 = null;
        }
        if (schedule13.getIsRecycle()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1I11IlI111Il, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1l1IIIllll, RadioButton.class)).setChecked(false);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.ll1l1I111I1, ConstraintLayout.class).setVisibility(0);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.II11IIIIl1I, TextView.class)).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1I11IlI111Il, RadioButton.class)).setChecked(false);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1l1IIIllll, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.ll1l1I111I1, ConstraintLayout.class).setVisibility(8);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.II11IIIIl1I, TextView.class)).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIIII1I1I1l, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.lll1Ill1I1IIl(EditScheduleActivity.this, radioGroup, i);
            }
        });
        Schedule schedule14 = this.schedule;
        if (schedule14 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule14 = null;
        }
        if (schedule14.l1l1Il1llII1()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllIll1IlI1II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllIll1IlI1II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        Schedule schedule15 = this.schedule;
        if (schedule15 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule15 = null;
        }
        if (schedule15.llIIlIIllI111()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lllIlIII1III, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lllIlIII1III, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        Schedule schedule16 = this.schedule;
        if (schedule16 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule16 = null;
        }
        if (schedule16.l1ll1IllII11()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1lIII, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1lIII, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        Schedule schedule17 = this.schedule;
        if (schedule17 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule17 = null;
        }
        if (schedule17.Il1l1IIIl1ll()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIlIIIlIl1, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIlIIIlIl1, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        Schedule schedule18 = this.schedule;
        if (schedule18 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule18 = null;
        }
        if (schedule18.getFriday()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llI11I1Il11II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llI11I1Il11II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        Schedule schedule19 = this.schedule;
        if (schedule19 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule19 = null;
        }
        if (schedule19.getSaturday()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIIlll111II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIIlll111II, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        Schedule schedule20 = this.schedule;
        if (schedule20 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule20 = null;
        }
        if (schedule20.IlIl1llIlIl1()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIlllIl11I, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.IIll11IllI1l);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIlllIl11I, TextView.class)).setBackgroundResource(IlIlII1IIII11.lI11111lI1.lI111l1I1llIl);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllIll1IlI1II, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.Illll1I1IIll(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lllIlIII1III, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.II1111lIIII(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1lIII, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.Il1IIlIII111(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIlIIIlIl1, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.lIIIlIll(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llI11I1Il11II, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.Ill1I1lIIll(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIIlll111II, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.llIl11III1lI1(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIlllIl11I, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.Il11IIIlII1l(EditScheduleActivity.this, view);
            }
        });
        Schedule schedule21 = this.schedule;
        if (schedule21 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule21 = null;
        }
        if (schedule21.getValidate()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.II1I1IlI1lI1l, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1l1I1II1llI, RadioButton.class)).setChecked(false);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.II1I1IlI1lI1l, RadioButton.class)).setChecked(false);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1l1I1II1llI, RadioButton.class)).setChecked(true);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIIl1IIIlII1, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.IIIl1l1lIlI11(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        TextView textView4 = (TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llII1llI1l111, TextView.class);
        Schedule schedule22 = this.schedule;
        if (schedule22 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule22 = null;
        }
        textView4.setText(schedule22.getDenyChangeLength() + "分钟");
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llII1llI1l111, TextView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.I1lll111IlllI(EditScheduleActivity.this, view);
            }
        });
        Schedule schedule23 = this.schedule;
        if (schedule23 == null) {
            l1l1lIII11I11.lI1111IllIl1("schedule");
            schedule23 = null;
        }
        if (schedule23.getIsDenyChange()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIIl11ll1, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1Il1IlI111, RadioButton.class)).setChecked(false);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIIl11ll1, RadioButton.class)).setChecked(false);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1Il1IlI111, RadioButton.class)).setChecked(true);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIlIlIl1I, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.I1IlIIl11lIII(EditScheduleActivity.this, radioGroup, i);
            }
        });
        LockConfig lockConfig2 = this.lockConfig;
        if (lockConfig2 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig2 = null;
        }
        if (lockConfig2.getWhiteFollowGlobal()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllI111l111l, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((MaterialCardView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlII111III1, MaterialCardView.class)).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllIlIIIlI1ll, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((MaterialCardView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlII111III1, MaterialCardView.class)).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI1111llIIl, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.IlI1I11llII(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l11l1III11IlI, ConstraintLayout.class).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.lI11lII1Il1I(EditScheduleActivity.this, view);
            }
        });
        lIlIlllI1I();
        LockConfig lockConfig3 = this.lockConfig;
        if (lockConfig3 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig3 = null;
        }
        if (lockConfig3.l11llI1Ill1()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIllIIl1II1, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((MaterialCardView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIIlllI11l, MaterialCardView.class)).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI11l11I11lII, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((MaterialCardView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIIlllI11l, MaterialCardView.class)).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IllII1I1l1, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.IIlIIlI1I1I(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        final ImageView imageView = (ImageView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1I111I1111, ImageView.class);
        LockConfig lockConfig4 = this.lockConfig;
        if (lockConfig4 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig4 = null;
        }
        if (lockConfig4.getBgUrl().length() == 0) {
            LockConfig lockConfig5 = this.lockConfig;
            if (lockConfig5 == null) {
                l1l1lIII11I11.lI1111IllIl1("lockConfig");
                lockConfig5 = null;
            }
            lockConfig5.lIllll11l1I1I(Il1I11I1IIIl.IlllIll1I1I);
        }
        com.bumptech.glide.lII1lI1Illl IIl1ll1ll1l = com.bumptech.glide.IIllIl1llII.IIl1ll1ll1l(this);
        LockConfig lockConfig6 = this.lockConfig;
        if (lockConfig6 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig6 = null;
        }
        IIl1ll1ll1l.lI11lI1l1(lockConfig6.getBgUrl()).IIIII11lIlIl(II1IIIllIl1l.Il1IlII1).I1II1111IIl1l(imageView);
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l11lII1I11I, ConstraintLayout.class).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.I1Il1II11Ill(EditScheduleActivity.this, imageView, view);
            }
        });
        LockConfig lockConfig7 = this.lockConfig;
        if (lockConfig7 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig7 = null;
        }
        if (lockConfig7.ll1I1I1IIIl1I()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1lII1l1l1l, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llllll1Il11, ConstraintLayout.class).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1111I1I111, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llllll1Il11, ConstraintLayout.class).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il11I1IIIll, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.III11l1IlI(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        final TextView textView5 = (TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1IlIlI1l1I, TextView.class);
        String[] IIllIl1llII2 = Il1I11I1IIIl.IIllIl1llII();
        LockConfig lockConfig8 = this.lockConfig;
        if (lockConfig8 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig8 = null;
        }
        textView5.setText(IIllIl1llII2[lockConfig8.getStartVoiceNotify()]);
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llllll1Il11, ConstraintLayout.class).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.ll1l1l11llI1l(EditScheduleActivity.this, textView5, view);
            }
        });
        LockConfig lockConfig9 = this.lockConfig;
        if (lockConfig9 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig9 = null;
        }
        if (lockConfig9.llll11l11l1()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIl1II1lllI1l, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1IlII111llI, ConstraintLayout.class).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l11IIII111, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1IlII111llI, ConstraintLayout.class).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIIlllIl1, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.IIl1lllI11lIl(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        final TextView textView6 = (TextView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.II11lll1IlI, TextView.class);
        String[] IIllIl1llII3 = Il1I11I1IIIl.IIllIl1llII();
        LockConfig lockConfig10 = this.lockConfig;
        if (lockConfig10 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig10 = null;
        }
        textView6.setText(IIllIl1llII3[lockConfig10.getEndVoiceNotify()]);
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1IlII111llI, ConstraintLayout.class).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.I1Il11I11II1I(EditScheduleActivity.this, textView6, view);
            }
        });
        LockConfig lockConfig11 = this.lockConfig;
        if (lockConfig11 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig11 = null;
        }
        if (lockConfig11.lllIl1ll1l1I()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Illll11lIII1, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lIlIl1IIl1lI, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1lll11Il, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.IIl1l11I11(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).setCustomSectionTextArray(new BubbleSeekBar.IIll11IllI1l() {
            @Override
            public final SparseArray IIllIl1llII(int i, SparseArray sparseArray) {
                SparseArray lll1I11Ill1l1;
                lll1I11Ill1l1 = EditScheduleActivity.lll1I11Ill1l1(i, sparseArray);
                return lll1I11Ill1l1;
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        BubbleSeekBar bubbleSeekBar = (BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class);
        LockConfig lockConfig12 = this.lockConfig;
        if (lockConfig12 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig12 = null;
        }
        bubbleSeekBar.setProgress(lockConfig12.getStartShakeNotify() / 1000.0f);
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1IlllII1II, BubbleSeekBar.class)).setOnProgressChangedListener(new IIll11IllI1l());
        LockConfig lockConfig13 = this.lockConfig;
        if (lockConfig13 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
            lockConfig13 = null;
        }
        if (lockConfig13.getEndShakeNotifyFollowGlobal()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.ll111I1111, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).setVisibility(8);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlII111ll11, RadioButton.class)).setChecked(true);
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).setVisibility(0);
        }
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.Il1lll11I1l11, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.II1IllIlI1(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).setCustomSectionTextArray(new BubbleSeekBar.IIll11IllI1l() {
            @Override
            public final SparseArray IIllIl1llII(int i, SparseArray sparseArray) {
                SparseArray l1lI1IllIll1;
                l1lI1IllIll1 = EditScheduleActivity.l1lI1IllIll1(i, sparseArray);
                return l1lI1IllIll1;
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        BubbleSeekBar bubbleSeekBar2 = (BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class);
        LockConfig lockConfig14 = this.lockConfig;
        if (lockConfig14 == null) {
            l1l1lIII11I11.lI1111IllIl1("lockConfig");
        } else {
            lockConfig = lockConfig14;
        }
        bubbleSeekBar2.setProgress(lockConfig.getEndShakeNotify() / 1000.0f);
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((BubbleSeekBar) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IlIl1lII1l, BubbleSeekBar.class)).setOnProgressChangedListener(new ll11llIII1111());
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI1lIIl1Il1I, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.II1lllllllI(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((RadioGroup) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.l1IIIlllI1II, RadioGroup.class)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
            public final void onCheckedChanged(RadioGroup radioGroup, int i) {
                EditScheduleActivity.lIIllI1lIIl1(EditScheduleActivity.this, radioGroup, i);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llIllIII11l, NestedScrollView.class).setOnScrollChangeListener(new NestedScrollView.Il1IlII1() {
            public final void IIllIl1llII(NestedScrollView nestedScrollView, int i, int i2, int i3, int i4) {
                EditScheduleActivity.lI111lI1IllII(EditScheduleActivity.this, nestedScrollView, i, i2, i3, i4);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((ImageView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llIIlII111ll1, ImageView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.lIl1IllllII1(EditScheduleActivity.this, view);
            }
        });
        l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
        ((ImageView) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1lIl1ll1I, ImageView.class)).setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view) {
                EditScheduleActivity.I1lIIl1llIl(EditScheduleActivity.this, view);
            }
        });
    }

    @Override
    protected void onResume() {
        super.onResume();
        ScheduleWithSub scheduleWithSub = this.scheduleWithSub;
        ScheduleWithSub scheduleWithSub2 = null;
        if (scheduleWithSub == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub = null;
        }
        if (scheduleWithSub.llI1l1l1Il1I().getLockConfig().getIsRemoveNotificationFollowGlobal()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.llI1llI1ll1, RadioButton.class)).setChecked(true);
        } else {
            ScheduleWithSub scheduleWithSub3 = this.scheduleWithSub;
            if (scheduleWithSub3 == null) {
                l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
                scheduleWithSub3 = null;
            }
            if (scheduleWithSub3.llI1l1l1Il1I().getLockConfig().lI1111IllIl1() && I1lIlIl11111I.IIllIl1llII.llll11l11l1(this)) {
                l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
                ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.IIl1l11lI11I, RadioButton.class)).setChecked(true);
            } else {
                l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
                ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI1l1IIIllI1I, RadioButton.class)).setChecked(true);
            }
        }
        ScheduleWithSub scheduleWithSub4 = this.scheduleWithSub;
        if (scheduleWithSub4 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
            scheduleWithSub4 = null;
        }
        if (scheduleWithSub4.llI1l1l1Il1I().getLockConfig().getIsSilentFollowGlobal()) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I111IlI1llIII, RadioButton.class)).setChecked(true);
            return;
        }
        ScheduleWithSub scheduleWithSub5 = this.scheduleWithSub;
        if (scheduleWithSub5 == null) {
            l1l1lIII11I11.lI1111IllIl1("scheduleWithSub");
        } else {
            scheduleWithSub2 = scheduleWithSub5;
        }
        if (scheduleWithSub2.llI1l1l1Il1I().getLockConfig().getIsSilent() && I1lIlIl11111I.IIllIl1llII.l11llI1Ill1(this)) {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.I1llIIlllIIl1, RadioButton.class)).setChecked(true);
        } else {
            l1l1lIII11I11.l1llllI11l111(this, "null cannot be cast to non-null type com.kanyun.kace.AndroidExtensionsBase");
            ((RadioButton) IIllIl1llII(this, IlIlII1IIII11.lI111l1I1llIl.lI11lIIIlIIl1, RadioButton.class)).setChecked(true);
        }
    }
}