File tree Expand file tree Collapse file tree 5 files changed +33
-2
lines changed
app/src/main/java/it/niedermann/owncloud/notes Expand file tree Collapse file tree 5 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Nextcloud Notes - Android Client
3+ *
4+ * SPDX-FileCopyrightText: 2015-2025 Nextcloud GmbH and Nextcloud contributors
5+ * SPDX-License-Identifier: GPL-3.0-or-later
6+ */
17package it.niedermann.owncloud.notes.accountswitcher
28
39import com.owncloud.android.lib.resources.users.Status
Original file line number Diff line number Diff line change 1+ /*
2+ * Nextcloud Android client application
3+ *
4+ * @author Tobias Kaminsky
5+ * Copyright (C) 2020 Nextcloud GmbH
6+ *
7+ * SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
8+ */
19package it.niedermann.owncloud.notes.accountswitcher
210
3-
411import android.annotation.SuppressLint
512import android.os.Bundle
613import android.util.Log
Original file line number Diff line number Diff line change 1+ /*
2+ * Nextcloud Notes - Android Client
3+ *
4+ * SPDX-FileCopyrightText: 2015-2025 Nextcloud GmbH and Nextcloud contributors
5+ * SPDX-License-Identifier: GPL-3.0-or-later
6+ */
17package it.niedermann.owncloud.notes.accountswitcher.repository
28
39import android.content.Context
Original file line number Diff line number Diff line change 1+ /*
2+ * Nextcloud Notes - Android Client
3+ *
4+ * SPDX-FileCopyrightText: 2015-2025 Nextcloud GmbH and Nextcloud contributors
5+ * SPDX-License-Identifier: GPL-3.0-or-later
6+ */
17package it.niedermann.owncloud.notes.persistence.sync
28
39import com.owncloud.android.lib.resources.users.PredefinedStatus
@@ -15,7 +21,7 @@ interface UserStatusAPI {
1521 fun fetchUserStatus (): Call <OcsResponse <Status >>
1622
1723 @DELETE(" user_status/message?format=json" )
18- fun clearStatusMessage (): Call <OcsResponse <Void >>
24+ fun clearStatusMessage (): Call <OcsResponse <List < Any > >>
1925
2026 @GET(" predefined_statuses?format=json" )
2127 fun fetchPredefinedStatuses (): Call <OcsResponse <ArrayList <PredefinedStatus >>>
Original file line number Diff line number Diff line change 1+ /*
2+ * Nextcloud Notes - Android Client
3+ *
4+ * SPDX-FileCopyrightText: 2015-2025 Nextcloud GmbH and Nextcloud contributors
5+ * SPDX-License-Identifier: GPL-3.0-or-later
6+ */
17package it.niedermann.owncloud.notes.util
28
39import androidx.core.app.ComponentActivity
You can’t perform that action at this time.
0 commit comments