Added a subtitle to Astrid Labs preference

pull/14/head
Sam Bosley 13 years ago
parent ed769347e0
commit 6b56710dc8

@ -113,7 +113,6 @@ public class PeopleFilterExposer extends BroadcastReceiver {
for (tagsWithMembers.moveToFirst(); !tagsWithMembers.isAfterLast(); tagsWithMembers.moveToNext()) {
curr.readFromCursor(tagsWithMembers);
names[i] = "\"" + curr.getValue(TagData.NAME) + "\"";
System.err.println("Tag data " + curr.getValue(TagData.NAME) + " has members " + curr.getValue(TagData.MEMBERS));
i++;
}
}

@ -597,7 +597,7 @@
<!-- Preference screen: Astrid Labs (experimental features)-->
<string name="EPr_labs_header">Astrid Labs</string>
<string name="EPr_labs_desc">Enable or disable experimental features</string>
<string name="EPr_labs_desc">Try and configure upcoming features</string>
<!-- Preference: swipe between lists performance -->
<string name="EPr_swipe_lists_performance_title">Swipe between lists</string>

@ -214,6 +214,7 @@ public class EditPreferences extends TodorooPreferenceActivity {
// Loop through a list of all packages (including plugins, addons)
// that have a settings action
String labsTitle = getString(R.string.EPr_labs_header);
for(int i = 0; i < length; i++) {
ResolveInfo resolveInfo = resolveInfoList.get(i);
final Intent intent = new Intent(AstridApiConstants.ACTION_SETTINGS);
@ -226,6 +227,8 @@ public class EditPreferences extends TodorooPreferenceActivity {
Preference preference = new Preference(this);
preference.setTitle(resolveInfo.activityInfo.loadLabel(pm));
if (labsTitle.equals(preference.getTitle()))
preference.setSummary(R.string.EPr_labs_desc);
try {
Class<?> intentComponent = Class.forName(intent.getComponent().getClassName());
if (intentComponent.getSuperclass().equals(SyncProviderPreferences.class))

Loading…
Cancel
Save