Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From c9f946899747efe7e6a92cb924fa42518e31f589 Mon Sep 17 00:00:00 2001
- From: LinuxCT <[email protected]>
- Date: Wed, 26 Jul 2017 01:49:23 +0200
- Subject: [PATCH] OMR1-4113793
- ---
- AndroidManifest.xml | 6 +++---
- apktool.yml | 6 +++---
- res/values/colors.xml | 1 +
- res/values/styles.xml | 5 +++--
- res/xml/launcher_preferences.xml | 7 ++++---
- smali/com/android/launcher3/LauncherAppState.smali | 4 ++--
- smali/com/google/android/gms/common/internal/zzu$zza.smali | 2 +-
- 7 files changed, 17 insertions(+), 14 deletions(-)
- diff --git a/AndroidManifest.xml b/AndroidManifest.xml
- index b499f11..c82195c 100644
- --- a/AndroidManifest.xml
- +++ b/AndroidManifest.xml
- @@ -51,7 +51,7 @@
- </intent-filter>
- </activity>
- <service android:exported="false" android:name="com.android.launcher3.dynamicui.ColorExtractionService" android:permission="android.permission.BIND_JOB_SERVICE" android:process=":wallpaper_chooser"/>
- - <service android:enabled="@bool/notification_badging_enabled" android:name="com.android.launcher3.notification.NotificationListener" android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
- + <service android:enabled="true" android:name="com.android.launcher3.notification.NotificationListener" android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
- <intent-filter>
- <action android:name="android.service.notification.NotificationListenerService"/>
- </intent-filter>
- @@ -87,7 +87,7 @@
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
- <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
- <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
- - <uses-feature android:name="com.google.android.feature.PIXEL_EXPERIENCE" android:required="true"/>
- + <uses-feature android:name="com.google.android.feature.PIXEL_EXPERIENCE" android:required="false"/>
- <permission android:description="@string/permdesc_install_shortcut" android:label="@string/permlab_install_shortcut" android:name="com.android.launcher.permission.INSTALL_SHORTCUT" android:permissionGroup="android.permission-group.SYSTEM_TOOLS" android:protectionLevel="dangerous"/>
- <uses-permission android:name="android.permission.CALL_PHONE"/>
- <uses-permission android:name="android.permission.SET_WALLPAPER"/>
- @@ -97,4 +97,4 @@
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
- <uses-permission android:name="android.permission.INTERNET"/>
- -</manifest>
- \ No newline at end of file
- +</manifest>
- diff --git a/apktool.yml b/apktool.yml
- index 572e01e..7626017 100644
- --- a/apktool.yml
- +++ b/apktool.yml
- @@ -1,5 +1,5 @@
- !!brut.androlib.meta.MetaInfo
- -apkFileName: NexusLauncherPrebuilt-3.apk
- +apkFileName: NexusLauncherPrebuilt.apk
- compressionType: false
- doNotCompress:
- - arsc
- @@ -8,7 +8,7 @@ packageInfo:
- forcedPackageId: '127'
- renameManifestPackage: null
- sdkInfo:
- - minSdkVersion: '21'
- + minSdkVersion: '20'
- targetSdkVersion: '26'
- sharedLibrary: false
- unknownFiles:
- @@ -21,4 +21,4 @@ usesFramework:
- version: 2.2.3
- versionInfo:
- versionCode: '205'
- - versionName: OMR1-4113793
- + versionName: OMR1-4113793-mod
- diff --git a/res/values/colors.xml b/res/values/colors.xml
- index 6aa4468..0ee3748 100644
- --- a/res/values/colors.xml
- +++ b/res/values/colors.xml
- @@ -28,6 +28,7 @@
- <color name="workspace_icon_text_color">#ffffffff</color>
- <color name="workspace_edge_effect_color">#ffffffff</color>
- <color name="default_shadow_color_no_alpha">#ff000000</color>
- + <color name="quantum_panel_text_color">#ff666666</color>
- <color name="outline_color">#ffffffff</color>
- <color name="spring_loaded_panel_color">#40ffffff</color>
- <color name="spring_loaded_highlighted_panel_border_color">#ffffffff</color>
- diff --git a/res/values/styles.xml b/res/values/styles.xml
- index eafd080..db8b8c6 100644
- --- a/res/values/styles.xml
- +++ b/res/values/styles.xml
- @@ -6,6 +6,7 @@
- <item name="android:windowShowWallpaper">true</item>
- <item name="android:colorBackgroundCacheHint">@null</item>
- <item name="android:colorEdgeEffect">#ff757575</item>
- + <item name="android:colorPrimary">#fff5f5f5</item>
- </style>
- <style name="LauncherTheme" parent="@style/BaseLauncherTheme" />
- <style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
- @@ -27,8 +28,8 @@
- <item name="android:elevation">3.0dip</item>
- </style>
- <style name="AllAppsNavBarProtection">
- - <item name="android:background">@color/default_shadow_color_no_alpha</item>
- - <item name="android:alpha">?android:spotShadowAlpha</item>
- + <item name="android:background">?android:colorPrimary</item>
- + <item name="android:alpha">0.6</item>
- </style>
- <style name="BaseIcon">
- <item name="android:textColor">?android:textColorSecondary</item>
- diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
- index d197eb5..34aa12f 100644
- --- a/res/xml/launcher_preferences.xml
- +++ b/res/xml/launcher_preferences.xml
- @@ -4,8 +4,8 @@
- <SwitchPreference android:title="@string/title_app_suggestions" android:key="pref_show_predictions" android:defaultValue="true" />
- <SwitchPreference android:title="@string/title_show_google_app" android:key="pref_enable_minus_one" android:summary="@string/pref_show_google_now_summary" android:defaultValue="true" />
- <SwitchPreference android:persistent="true" android:title="@string/auto_add_shortcuts_label" android:key="pref_add_icon_to_home" android:summary="@string/auto_add_shortcuts_description" android:defaultValue="true" />
- - <ListPreference android:persistent="false" android:entries="@array/icon_shape_override_paths_names" android:title="@string/icon_shape_override_label" android:key="pref_override_icon_shape" android:summary="%s" android:defaultValue="" android:entryValues="@array/icon_shape_override_paths_values" />
- - <Preference android:persistent="false" android:title="@string/icon_badging_title" android:key="pref_icon_badging">
- + <ListPreference android:persistent="true" android:entries="@array/icon_shape_override_paths_names" android:title="@string/icon_shape_override_label" android:key="pref_override_icon_shape" android:summary="%s" android:defaultValue="" android:entryValues="@array/icon_shape_override_paths_values" />
- + <Preference android:persistent="true" android:title="@string/icon_badging_title" android:key="pref_icon_badging">
- <intent android:action="android.settings.NOTIFICATION_SETTINGS">
- <extra android:name=":settings:fragment_args_key" android:value="notification_badging" />
- </intent>
- @@ -13,6 +13,7 @@
- <SwitchPreference android:title="@string/allow_rotation_title" android:key="pref_allowRotation" android:defaultValue="@bool/allow_rotation" />
- <PreferenceScreen android:title="@string/about">
- <Preference android:persistent="false" android:title="@string/about_app_version" android:key="about_app_version" />
- + <Preference android:persistent="false" android:title="Mod version" android:key="iamlinuxct" android:summary="4" />
- <Preference android:persistent="false" android:title="@string/pref_open_source_licenses_title" android:key="open_source_licenses" />
- </PreferenceScreen>
- -</PreferenceScreen>
- \ No newline at end of file
- +</PreferenceScreen>
- diff --git a/smali/com/android/launcher3/LauncherAppState.smali b/smali/com/android/launcher3/LauncherAppState.smali
- index 74e45e7..99866c7 100644
- --- a/smali/com/android/launcher3/LauncherAppState.smali
- +++ b/smali/com/android/launcher3/LauncherAppState.smali
- @@ -340,7 +340,7 @@
- .catchall {:try_start_b .. :try_end_11} :catchall_3a
- .line 167
- - if-eqz v1, :cond_16
- + if-nez v1, :cond_16
- :try_start_13
- invoke-virtual {v1}, Landroid/content/ContentProviderClient;->close()V
- @@ -384,7 +384,7 @@
- move-object v0, v3
- :goto_23
- - if-eqz v1, :cond_28
- + if-nez v1, :cond_28
- :try_start_25
- invoke-virtual {v1}, Landroid/content/ContentProviderClient;->close()V
- diff --git a/smali/com/google/android/gms/common/internal/zzu$zza.smali b/smali/com/google/android/gms/common/internal/zzu$zza.smali
- index 2a62471..7c5bc94 100644
- --- a/smali/com/google/android/gms/common/internal/zzu$zza.smali
- +++ b/smali/com/google/android/gms/common/internal/zzu$zza.smali
- @@ -11,7 +11,7 @@
- const/4 v0, 0x0
- - if-eqz p0, :cond_12
- + if-nez p0, :cond_12
- const-string/jumbo v0, "com.google.android.gms.common.internal.IGmsServiceBroker"
- --
- 2.13.3
Advertisement
Add Comment
Please, Sign In to add comment