diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-03-08 14:25:09 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-03-09 10:56:09 -0800 |
commit | 4179e9b88f21d49e24ee005c00b0dad0de0ec343 (patch) | |
tree | 7d2529963201820462c3c7fe809a26679844a756 /res/xml/launcher_preferences.xml | |
parent | b07a355fe24d70b4affbe2afaf74a8568b2e0e08 (diff) | |
download | packages_apps_Trebuchet-4179e9b88f21d49e24ee005c00b0dad0de0ec343.tar.gz packages_apps_Trebuchet-4179e9b88f21d49e24ee005c00b0dad0de0ec343.tar.bz2 packages_apps_Trebuchet-4179e9b88f21d49e24ee005c00b0dad0de0ec343.zip |
Adding broadcast receiver to handle SESSION_COMMIT broadcast
> Disabling Install shortcut broadcast for O and above
> Adding a preference to control automatic icon addition on homescreen
> Adding icons on homescreen for new installs based on the above preference
Bug: 32920609
Bug: 27967412
Change-Id: I92e5cb7c841fb445dc8bc058d975f212ee54f8d1
Diffstat (limited to 'res/xml/launcher_preferences.xml')
-rw-r--r-- | res/xml/launcher_preferences.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index 624d9eb2c..a16583d2c 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -23,4 +23,11 @@ android:persistent="true" /> + <SwitchPreference + android:key="pref_add_icon_to_home" + android:title="@string/auto_add_shortcuts_label" + android:summary="@string/auto_add_shortcuts_description" + android:defaultValue="true" + android:persistent="true" + /> </PreferenceScreen> |