Bug 1225092 - Don't show keyboard on Welcome panel. r=mcomella, a=ritu
authorChenxia Liu <liuche@mozilla.com>
Mon, 30 Nov 2015 13:57:20 -0500
changeset 305768 3664dcef3c8b63fdd54c406500a90707ec30326f
parent 305767 3c145973b6cb3234e0f786557918bb7fabc7eeb9
child 305769 9942e657ff089a0bae8c94e0b23a2116ab8a67f3
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella, ritu
bugs1225092
milestone44.0a2
Bug 1225092 - Don't show keyboard on Welcome panel. r=mcomella, a=ritu
mobile/android/base/firstrun/WelcomePanel.java
--- a/mobile/android/base/firstrun/WelcomePanel.java
+++ b/mobile/android/base/firstrun/WelcomePanel.java
@@ -22,16 +22,17 @@ public class WelcomePanel extends Firstr
 
     @Override
     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstance) {
         final ViewGroup root = (ViewGroup) inflater.inflate(R.layout.firstrun_welcome_fragment, container, false);
         root.findViewById(R.id.welcome_account).setOnClickListener(new View.OnClickListener() {
             @Override
             public void onClick(View v) {
                 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.BUTTON, "firstrun-sync");
+                showBrowserHint = false;
 
                 final Intent intent = new Intent(FxAccountConstants.ACTION_FXA_GET_STARTED);
                 intent.putExtra(FxAccountWebFlowActivity.EXTRA_ENDPOINT, FxAccountConstants.ENDPOINT_FIRSTRUN);
                 intent.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
                 startActivity(intent);
 
                 close();
             }