mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-12 23:02:02 +02:00
Fixed more typos.
This commit is contained in:
parent
5d2cd49139
commit
ee1a7ad8ce
@ -140,7 +140,7 @@ public class APKExpansionPolicy implements Policy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update server policy data
|
// Update server policy data
|
||||||
RBMap<String, String> extras = decodeExtras(rawData);
|
Map<String, String> extras = decodeExtras(rawData);
|
||||||
if (response == Policy.LICENSED) {
|
if (response == Policy.LICENSED) {
|
||||||
mLastResponse = response;
|
mLastResponse = response;
|
||||||
// Reset the licensing URL since it is only applicable for NOT_LICENSED responses.
|
// Reset the licensing URL since it is only applicable for NOT_LICENSED responses.
|
||||||
@ -395,9 +395,9 @@ public class APKExpansionPolicy implements Policy {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private RBMap<String, String> decodeExtras(
|
private Map<String, String> decodeExtras(
|
||||||
com.google.android.vending.licensing.ResponseData rawData) {
|
com.google.android.vending.licensing.ResponseData rawData) {
|
||||||
RBMap<String, String> results = new HashMap<String, String>();
|
Map<String, String> results = new HashMap<String, String>();
|
||||||
if (rawData == null) {
|
if (rawData == null) {
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ public class ServerManagedPolicy implements Policy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update server policy data
|
// Update server policy data
|
||||||
RBMap<String, String> extras = decodeExtras(rawData);
|
Map<String, String> extras = decodeExtras(rawData);
|
||||||
if (response == Policy.LICENSED) {
|
if (response == Policy.LICENSED) {
|
||||||
mLastResponse = response;
|
mLastResponse = response;
|
||||||
// Reset the licensing URL since it is only applicable for NOT_LICENSED responses.
|
// Reset the licensing URL since it is only applicable for NOT_LICENSED responses.
|
||||||
@ -281,9 +281,9 @@ public class ServerManagedPolicy implements Policy {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private RBMap<String, String> decodeExtras(
|
private Map<String, String> decodeExtras(
|
||||||
com.google.android.vending.licensing.ResponseData rawData) {
|
com.google.android.vending.licensing.ResponseData rawData) {
|
||||||
RBMap<String, String> results = new HashMap<String, String>();
|
Map<String, String> results = new HashMap<String, String>();
|
||||||
if (rawData == null) {
|
if (rawData == null) {
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ public class StrictPolicy implements Policy {
|
|||||||
mLastResponse = response;
|
mLastResponse = response;
|
||||||
|
|
||||||
if (response == Policy.NOT_LICENSED) {
|
if (response == Policy.NOT_LICENSED) {
|
||||||
RBMap<String, String> extras = decodeExtras(rawData);
|
Map<String, String> extras = decodeExtras(rawData);
|
||||||
mLicensingUrl = extras.get("LU");
|
mLicensingUrl = extras.get("LU");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -81,9 +81,9 @@ public class StrictPolicy implements Policy {
|
|||||||
return mLicensingUrl;
|
return mLicensingUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
private RBMap<String, String> decodeExtras(
|
private Map<String, String> decodeExtras(
|
||||||
com.google.android.vending.licensing.ResponseData rawData) {
|
com.google.android.vending.licensing.ResponseData rawData) {
|
||||||
RBMap<String, String> results = new HashMap<String, String>();
|
Map<String, String> results = new HashMap<String, String>();
|
||||||
if (rawData == null) {
|
if (rawData == null) {
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ public class URIQueryDecoder {
|
|||||||
* @param results a map containing all query parameters. Query parameters that do not have a
|
* @param results a map containing all query parameters. Query parameters that do not have a
|
||||||
* value will map to a null string
|
* value will map to a null string
|
||||||
*/
|
*/
|
||||||
static public void DecodeQuery(URI encodedURI, RBMap<String, String> results) {
|
static public void DecodeQuery(URI encodedURI, Map<String, String> results) {
|
||||||
Scanner scanner = new Scanner(encodedURI.getRawQuery());
|
Scanner scanner = new Scanner(encodedURI.getRawQuery());
|
||||||
scanner.useDelimiter("&");
|
scanner.useDelimiter("&");
|
||||||
try {
|
try {
|
||||||
|
@ -129,7 +129,7 @@ public abstract class PandemoniumPlugin {
|
|||||||
pluginInfoProvider.onPluginRegistered();
|
pluginInfoProvider.onPluginRegistered();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static RBMap<String, SignalInfo> registerPluginWithPandemoniumNative(Object pluginObject,
|
private static Map<String, SignalInfo> registerPluginWithPandemoniumNative(Object pluginObject,
|
||||||
String pluginName, List<String> pluginMethods, RBSet<SignalInfo> pluginSignals,
|
String pluginName, List<String> pluginMethods, RBSet<SignalInfo> pluginSignals,
|
||||||
RBSet<String> pluginGDNativeLibrariesPaths) {
|
RBSet<String> pluginGDNativeLibrariesPaths) {
|
||||||
nativeRegisterSingleton(pluginName, pluginObject);
|
nativeRegisterSingleton(pluginName, pluginObject);
|
||||||
@ -168,7 +168,7 @@ public abstract class PandemoniumPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Register the signals for this plugin.
|
// Register the signals for this plugin.
|
||||||
RBMap<String, SignalInfo> registeredSignals = new HashMap<>();
|
Map<String, SignalInfo> registeredSignals = new HashMap<>();
|
||||||
for (SignalInfo signalInfo : pluginSignals) {
|
for (SignalInfo signalInfo : pluginSignals) {
|
||||||
String signalName = signalInfo.getName();
|
String signalName = signalInfo.getName();
|
||||||
nativeRegisterSignal(pluginName, signalName, signalInfo.getParamTypesNames());
|
nativeRegisterSignal(pluginName, signalName, signalInfo.getParamTypesNames());
|
||||||
|
Loading…
Reference in New Issue
Block a user