1 /* 2 * Copyright 2015 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 package com.skia; 9 10 import org.libsdl.app.SDLActivity; 11 12 import android.content.Intent; 13 14 public class VisualBenchActivity extends SDLActivity { getArguments()15 protected String[] getArguments() { 16 String flags = this.getIntent().getStringExtra("cmdLineFlags"); 17 if (flags != null && !flags.isEmpty()) { 18 return flags.split("\\s+"); 19 } 20 return new String[0]; 21 } 22 } 23