Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats

This commit is contained in:
Chris Kitching
2013-11-12 10:41:01 -08:00
parent 7c12ab864c
commit 69fdb42135
43 changed files with 450 additions and 961 deletions

View File

@@ -472,7 +472,7 @@ ParseManifest(NSLocationType type, FileLocation &file, char* buf, bool aChromeOn
bool isTablet = false;
if (mozilla::AndroidBridge::Bridge()) {
mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build$VERSION", "RELEASE", osVersion);
isTablet = mozilla::AndroidBridge::Bridge()->IsTablet();
isTablet = mozilla::widget::android::GeckoAppShell::IsTablet();
}
#endif