diff options
author | Adam Skory <skory@google.com> | 2013-09-11 12:04:58 +0100 |
---|---|---|
committer | Adam Skory <skory@google.com> | 2013-09-11 12:04:58 +0100 |
commit | 7140a25f0135f473b66d01eb042471b2f0ebc836 (patch) | |
tree | 6f19fb31faf5b7dcf0cbae98bacb5503a565e0b7 /core/java/android/app/ApplicationThreadNative.java | |
parent | e3d0f022826a2a16e64dc9b5353a2a514393881b (diff) | |
download | frameworks_base-7140a25f0135f473b66d01eb042471b2f0ebc836.zip frameworks_base-7140a25f0135f473b66d01eb042471b2f0ebc836.tar.gz frameworks_base-7140a25f0135f473b66d01eb042471b2f0ebc836.tar.bz2 |
Revert services assist context in KitKat
Reverts extension to assist context API to query
foreground services for assist context data.
Also hides Intent.ACTION_VOICE_ASSIST because
nobody's actually using it yet.
Bug: 10461702
Change-Id: Idf6836adc659b434e11ebb2b98e8b814c94a7227
Diffstat (limited to 'core/java/android/app/ApplicationThreadNative.java')
-rw-r--r-- | core/java/android/app/ApplicationThreadNative.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/java/android/app/ApplicationThreadNative.java b/core/java/android/app/ApplicationThreadNative.java index c0080be..a4e80e5 100644 --- a/core/java/android/app/ApplicationThreadNative.java +++ b/core/java/android/app/ApplicationThreadNative.java @@ -606,8 +606,7 @@ public abstract class ApplicationThreadNative extends Binder IBinder activityToken = data.readStrongBinder(); IBinder requestToken = data.readStrongBinder(); int requestType = data.readInt(); - int index = data.readInt(); - requestAssistContextExtras(activityToken, requestToken, requestType, index); + requestAssistContextExtras(activityToken, requestToken, requestType); reply.writeNoException(); return true; } @@ -1243,13 +1242,12 @@ class ApplicationThreadProxy implements IApplicationThread { @Override public void requestAssistContextExtras(IBinder activityToken, IBinder requestToken, - int requestType, int index) throws RemoteException { + int requestType) throws RemoteException { Parcel data = Parcel.obtain(); data.writeInterfaceToken(IApplicationThread.descriptor); data.writeStrongBinder(activityToken); data.writeStrongBinder(requestToken); data.writeInt(requestType); - data.writeInt(index); mRemote.transact(REQUEST_ASSIST_CONTEXT_EXTRAS_TRANSACTION, data, null, IBinder.FLAG_ONEWAY); data.recycle(); |