am d648e5f7: am e9b4fd07: Merge "Mark constructor as accessible in LayoutInflater."

* commit 'd648e5f7ba26fc835c0448740f33c49874d51a3b':
  Mark constructor as accessible in LayoutInflater.
This commit is contained in:
Jeff Hao
2014-03-28 23:05:46 +00:00
committed by Android Git Automerger

View File

@@ -591,6 +591,7 @@ public abstract class LayoutInflater {
Object[] args = mConstructorArgs;
args[1] = attrs;
constructor.setAccessible(true);
final View view = constructor.newInstance(args);
if (view instanceof ViewStub) {
// always use ourselves when inflating ViewStub later