3 ms·
Sure, if google renamed all the classes/methods, it would make a lot of difference.
by rini17 6y ago
Sure, if google renamed all the classes/methods, it would make a lot of difference.
- imtringued 6y agoI wonder how much you can game this. Rename java.lang.String to google.java.lang.String and make google's dex compiler automatically look in the google namespace by default. Not allowed? How about we just hash the Java API names and then let the compiler automatically apply a mapping from hash to google name. In the worst case Google is probably still allowed to ship a tool that renames uses of the java api directly in the source code and switches it over to whatever Google's naming scheme is. If this wasn't allowed it would be equivalent to making it illegal to not use the Java api because doing the same chance by hand would is not meaningfully different.