universal7580: Disable window rounded corner animations
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / SamsungDoze / src / org / lineageos / settings / doze / BootCompletedReceiver.java
CommitLineData
41fbcd89 1/*
2 * Copyright (c) 2015 The CyanogenMod Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.lineageos.settings.doze;
18
19import android.content.BroadcastReceiver;
20import android.content.Context;
21import android.content.Intent;
22import android.util.Log;
23
24public class BootCompletedReceiver extends BroadcastReceiver {
25
26 private static final boolean DEBUG = false;
27 private static final String TAG = "SamsungDoze";
28
29 @Override
30 public void onReceive(final Context context, Intent intent) {
31 if (DEBUG) Log.d(TAG, "Starting service");
32 context.startService(new Intent(context, SamsungDozeService.class));
33 }
34
35}