12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#!/bin/bash 22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# 32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Copyright (c) 2013 The Chromium Authors. All rights reserved. 42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be 52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# found in the LICENSE file. 62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)if [ $# -gt 0 ] ; then 82a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) INTENT_ARGS="-d \"$1\"" # e.g. a URL 92a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)fi 102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)adb shell am start \ 122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) -a android.intent.action.VIEW \ 1390dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles) -n org.chromium.android_webview.shell/.AwShellActivity \ 142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) $INTENT_ARGS 152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 16