Bug 910859 - Part 4: Add Proguard annotations. r=ckitching

This commit is contained in:
Michael Comella
2013-12-04 18:32:53 -08:00
parent cb38d8131a
commit 33d90ba80f
4 changed files with 8 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ import org.mozilla.gecko.mozglue.generatorannotations.OptionalGeneratedParameter
import org.mozilla.gecko.mozglue.generatorannotations.WrapElementForJNI;
import org.mozilla.gecko.prompts.PromptService;
import org.mozilla.gecko.mozglue.GeckoLoader;
import org.mozilla.gecko.mozglue.RobocopTarget;
import org.mozilla.gecko.util.EventDispatcher;
import org.mozilla.gecko.util.GeckoEventListener;
import org.mozilla.gecko.util.HardwareUtils;
@@ -2420,6 +2421,7 @@ public class GeckoAppShell
/* Called by JNI from AndroidBridge, and by reflection from tests/BaseTest.java.in */
@WrapElementForJNI
@RobocopTarget
public static boolean isTablet() {
return HardwareUtils.isTablet();
}