Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / library / locationprovider / src / main / java / android / location / GeocoderParams.java

GeocoderParams.java21 lines · 637 BRaw
1package android.location;
2
3import java.util.Locale;
4
5/**
6 * Compile-only stub of the hidden @SystemApi android.location.GeocoderParams. Needed because it
7 * appears in GeocodeProvider's method signatures but isn't in the public SDK. This module is
8 * depended on with compileOnly, so this class is NOT packaged — at runtime the real framework
9 * GeocoderParams (on the boot classpath) is used.
10 */
11public class GeocoderParams {
12 public Locale getLocale() {
13 throw new RuntimeException("stub");
14 }
15
16 public String getClientPackage() {
17 throw new RuntimeException("stub");
18 }
19
20 private GeocoderParams() {}
21}