Skip to content

Commit

Permalink
Return nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
The Judge committed Nov 8, 2024
1 parent c9b0abf commit 7d5a08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/pojlib/API.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public static boolean removeAccount(Activity activity, String uuid) {
*
* @param activity Android activity object
*/
public static void login(Activity activity, String accountUUID)
public static void login(Activity activity, @Nullable String accountUUID)
{
ConnectivityManager connManager = (ConnectivityManager) activity.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkCapabilities capabilities = connManager.getNetworkCapabilities(connManager.getActiveNetwork());
Expand Down

0 comments on commit 7d5a08f

Please sign in to comment.