This commit is contained in:
Sergey Solovyev 2012-01-04 02:29:16 +04:00
parent 85552cfc4e
commit a96e18bc9d
2 changed files with 8 additions and 3 deletions

View File

@ -87,7 +87,7 @@ public class CalculatorApplication extends android.app.Application {
@Override @Override
public String getPublicKey() { public String getPublicKey() {
return CalculatorSecurity.PK; return CalculatorSecurity.getPK();
} }
}); });
BillingController.checkBillingSupported(this); BillingController.checkBillingSupported(this);

View File

@ -6,6 +6,8 @@
package org.solovyev.android.calculator; package org.solovyev.android.calculator;
import org.jetbrains.annotations.NotNull;
/** /**
* User: serso * User: serso
* Date: 1/4/12 * Date: 1/4/12
@ -13,8 +15,11 @@ package org.solovyev.android.calculator;
*/ */
public final class CalculatorSecurity { public final class CalculatorSecurity {
public static final String PK = "org.solovyev.android.calculator";
private CalculatorSecurity() { private CalculatorSecurity() {
} }
@NotNull
public static String getPK() {
return "org.solovyev.android.calculator";
}
} }