OSDN Git Service

Replace java.util.LinkedHashMap.eldest()
authorDeepanshu Gupta <deepanshu@google.com>
Thu, 8 Jan 2015 00:25:59 +0000 (16:25 -0800)
committerDeepanshu Gupta <deepanshu@google.com>
Thu, 8 Jan 2015 00:32:21 +0000 (16:32 -0800)
commit1330f79f95fd14b53c393402fbcbf7b7bbdcbc60
tree89f05af111d935521ca93bb6c021665cf83eae84
parent6aede34e246e03be618c30504fc2fc8b07f23225
Replace java.util.LinkedHashMap.eldest()

Provide an alternate implementation for the above method and replace the
calls to it, since the method is not available on host VM.

Change-Id: I329d86b457d1859b137da8fb2790ddd7f8efa788
tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/ReplaceMethodCallsAdapter.java
tools/layoutlib/create/src/com/android/tools/layoutlib/java/LinkedHashMap_Delegate.java [new file with mode: 0644]