forked from nextcloud/android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interface to communicate from settings to privacy feature.
- Loading branch information
1 parent
5fe2b0f
commit b71c67c
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
app/src/main/java/com/nmc/android/ui/PrivacySettingsInterface.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.nmc.android.ui | ||
|
||
import android.content.Context | ||
|
||
/** | ||
* interface to open privacy settings activity from nmc/1921-settings branch | ||
* for implementation look nmc/1878-privacy branch | ||
* this class will have the declaration for it since it has the PrivacySettingsActivity.java in place | ||
* since we don't have privacy settings functionality in this branch so to handle the redirection we have used interface | ||
*/ | ||
interface PrivacySettingsInterface { | ||
fun openPrivacySettingsActivity(context: Context) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters