diff options
author | Josh Guilfoyle <Josh.Guilfoyle@T-Mobile.com> | 2010-03-01 11:09:50 -0800 |
---|---|---|
committer | Josh Guilfoyle <Josh.Guilfoyle@T-Mobile.com> | 2010-03-01 14:47:41 -0800 |
commit | 1c3913c884bedb88a8e54c89c20459be28585c36 (patch) | |
tree | abf169a274e43e9da1fa796f8c1426f0efbec491 /core/jni/android_util_AssetManager.cpp | |
parent | 3dbb2cf5f850d5e689d1709cc804bd6e7065d49c (diff) | |
download | frameworks_base-1c3913c884bedb88a8e54c89c20459be28585c36.zip frameworks_base-1c3913c884bedb88a8e54c89c20459be28585c36.tar.gz frameworks_base-1c3913c884bedb88a8e54c89c20459be28585c36.tar.bz2 |
Removed dynamic attribute assignment and related debug.
This feature was originally used to support on-the-fly changes to themes
such as colors. This support has long since been abandoned.
Diffstat (limited to 'core/jni/android_util_AssetManager.cpp')
-rw-r--r-- | core/jni/android_util_AssetManager.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/jni/android_util_AssetManager.cpp b/core/jni/android_util_AssetManager.cpp index bc646d5..f716174 100644 --- a/core/jni/android_util_AssetManager.cpp +++ b/core/jni/android_util_AssetManager.cpp @@ -831,16 +831,6 @@ static void android_content_AssetManager_applyThemeStyle(JNIEnv* env, jobject cl theme->applyStyle(styleRes, force ? true : false); } -static void android_content_AssetManager_setAttributeValue(JNIEnv* env, jobject clazz, - jint themeInt, - jint attribute, - jint value) -{ - ResTable::Theme* theme = (ResTable::Theme*)themeInt; - theme->setAttributeValue(attribute, value); -} - - static void android_content_AssetManager_copyTheme(JNIEnv* env, jobject clazz, jint destInt, jint srcInt) { @@ -1802,8 +1792,6 @@ static JNINativeMethod gAssetManagerMethods[] = { (void*) android_content_AssetManager_getArraySize }, { "retrieveArray","(I[I)I", (void*) android_content_AssetManager_retrieveArray }, - { "setAttributeValue", "(III)V", - (void*) android_content_AssetManager_setAttributeValue }, // XML files. { "openXmlAssetNative", "(ILjava/lang/String;)I", |