Hello,
I am Matthew from NVIDIA and I am currently looking into running command lines from the “/data/local/tmp/webview-command-line” file. However after testing it on Android L, webview does not reflect the switches that were placed in that file. I looked around /chromium_org/base/android/java/src/org/chromium/base/CommandLine.java and found that the function appendSwitchesInternal does not set the arguments to the mSwitches and when webview asks if the command line has a certain switch, it will not return true even if that switch is in the mArgs. I am wondering if this is intentional or a bug. I believe that line 335 should replace mArgs.add(arg); with appendSwitchWithValue(arg, null);.
Thank you for your help,
Matt
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To post to this group, send email to android-w...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/1a5f0d1c2ebb4adfa4dbf95ea5582a6d%40HQMAIL108.nvidia.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/CAAuAVnnqJQLMpaFyFF1Di_9Wpm9KsEjyroj1MpJxqkw_-9Txkw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/CAPCJOUoQCA_YyQBZ7rbckGXQtMUmJq1Sg46Xdyh1Nets7hi4iQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/CAAuAVnnqJQLMpaFyFF1Di_9Wpm9KsEjyroj1MpJxqkw_-9Txkw%40mail.gmail.com.
Hello,
Thank you for your help. I indeed formatted the file incorrectly.
Matt
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/c989bd3edc75445b9c405dea2b094c11%40HQMAIL108.nvidia.com.