summaryrefslogtreecommitdiffstats
path: root/include/powermanager
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-05-20 11:24:31 -0700
committerDianne Hackborn <hackbod@google.com>2013-05-20 16:50:10 -0700
commit80d7fd86e05e6f14dffc9f0c9bf176a7c8680f8c (patch)
treef0b34a87b10bb6120fd2b53d95be5b028b130d72 /include/powermanager
parent41d9c2ff21b5df41159d92749fa4b1f0673e6c74 (diff)
downloadframeworks_native-80d7fd86e05e6f14dffc9f0c9bf176a7c8680f8c.zip
frameworks_native-80d7fd86e05e6f14dffc9f0c9bf176a7c8680f8c.tar.gz
frameworks_native-80d7fd86e05e6f14dffc9f0c9bf176a7c8680f8c.tar.bz2
Power manager now takes calling package name arg.
Change-Id: Iae57b8eb7abe4e66f0d2645db8cdf57acf7dcd3e
Diffstat (limited to 'include/powermanager')
-rw-r--r--include/powermanager/IPowerManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/powermanager/IPowerManager.h b/include/powermanager/IPowerManager.h
index 1723f04..e21e6a8 100644
--- a/include/powermanager/IPowerManager.h
+++ b/include/powermanager/IPowerManager.h
@@ -30,7 +30,8 @@ class IPowerManager : public IInterface
public:
DECLARE_META_INTERFACE(PowerManager);
- virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) = 0;
+ virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag,
+ const String16& packageName) = 0;
virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) = 0;
};