diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2009-06-12 10:09:58 -0700 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2009-06-17 11:31:26 -0700 |
commit | 1ccac75e1f1b97eccb916a8de04fc1012b30f6e5 (patch) | |
tree | 181c91a427de2ea609eff1f42c3970a441225b45 /core/java/android/content/IIntentReceiver.aidl | |
parent | ef29f6afb4746eae8263ab901a5d3677bc04574b (diff) | |
download | frameworks_base-1ccac75e1f1b97eccb916a8de04fc1012b30f6e5.zip frameworks_base-1ccac75e1f1b97eccb916a8de04fc1012b30f6e5.tar.gz frameworks_base-1ccac75e1f1b97eccb916a8de04fc1012b30f6e5.tar.bz2 |
Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app
Create a new public IntentSender class that can be used by PackageManager instead.
This new class uses IIntentSender internally and can only be created by PendingIntent for now.
Provide a new getIntentSender api in PendingIntent to create an instance of this class.
Move IIntentSender and IIntentReceiver from android.app to android.content
Change imports of IIntentSender and IIntentReceiver to reflect the new package name
The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage
once the older api(which has been deprecated) will be removed shortly.
Diffstat (limited to 'core/java/android/content/IIntentReceiver.aidl')
-rwxr-xr-x | core/java/android/content/IIntentReceiver.aidl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/core/java/android/content/IIntentReceiver.aidl b/core/java/android/content/IIntentReceiver.aidl new file mode 100755 index 0000000..443db2d --- /dev/null +++ b/core/java/android/content/IIntentReceiver.aidl @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2006 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. + */ + +package android.content; + +import android.content.Intent; +import android.os.Bundle; + +/** + * System private API for dispatching intent broadcasts. This is given to the + * activity manager as part of registering for an intent broadcasts, and is + * called when it receives intents. + * + * {@hide} + */ +oneway interface IIntentReceiver { + void performReceive(in Intent intent, int resultCode, + String data, in Bundle extras, boolean ordered); +} + |