Removed API changes from CL 54712.
onLoadClass(Class ) was replaced by onLoadClass(Class<?> ) in CL 54712.
This changes the API and may introduce errors in users' implementations.
Change reverted.
Change-Id: Ie578a444168423959b44857f22e13f004e108965
diff --git a/core/java/android/view/LayoutInflater.java b/core/java/android/view/LayoutInflater.java
index 3e3dbdf..479e757 100644
--- a/core/java/android/view/LayoutInflater.java
+++ b/core/java/android/view/LayoutInflater.java
@@ -97,7 +97,8 @@
*
* @return True if this class is allowed to be inflated, or false otherwise
*/
- boolean onLoadClass(Class<?> clazz);
+ @SuppressWarnings("unchecked")
+ boolean onLoadClass(Class clazz);
}
public interface Factory {