正在查看: КЛ£ v1.0.0 应用的 NotificationsService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: КЛ£ v1.0.0 应用的 NotificationsService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package im.pggrnmxjgs.messenger;
import android.app.Service;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.IBinder;
public class NotificationsService extends Service {
@Override
public void onCreate() {
super.onCreate();
ApplicationLoader.postInitApplication();
}
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
return 1;
}
@Override
public IBinder onBind(Intent intent) {
return null;
}
@Override
public void onDestroy() {
super.onDestroy();
SharedPreferences preferences = MessagesController.getGlobalNotificationsSettings();
if (preferences.getBoolean("pushService", true)) {
Intent intent = new Intent("im.pggrnmxjgs.start");
sendBroadcast(intent);
}
}
}