summaryrefslogtreecommitdiffstats
path: root/services/powermanager
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-09-05 17:30:04 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-05 17:30:05 +0000
commit437353a0ef596a59ead2dbbe419c249f1e1819e2 (patch)
tree6902d61182d418cce62b762c36868f4b813127db /services/powermanager
parenta36d4e2d92d5d829b913de39f60145ebc6e6df2e (diff)
parentf20c329a8a1fb578f5842f4056d3ebb39403d01f (diff)
downloadframeworks_native-437353a0ef596a59ead2dbbe419c249f1e1819e2.zip
frameworks_native-437353a0ef596a59ead2dbbe419c249f1e1819e2.tar.gz
frameworks_native-437353a0ef596a59ead2dbbe419c249f1e1819e2.tar.bz2
Merge "IPowerManager: make all binder call one way" into lmp-dev
Diffstat (limited to 'services/powermanager')
-rw-r--r--services/powermanager/IPowerManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/powermanager/IPowerManager.cpp b/services/powermanager/IPowerManager.cpp
index ee730d6..926c050 100644
--- a/services/powermanager/IPowerManager.cpp
+++ b/services/powermanager/IPowerManager.cpp
@@ -56,7 +56,7 @@ public:
data.writeString16(packageName);
data.writeInt32(0); // no WorkSource
data.writeString16(NULL, 0); // no history tag
- return remote()->transact(ACQUIRE_WAKE_LOCK, data, &reply);
+ return remote()->transact(ACQUIRE_WAKE_LOCK, data, &reply, IBinder::FLAG_ONEWAY);
}
virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag,
@@ -70,7 +70,7 @@ public:
data.writeString16(tag);
data.writeString16(packageName);
data.writeInt32(uid); // uid to blame for the work
- return remote()->transact(ACQUIRE_WAKE_LOCK_UID, data, &reply);
+ return remote()->transact(ACQUIRE_WAKE_LOCK_UID, data, &reply, IBinder::FLAG_ONEWAY);
}
virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags)
@@ -79,7 +79,7 @@ public:
data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor());
data.writeStrongBinder(lock);
data.writeInt32(flags);
- return remote()->transact(RELEASE_WAKE_LOCK, data, &reply);
+ return remote()->transact(RELEASE_WAKE_LOCK, data, &reply, IBinder::FLAG_ONEWAY);
}
virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids) {