Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / locationprovider / src / main / java / android / location / GeocoderParams.java
GeocoderParams.java21 lines · 637 BRaw
| 1 | package android.location; |
| 2 | |
| 3 | import 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 | */ |
| 11 | public 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 | } |