api-impl: misc stubs for stupid ad stuff in SubwaySurfers

This commit is contained in:
Mis012
2024-04-26 14:49:37 +02:00
parent 341e39463a
commit 30a9f66c4a
13 changed files with 117 additions and 21 deletions

View File

@@ -1,8 +1,20 @@
package android.telephony;
import java.util.ArrayList;
import java.util.List;
public class TelephonyManager {
// FIXME: can we return null instead of ""?
public String getNetworkOperator() {
return "";
}
public String getNetworkOperatorName() {
return "none"; // FIXME: can we return null here?
return "";
}
public String getSimOperator() {
return "";
}
public int getPhoneType() {
@@ -10,4 +22,13 @@ public class TelephonyManager {
}
public String getNetworkCountryIso() {return "";}
public String getSimCountryIso() {return "";}
public List getNeighboringCellInfo() {
return new ArrayList(0);
}
public CellLocation getCellLocation() {
return new CellLocation();
}
}