Created
September 17, 2017 20:47
-
-
Save aman-tiwari/66df4950531f04138b37cb6eca4efa6c to your computer and use it in GitHub Desktop.
Diff of change needed to allow WebARonARCore run on all devices. Use with `patch -p1 < supported_device.patch`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index df7f8cb..46cdd7b 100644 | |
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java | |
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java | |
@@ -429,7 +429,7 @@ public class AwShellActivity extends Activity implements OnRequestPermissionsRes | |
super.onCreate(savedInstanceState); | |
// If the device is not supported, show an alert and quit. | |
- if (!SupportedDevices.isSupported(this)) | |
+ if (false) | |
{ | |
createAlertDialog(AwShellActivity.this, "ERROR", "This device is not currently supported by WebARonARCore.", new DialogInterface.OnClickListener() | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use with
patch -p1 < supported_device.patch
in thesrc
folder after cloning WebARonARCore. Here's one I compiled earlier: https://drive.google.com/file/d/0B-7CCAaMeqWDN2xpR2E2ZldOaEk/view?usp=sharing