@@ -0,0 +1,1339 @@
+package io.taig.android.compatibility;%0A%0Aimport android.content.ContentResolver;%0A%0Aimport static android.os.Build.VERSION.SDK_INT;%0Aimport static android.os.Build.VERSION_CODES.JELLY_BEAN;%0A%0Apublic class Settings %7B%0A    @SuppressWarnings( %22deprecation%22 )%0A    public static String AUTO_TIME() %7B%0A        if( SDK_INT %3C= JELLY_BEAN ) %7B %0A            return android.provider.Settings.System.AUTO_TIME;%0A        %7D else %7B%0A            return android.provider.Settings.Global.AUTO_TIME;%0A        %7D%0A    %7D%0A%0A    @SuppressWarnings( %22deprecation%22 )%0A    public static String AUTO_TIME_ZONE() %7B%0A        if( SDK_INT %3C= JELLY_BEAN ) %7B%0A            return android.provider.Settings.System.AUTO_TIME_ZONE;%0A        %7D else %7B%0A            return android.provider.Settings.Global.AUTO_TIME_ZONE;%0A        %7D%0A    %7D%0A%0A    public static int getInt( ContentResolver resolver, String name, int defaultValue ) %7B%0A        if( name.equals( AUTO_TIME() ) %7C%7C name.equals( AUTO_TIME_ZONE() ) ) %7B%0A            if( SDK_INT %3C= JELLY_BEAN ) %7B%0A                return android.provider.Settings.System.getInt( resolver, name, defaultValue );%0A            %7D else %7B%0A                return android.provider.Settings.Global.getInt( resolver, name, defaultValue );%0A            %7D%0A        %7D else %7B%0A            throw new RuntimeException( %22No compatibility implementation for %22 + name );%0A        %7D%0A    %7D%0A%7D

Add compat Settings.getInt