summaryrefslogtreecommitdiff
path: root/include/powermanager/PowerManager.h
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2012-03-28 13:57:51 -0700
committer Colin Cross <ccross@android.com> 2012-03-28 13:57:51 -0700
commit4be004163071d550d72389ea1772bf6a6f95d345 (patch)
treed874d69c8050db4f87147c8010bc30dc5ba72736 /include/powermanager/PowerManager.h
parenta00377682123de4d55927f097feffe885330451d (diff)
Move services/powermanager from frameworks/base to frameworks/native
Move services/powermanager into frameworks/native so audioflinger can use it. Note that this is not the same as a PowerManagerService, which is part of systemserver and handles turning the screen on and off, etc. This is just a binder interface to allow taking wakelocks. Change-Id: I1142e6d9ddbb651cc19ac07d946fa24d8feed8a3
Diffstat (limited to 'include/powermanager/PowerManager.h')
-rw-r--r--include/powermanager/PowerManager.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/powermanager/PowerManager.h b/include/powermanager/PowerManager.h
deleted file mode 100644
index 45901747e8b0..000000000000
--- a/include/powermanager/PowerManager.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2011 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef ANDROID_POWERMANAGER_H
-#define ANDROID_POWERMANAGER_H
-
-namespace android {
-
-// must be kept in sync with definitions in PowerManager.java
-enum {
- POWERMANAGER_PARTIAL_WAKE_LOCK = 1, // equals PowerManager.PARTIAL_WAKE_LOCK constant
-};
-
-}; // namespace android
-
-#endif // ANDROID_POWERMANAGER_H