getRemotePreferences is NonNull
This commit is contained in:
parent
97701a9299
commit
c0ad35ada5
|
|
@ -451,10 +451,10 @@ public interface XposedInterface {
|
|||
* Gets remote preferences stored in Xposed framework. Note that those are read-only in hooked apps.
|
||||
*
|
||||
* @param group Group name
|
||||
* @return The preferences, null if the group does not exists
|
||||
* @return The preferences
|
||||
* @throws UnsupportedOperationException If the framework is embedded
|
||||
*/
|
||||
@Nullable
|
||||
@NonNull
|
||||
SharedPreferences getRemotePreferences(@NonNull String group);
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ public class XposedInterfaceWrapper implements XposedInterface {
|
|||
return mBase.parseDex(dexData, includeAnnotations);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public SharedPreferences getRemotePreferences(@NonNull String name) {
|
||||
return mBase.getRemotePreferences(name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue