Loading tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/AppCompatActionBar.java +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ public class AppCompatActionBar extends BridgeActionBar { @Override public void createMenuPopup() { // it's hard to addd menus to appcompat's actionbar, since it'll use a lot of reflection. // it's hard to add menus to appcompat's actionbar, since it'll use a lot of reflection. // so we skip it for now. } Loading tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java +2 −8 Original line number Diff line number Diff line Loading @@ -94,14 +94,8 @@ public class AsmGenerator { ListIterator<Class<?>> iter = injectedClasses.listIterator(); while (iter.hasNext()) { Class<?> clazz = iter.next(); try { int i = 1; while(i < 100) { iter.add(Class.forName(clazz.getName() + "$" + i)); i++; } } catch (ClassNotFoundException ignored) { // Expected. for (Class<?> aClass : clazz.getDeclaredClasses()) { iter.add(aClass); } } mInjectClasses = injectedClasses.toArray(new Class<?>[0]); Loading Loading
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/AppCompatActionBar.java +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ public class AppCompatActionBar extends BridgeActionBar { @Override public void createMenuPopup() { // it's hard to addd menus to appcompat's actionbar, since it'll use a lot of reflection. // it's hard to add menus to appcompat's actionbar, since it'll use a lot of reflection. // so we skip it for now. } Loading
tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java +2 −8 Original line number Diff line number Diff line Loading @@ -94,14 +94,8 @@ public class AsmGenerator { ListIterator<Class<?>> iter = injectedClasses.listIterator(); while (iter.hasNext()) { Class<?> clazz = iter.next(); try { int i = 1; while(i < 100) { iter.add(Class.forName(clazz.getName() + "$" + i)); i++; } } catch (ClassNotFoundException ignored) { // Expected. for (Class<?> aClass : clazz.getDeclaredClasses()) { iter.add(aClass); } } mInjectClasses = injectedClasses.toArray(new Class<?>[0]); Loading