am b321625b: Merge change 22430 into eclair
Merge commit 'b321625b859f2db4407810929ca6fa6074f65403' into eclair-plus-aosp * commit 'b321625b859f2db4407810929ca6fa6074f65403': Remove frameworks/base/im since these stuff are only used by IM app
This commit is contained in:
@@ -141,7 +141,6 @@ LOCAL_SRC_FILES += \
|
|||||||
core/java/com/android/internal/view/IInputMethodClient.aidl \
|
core/java/com/android/internal/view/IInputMethodClient.aidl \
|
||||||
core/java/com/android/internal/view/IInputMethodManager.aidl \
|
core/java/com/android/internal/view/IInputMethodManager.aidl \
|
||||||
core/java/com/android/internal/view/IInputMethodSession.aidl \
|
core/java/com/android/internal/view/IInputMethodSession.aidl \
|
||||||
im/java/android/im/IImPlugin.aidl \
|
|
||||||
location/java/android/location/IGeocodeProvider.aidl \
|
location/java/android/location/IGeocodeProvider.aidl \
|
||||||
location/java/android/location/IGpsStatusListener.aidl \
|
location/java/android/location/IGpsStatusListener.aidl \
|
||||||
location/java/android/location/IGpsStatusProvider.aidl \
|
location/java/android/location/IGpsStatusProvider.aidl \
|
||||||
@@ -228,7 +227,6 @@ aidl_files := \
|
|||||||
frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
|
frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
|
||||||
frameworks/base/graphics/java/android/graphics/Rect.aidl \
|
frameworks/base/graphics/java/android/graphics/Rect.aidl \
|
||||||
frameworks/base/graphics/java/android/graphics/Region.aidl \
|
frameworks/base/graphics/java/android/graphics/Region.aidl \
|
||||||
frameworks/base/im/java/android/im/IImPlugin.aidl \
|
|
||||||
frameworks/base/location/java/android/location/Criteria.aidl \
|
frameworks/base/location/java/android/location/Criteria.aidl \
|
||||||
frameworks/base/location/java/android/location/Location.aidl \
|
frameworks/base/location/java/android/location/Location.aidl \
|
||||||
frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
|
frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
|
||||||
|
|||||||
@@ -1,52 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2008 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.im;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @hide
|
|
||||||
* Defines the IDs of branding resources.
|
|
||||||
*/
|
|
||||||
public interface BrandingResourceIDs {
|
|
||||||
/**
|
|
||||||
* The logo icon of the provider which is displayed in the landing page.
|
|
||||||
*/
|
|
||||||
public static final int DRAWABLE_LOGO = 100;
|
|
||||||
/**
|
|
||||||
* The icon of online presence status.
|
|
||||||
*/
|
|
||||||
public static final int DRAWABLE_PRESENCE_ONLINE = 102;
|
|
||||||
/**
|
|
||||||
* The icon of busy presence status.
|
|
||||||
*/
|
|
||||||
public static final int DRAWABLE_PRESENCE_BUSY = 103;
|
|
||||||
/**
|
|
||||||
* The icon of away presence status.
|
|
||||||
*/
|
|
||||||
public static final int DRAWABLE_PRESENCE_AWAY = 104;
|
|
||||||
/**
|
|
||||||
* The icon of invisible presence status.
|
|
||||||
*/
|
|
||||||
public static final int DRAWABLE_PRESENCE_INVISIBLE = 105;
|
|
||||||
/**
|
|
||||||
* The icon of offline presence status.
|
|
||||||
*/
|
|
||||||
public static final int DRAWABLE_PRESENCE_OFFLINE = 106;
|
|
||||||
/**
|
|
||||||
* The label of the menu to go to the contact list screen.
|
|
||||||
*/
|
|
||||||
public static final int STRING_MENU_CONTACT_LIST = 107;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2008 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.im;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @hide
|
|
||||||
*/
|
|
||||||
interface IImPlugin {
|
|
||||||
/**
|
|
||||||
* Notify the plugin the front door activity is created. This gives the plugin a chance to
|
|
||||||
* start its own servics, etc.
|
|
||||||
*/
|
|
||||||
void onStart();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Notify the plugin the front door activity is stopping.
|
|
||||||
*/
|
|
||||||
void onStop();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sign in to the service for the account passed in.
|
|
||||||
*
|
|
||||||
* @param account the account id for the accont to be signed into.
|
|
||||||
*/
|
|
||||||
void signIn(long account);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sign out of the service for the account passed in.
|
|
||||||
*
|
|
||||||
* @param account the account id for the accont to be signed out of.
|
|
||||||
*/
|
|
||||||
void signOut(long account);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the package name used to load the resources for the given provider name.
|
|
||||||
*
|
|
||||||
* @return The package name to load the resourcs for the given provider.
|
|
||||||
*/
|
|
||||||
String getResourcePackageNameForProvider(String providerName);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a map of branding resources for the given provider. The keys are defined
|
|
||||||
* in {@link android.im.BrandingResourceIDs}. The values are the resource identifiers generated
|
|
||||||
* by the aapt tool.
|
|
||||||
*
|
|
||||||
* @return The map of branding resources for the given provider.
|
|
||||||
*/
|
|
||||||
Map getResourceMapForProvider(String providerName);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Returns a list of supported IM providers.
|
|
||||||
*
|
|
||||||
* @return a List of supported providers.
|
|
||||||
*/
|
|
||||||
List getSupportedProviders();
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2008 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.im;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @hide
|
|
||||||
*/
|
|
||||||
public class ImPluginConsts {
|
|
||||||
/**
|
|
||||||
* The intent action name for the plugin service.
|
|
||||||
*/
|
|
||||||
public static final String PLUGIN_ACTION_NAME = "android.im.plugin";
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user