MCPcopy Create free account
hub / github.com/M66B/FairEmail / getUri

Method getUri

app/src/main/java/eu/faircode/email/Gemini.java:150–153  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

148 }
149
150 private static String getUri(Context context) {
151 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
152 return prefs.getString("gemini_uri", BuildConfig.GEMINI_ENDPOINT);
153 }
154
155 private static JSONObject call(Context context, String method, String path, JSONObject args) throws JSONException, IOException {
156 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);

Callers 2

isAvailableMethod · 0.95
callMethod · 0.95

Calls 1

getStringMethod · 0.45

Tested by

no test coverage detected