You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CustoMIUIzer/app/src/main/java/name/mikanoshi/customiuizer/tasker/UnlockReceiver.java

24 lines
662 B
Java

package name.mikanoshi.customiuizer.tasker;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import name.mikanoshi.customiuizer.mods.GlobalActions;
public class UnlockReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Bundle bundle = intent.getBundleExtra(Constants.EXTRA_BUNDLE);
if (bundle != null) {
Intent sendIntent = new Intent();
sendIntent.setAction(GlobalActions.ACTION_PREFIX + "UnlockSetForced");
sendIntent.putExtras(bundle);
context.sendBroadcast(sendIntent);
}
}
}