Skip to content

Commit

Permalink
Fixes, improvements, new cool features
Browse files Browse the repository at this point in the history
  • Loading branch information
pylerSM committed Jan 3, 2015
1 parent fc8323f commit 5c0be54
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 80 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.pyler.xinstaller"
android:versionCode="400"
android:versionName="4.0" >
android:versionCode="405"
android:versionName="4.0.5" >

<uses-sdk
android:minSdkVersion="15"
Expand Down
3 changes: 3 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
<string name="apk_file_exported">APK file was exported</string>
<string name="open_apps_google_play">Opening apps in Google Play</string>
<string name="app_name_copied">App name was copied to clipboard</string>
<string name="uninstall_system_apps">Uninstalling system apps</string>
<string name="app_uninstalled">App was uninstalled</string>
<string name="auto_enable_clear_buttons">Auto enabling clear buttons</string>
<string name="about">About</string>
<string name="developer">Developer</string>
<string name="version">Version</string>
Expand Down
146 changes: 75 additions & 71 deletions res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<PreferenceCategory
android:key="app"
android:title="@string/app" >
<SwitchPreference
<CheckBoxPreference
android:defaultValue="true"
android:key="enable_module"
android:title="@string/module" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="true"
android:key="enable_app_icon"
android:title="@string/app_icon" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_expert_mode"
android:title="@string/expert_mode" />
Expand All @@ -26,75 +26,75 @@
<PreferenceCategory
android:key="installations_enable"
android:title="@string/enable" >
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_downgrade_apps"
android:title="@string/downgrade_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_install_unknown_apps"
android:title="@string/install_unknown_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_install_external_storage"
android:title="@string/install_external_storage" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_install"
android:title="@string/auto_install" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_close_install"
android:title="@string/auto_close_install" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_launch_install"
android:title="@string/auto_launch_install" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_backup_apk_files"
android:title="@string/backup_apk_files" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_install_unsigned_apps"
android:title="@string/install_unsigned_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_show_version"
android:title="@string/show_version" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_delete_apk_files_install"
android:title="@string/delete_apk_files_install" />
</PreferenceCategory>
<PreferenceCategory
android:key="installations_disable"
android:title="@string/disable" >
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_check_signatures"
android:title="@string/check_signatures" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_check_signatures_fdroid"
android:title="@string/check_signatures_fdroid" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_forward_lock"
android:title="@string/forward_lock" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_verify_apps"
android:title="@string/verify_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_check_sdk_version"
android:title="@string/check_sdk_version" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_install_background"
android:title="@string/install_background" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_check_duplicated_permissions"
android:title="@string/check_duplicated_permissions" />
Expand All @@ -106,107 +106,111 @@
<PreferenceCategory
android:key="uninstallations_enable"
android:title="@string/enable" >
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_keep_apps_data"
android:title="@string/keep_apps_data" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_uninstall_device_admins"
android:title="@string/uninstall_device_admins" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_uninstall"
android:title="@string/auto_uninstall" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_close_uninstall"
android:title="@string/auto_close_uninstall" />
</PreferenceCategory>
<PreferenceCategory
android:key="uninstallations_disable"
android:title="@string/disable" >
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_uninstall_background"
android:title="@string/uninstall_background" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
android:key="misc"
android:title="@string/misc" >
<PreferenceCategory
android:key="misc_enable"
android:title="@string/enable" >
<SwitchPreference
android:defaultValue="false"
android:key="enable_show_buttons"
android:title="@string/show_buttons" />
<SwitchPreference
android:defaultValue="false"
android:key="enable_debug_apps"
android:title="@string/debug_apps" />
<SwitchPreference
android:defaultValue="false"
android:key="enable_auto_backup"
android:title="@string/auto_backup" />
</PreferenceCategory>
<PreferenceCategory
android:key="misc_disable"
android:title="@string/disable" >
<SwitchPreference
android:defaultValue="false"
android:key="disable_check_permissions"
android:title="@string/check_permissions" />
<SwitchPreference
android:defaultValue="false"
android:key="disable_verify_jar"
android:title="@string/verify_jar" />
<SwitchPreference
android:defaultValue="false"
android:key="disable_verify_signatures"
android:title="@string/verify_signatures" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
android:key="apps_info"
android:title="@string/apps_info" >
<PreferenceCategory
android:key="apps_info_enable"
android:title="@string/enable" >
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_disable_system_apps"
android:title="@string/disable_system_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_show_package_name"
android:title="@string/show_package_name" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_launch_apps"
android:title="@string/launch_apps" />
<SwitchPreference
android:defaultValue="false"
android:key="enable_move_apps"
android:title="@string/move_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_move_apps"
android:title="@string/move_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_export_apps"
android:title="@string/export_apps" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_open_apps_google_play"
android:title="@string/open_apps_google_play" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_uninstall_system_apps"
android:title="@string/uninstall_system_apps" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_enable_clear_buttons"
android:title="@string/auto_enable_clear_buttons" />
</PreferenceCategory>
<PreferenceCategory
android:key="apps_info_disable"
android:title="@string/disable" >
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
android:key="misc"
android:title="@string/misc" >
<PreferenceCategory
android:key="misc_enable"
android:title="@string/enable" >
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_show_buttons"
android:title="@string/show_buttons" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_debug_apps"
android:title="@string/debug_apps" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_auto_backup"
android:title="@string/auto_backup" />
</PreferenceCategory>
<PreferenceCategory
android:key="misc_disable"
android:title="@string/disable" >
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_check_permissions"
android:title="@string/check_permissions" />
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_verify_jar"
android:title="@string/verify_jar" />
<CheckBoxPreference
android:defaultValue="false"
android:key="disable_verify_signatures"
android:title="@string/verify_signatures" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
android:key="backup_restore_preferences"
Expand Down
3 changes: 3 additions & 0 deletions src/com/pyler/xinstaller/Common.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public class Common {
public static final String PREF_DISABLE_CHECK_DUPLICATED_PERMISSION = "disable_check_duplicated_permissions";
public static final String PREF_ENABLE_EXPORT_APP = "enable_export_apps";
public static final String PREF_ENABLE_OPEN_APP_GOOGLE_PLAY = "enable_open_apps_google_play";
public static final String PREF_ENABLE_UNINSTALL_SYSTEM_APP = "enable_uninstall_system_apps";
public static final String PREF_ENABLE_AUTO_ENABLE_CLEAR_BUTTON = "enable_auto_enable_clear_buttons";

// constants
public static final String PACKAGE_NAME = Common.class.getPackage()
Expand Down Expand Up @@ -92,6 +94,7 @@ public class Common {
public static final String PACKAGEPARSER = "android.content.pm.PackageParser";
public static final String JARVERIFIER = "java.util.jar.JarVerifier$VerifierEntry";
public static final String SIGNATURE = "java.security.Signature";
public static final String PROCESS = "android.os.Process";
public static final String BACKUPRESTORECONFIRMATION = "com.android.backupconfirm.BackupRestoreConfirmation";

// flags
Expand Down
Loading

0 comments on commit 5c0be54

Please sign in to comment.