Skip to content

Instantly share code, notes, and snippets.

View JustinAngel's full-sized avatar

Justin Angel JustinAngel

View GitHub Profile
@JustinAngel
JustinAngel / gist:0a589da24260dcdab1006513f3f2c537
Created May 8, 2019 17:02
Jar Compare: Android API28 to Android Q Beta3
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=55454:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents
@JustinAngel
JustinAngel / gist:e78cf2924dfb25aa881285ed0e46642c
Created May 18, 2016 20:26
Google IO 2016 API compare: Android N revision 2 vs. the new revision 3
===== Results of comparing two JARs =====
Comparing 3833 classes from C:\Program Files (x86)\Android\sdk\platforms\android-N\android.jar
To 3828 classes from C:\Program Files (x86)\Android\sdk\android-N.rev2\android.jar
public static final class android.Manifest$permission extends Object {
+ public static final String BIND_VR_LISTENER_SERVICE;
}
@JustinAngel
JustinAngel / gist:c7e3fb9974f402731a4c
Created May 28, 2015 19:58
Android M: WebKit WebMessages
public class android.webkit.WebMessage extends Object {
public WebMessage(String);
public WebMessage(String, WebMessagePort[]);
public String getData();
public WebMessagePort[] getPorts();
}
public abstract class android.webkit.WebMessagePort extends Object {
WebMessagePort();
public abstract void close();
@JustinAngel
JustinAngel / gist:afac121f21a071c9d173
Created May 28, 2015 19:37
Android M: network statistics
public class android.app.usage.NetworkStatsManager extends Object {
NetworkStatsManager();
public NetworkUsageStats querySummary(int, String, long, long) throws SecurityException, RemoteException;
public NetworkUsageStats queryDetails(int, String, long, long) throws SecurityException, RemoteException;
public NetworkUsageStats$Bucket querySummaryForUser(int, String, long, long) throws SecurityException, RemoteException;
public NetworkUsageStats queryDetailsForUid(int, String, long, long, int) throws SecurityException, RemoteException;
public NetworkUsageStats$Bucket querySummaryForDevice(int, String, long, long) throws SecurityException, RemoteException;
}
@JustinAngel
JustinAngel / gist:8dcc9bf9c7f0d7705c14
Created May 28, 2015 19:30
Android M: Android Auto notifications
public static class android.app.Notification$Builder extends Object {
public Notification$Builder setLargeIcon(Icon);
public Notification$Builder setSmallIcon(Icon);
}
public static final class android.app.Notification$CarExtender extends Object implements Notification$Extender {
public Notification$CarExtender();
public Notification$CarExtender(Notification);
public Notification$CarExtender setColor(int);
public int getColor();
@JustinAngel
JustinAngel / gist:df09199a2249ab951f55
Created May 28, 2015 19:25
Android M: new Fingerprint API
public final class android.hardware.fingerprint.Fingerprint extends Object implements Parcelable {
public Fingerprint(CharSequence, int, int, long);
public static final Parcelable$Creator CREATOR;
public CharSequence getName();
public void writeToParcel(Parcel, int);
public int describeContents();
}
public class android.hardware.fingerprint.FingerprintManager extends Object {
FingerprintManager();
@JustinAngel
JustinAngel / compareJarsApi22AndAndroidM
Last active August 29, 2015 14:22
API delta between API22 and Android M: New APIs
===== Results of comparing two JARs =====
Generated by @ https://github.com/JustinAngel/compareJars
Showing API additions only. Removed APIs aren't shown.
Comparing 3479 classes from C:\Program Files (x86)\Android\sdk\platforms\android-MNC\android.jar
To 3683 classes from C:\Program Files (x86)\Android\sdk\platforms\android-22\android.jar
public static final class android.Manifest$permission extends Object {