You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: misc stubs for stupid ad stuff in SubwaySurfers
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user