// Copyright 2015 The Chromium Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.packageorg.domokit.sky.demo;importandroid.content.Intent;importorg.domokit.sky.shell.SkyActivity;/** * Main activity for SkyDemo. */publicclassSkyDemoActivityextendsSkyActivity{@OverrideprotectedvoidonSkyReady(){Intentintent=getIntent();Stringaction=intent.getAction();if(Intent.ACTION_VIEW.equals(action)){StringbundleName=intent.getStringExtra("bundleName");if(bundleName!=null&&loadBundleByName(bundleName)){return;}loadUrl(intent.getDataString());return;}super.onSkyReady();}}