Change strings from Instant app account to setting

Test: existing tests
Bug: 63762769
Change-Id: I5499f76b9f8b5f513813c4ee09a4fb00c96c3fd4
This commit is contained in:
Jesse Evans
2017-08-11 17:51:33 -07:00
parent 3eb4c8333e
commit 804b0daf49
2 changed files with 3 additions and 3 deletions

View File

@@ -8782,8 +8782,8 @@
<!-- Section title for the Web Action preference [CHAR LIMIT=60] --> <!-- Section title for the Web Action preference [CHAR LIMIT=60] -->
<string name="web_action_section_title">Instant apps</string> <string name="web_action_section_title">Instant apps</string>
<!-- Preference label for an tappable preference that will open the account chooser for instant apps. [CHAR LIMIT=60] --> <!-- Preference label for an tappable preference that will open the instant apps settings. [CHAR LIMIT=60] -->
<string name="instant_apps_account">Instant apps account</string> <string name="instant_apps_settings">Instant Apps preferences</string>
<!-- Section title for the Domain URL app preference list [CHAR LIMIT=60]--> <!-- Section title for the Domain URL app preference list [CHAR LIMIT=60]-->
<string name="domain_url_section_title">Installed apps</string> <string name="domain_url_section_title">Installed apps</string>

View File

@@ -141,7 +141,7 @@ public class ManageDomainUrls extends SettingsPreferenceFragment
final Intent launchIntent = instantAppSettingsIntent; final Intent launchIntent = instantAppSettingsIntent;
// TODO: Make this button actually launch the account chooser. // TODO: Make this button actually launch the account chooser.
mInstantAppAccountPreference = new Preference(getPrefContext()); mInstantAppAccountPreference = new Preference(getPrefContext());
mInstantAppAccountPreference.setTitle(R.string.instant_apps_account); mInstantAppAccountPreference.setTitle(R.string.instant_apps_settings);
mInstantAppAccountPreference.setOnPreferenceClickListener(pref -> { mInstantAppAccountPreference.setOnPreferenceClickListener(pref -> {
startActivity(launchIntent); startActivity(launchIntent);
return true; return true;