summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/SOURCES1
-rw-r--r--firmware/target/hosted/android/system-android.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 8b71674b36..ac1a3e1be4 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -1709,6 +1709,7 @@ target/hosted/android/lc-android.c
target/hosted/android/button-android.c
target/hosted/android/kernel-android.c
target/hosted/android/pcm-android.c
+target/hosted/android/powermgmt-android.c
target/hosted/android/system-android.c
#ifdef APPLICATION
target/hosted/android/app/button-application.c
diff --git a/firmware/target/hosted/android/system-android.c b/firmware/target/hosted/android/system-android.c
index 1fb69b3465..87b6584135 100644
--- a/firmware/target/hosted/android/system-android.c
+++ b/firmware/target/hosted/android/system-android.c
@@ -55,5 +55,8 @@ Java_org_rockbox_RockboxService_main(JNIEnv *env, jobject this)
env_ptr = env;
RockboxService_instance = this;
RockboxService_class = (*env)->GetObjectClass(env, this);
+
+
+ powermgmt_init_target();
main();
}