File tree 2 files changed +3
-5
lines changed
src/org/chromium/chrome/browser/preferences
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3
3
Use of this source code is governed by a BSD-style license that can be
4
4
found in the LICENSE file. -->
5
5
6
- <PreferenceScreen xmlns : android =" http://schemas.android.com/apk/res/android"
7
- xmlns : chrome =" http://schemas.android.com/apk/res-auto" >
6
+ <PreferenceScreen xmlns : android =" http://schemas.android.com/apk/res/android" >
8
7
9
8
<org .chromium.chrome.browser.preferences.ChromeSwitchPreference
10
9
android : key =" content_suggestions"
11
10
android : title =" @string/notifications_content_suggestions_title"
12
- android : summary =" @string/notifications_content_suggestions_summary"
13
- chrome : drawDivider =" true" />
11
+ android : summary =" @string/notifications_content_suggestions_summary" />
14
12
15
13
<Preference
16
14
android : fragment =" org.chromium.chrome.browser.preferences.website.SingleCategoryPreferences"
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public void onCreate(Bundle savedInstanceState) {
39
39
40
40
mSnippetsBridge = new SnippetsBridge (Profile .getLastUsedProfile ());
41
41
42
- addPreferencesFromResource (R .xml .notifications_preferences );
42
+ PreferenceUtils . addPreferencesFromResource (this , R .xml .notifications_preferences );
43
43
getActivity ().setTitle (R .string .prefs_notifications );
44
44
45
45
mSuggestionsPref = (ChromeSwitchPreference ) findPreference (PREF_SUGGESTIONS );
You can’t perform that action at this time.
0 commit comments