mirror of
https://github.com/etesync/android
synced 2024-12-23 23:18:46 +00:00
Bug fixes
* show "Settings" in Android Settings/Accounts again
This commit is contained in:
parent
1acd2e1a55
commit
be235c39b0
@ -33,7 +33,7 @@ import at.bitfire.davdroid.resource.LocalStorageException;
|
|||||||
public class LocalCalendarTest extends InstrumentationTestCase {
|
public class LocalCalendarTest extends InstrumentationTestCase {
|
||||||
|
|
||||||
private static final String
|
private static final String
|
||||||
TAG = "davroid.LocalCalendarTest",
|
TAG = "davroid.test",
|
||||||
calendarName = "DAVdroid_Test";
|
calendarName = "DAVdroid_Test";
|
||||||
|
|
||||||
ContentProviderClient providerClient;
|
ContentProviderClient providerClient;
|
||||||
@ -82,7 +82,7 @@ public class LocalCalendarTest extends InstrumentationTestCase {
|
|||||||
Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.NAME + "=?",
|
Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.NAME + "=?",
|
||||||
new String[]{ CalendarContract.ACCOUNT_TYPE_LOCAL, calendarName },
|
new String[]{ CalendarContract.ACCOUNT_TYPE_LOCAL, calendarName },
|
||||||
null);
|
null);
|
||||||
if (cursor.moveToNext()) {
|
if (cursor != null && cursor.moveToNext()) {
|
||||||
// found local test calendar
|
// found local test calendar
|
||||||
id = cursor.getLong(0);
|
id = cursor.getLong(0);
|
||||||
Log.d(TAG, "Found test calendar with ID " + id);
|
Log.d(TAG, "Found test calendar with ID " + id);
|
||||||
|
@ -113,6 +113,7 @@
|
|||||||
|
|
||||||
<string name="login_password">Password:</string>
|
<string name="login_password">Password:</string>
|
||||||
|
|
||||||
|
<!-- Settings activity -->
|
||||||
<string name="settings_title">Settings</string>
|
<string name="settings_title">Settings</string>
|
||||||
<string name="settings_no_accounts">No DAVdroid accounts found</string>
|
<string name="settings_no_accounts">No DAVdroid accounts found</string>
|
||||||
<string name="settings_authentication">Authentication</string>
|
<string name="settings_authentication">Authentication</string>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<PreferenceScreen android:title="@string/settings_title">
|
<PreferenceScreen android:title="@string/settings_title">
|
||||||
<intent
|
<intent
|
||||||
android:targetPackage="at.bitfire.davdroid"
|
android:targetPackage="at.bitfire.davdroid"
|
||||||
android:targetClass="at.bitfire.davdroid.syncadapter.SettingsActivity"
|
android:targetClass="at.bitfire.davdroid.ui.settings.SettingsActivity"
|
||||||
android:action="ACTION_VIEW" />
|
android:action="ACTION_VIEW" />
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user