Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add CanonicalNameConstants and JClass refs for PowerManager and WakeLock
  • Loading branch information
dodgex committed Sep 20, 2014
commit 9422f0cc206080308329697e7e24b69a906c7f65
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,14 @@ public final class CanonicalNameConstants {
public static final String SQLLITE_OPEN_HELPER = "android.database.sqlite.SQLiteOpenHelper";
public static final String VIEW_SERVER = "org.androidannotations.api.ViewServer";
public static final String LOOPER = "android.os.Looper";
public static final String POWER_MANAGER = "android.os.PowerManager";
public static final String WAKE_LOCK = "android.os.PowerManager.WakeLock";

/*
* Android permission
*/
public static final String INTERNET_PERMISSION = "android.permission.INTERNET";
public static final String WAKELOCK_PERMISSION = "android.permission.WAKE_LOCK";

/*
* Sherlock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public class Classes {
public final JClass VIEW_SERVER = refClass(CanonicalNameConstants.VIEW_SERVER);
public final JClass PARCELABLE = refClass(CanonicalNameConstants.PARCELABLE);
public final JClass LOOPER = refClass(CanonicalNameConstants.LOOPER);
public final JClass POWER_MANAGER = refClass(CanonicalNameConstants.POWER_MANAGER);
public final JClass WAKE_LOCK = refClass(CanonicalNameConstants.WAKE_LOCK);

/*
* Sherlock
Expand Down