Update setup wizard video and image of AOSP

Bug: 17769384
Change-Id: I23748bce17566aad1693ff56e8c04f493f957f84
This commit is contained in:
Tadashi G. Takaoka 2014-10-03 10:07:31 +09:00
parent add93b1190
commit 48b707e1bd
4 changed files with 5 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

View file

@ -17,12 +17,8 @@
package com.android.inputmethod.latin.setup;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.provider.Settings;
import android.view.inputmethod.InputMethodInfo;
import android.view.inputmethod.InputMethodManager;
public final class SetupActivity extends Activity {
@Override

View file

@ -46,6 +46,8 @@ import java.util.ArrayList;
public final class SetupWizardActivity extends Activity implements View.OnClickListener {
static final String TAG = SetupWizardActivity.class.getSimpleName();
// For debugging purpose.
private static final boolean FORCE_TO_SHOW_WELCOME_SCREEN = false;
private static final boolean ENABLE_WELCOME_VIDEO = true;
private InputMethodManager mImm;
@ -304,6 +306,9 @@ public final class SetupWizardActivity extends Activity implements View.OnClickL
private int determineSetupStepNumber() {
mHandler.cancelPollingImeSettings();
if (FORCE_TO_SHOW_WELCOME_SCREEN) {
return STEP_1;
}
if (!UncachedInputMethodManagerUtils.isThisImeEnabled(this, mImm)) {
return STEP_1;
}