Loading core/java/android/webkit/GearsPermissionsManager.java +7 −1 Original line number Diff line number Diff line Loading @@ -139,7 +139,13 @@ class GearsPermissionsManager { file = new File(file.getAbsolutePath() + File.separator + GEARS_DATABASE_DIR + File.separator + GEARS_DATABASE_FILE); // Remember whether or not we need to create the LocationAccess table. boolean needToCreateTables = !file.exists(); boolean needToCreateTables = false; if (!file.exists()) { needToCreateTables = true; // Create the path or else SQLiteDatabase.openOrCreateDatabase() // may throw on the device. file.getParentFile().mkdirs(); } // If the database file does not yet exist and the system location // setting says that the Gears origins need to be removed from the // location permission table, it means that we don't actually need Loading core/java/android/webkit/WebSettings.java +1 −0 Original line number Diff line number Diff line Loading @@ -199,6 +199,7 @@ public class WebSettings { switch (msg.what) { case SYNC: synchronized (WebSettings.this) { checkGearsPermissions(); if (mBrowserFrame.mNativeFrame != 0) { nativeSync(mBrowserFrame.mNativeFrame); } Loading Loading
core/java/android/webkit/GearsPermissionsManager.java +7 −1 Original line number Diff line number Diff line Loading @@ -139,7 +139,13 @@ class GearsPermissionsManager { file = new File(file.getAbsolutePath() + File.separator + GEARS_DATABASE_DIR + File.separator + GEARS_DATABASE_FILE); // Remember whether or not we need to create the LocationAccess table. boolean needToCreateTables = !file.exists(); boolean needToCreateTables = false; if (!file.exists()) { needToCreateTables = true; // Create the path or else SQLiteDatabase.openOrCreateDatabase() // may throw on the device. file.getParentFile().mkdirs(); } // If the database file does not yet exist and the system location // setting says that the Gears origins need to be removed from the // location permission table, it means that we don't actually need Loading
core/java/android/webkit/WebSettings.java +1 −0 Original line number Diff line number Diff line Loading @@ -199,6 +199,7 @@ public class WebSettings { switch (msg.what) { case SYNC: synchronized (WebSettings.this) { checkGearsPermissions(); if (mBrowserFrame.mNativeFrame != 0) { nativeSync(mBrowserFrame.mNativeFrame); } Loading