Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: mobile/android/base/BrowserApp.java

Issue 4902338544271360: Issue 2521 - Don't show about:feedback automatically (Closed)
Patch Set: Created May 15, 2015, 3:53 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*- 1 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public 2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 package org.mozilla.gecko; 6 package org.mozilla.gecko;
7 7
8 import java.io.File; 8 import java.io.File;
9 import java.io.FileNotFoundException; 9 import java.io.FileNotFoundException;
10 import java.lang.Override; 10 import java.lang.Override;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 @Override 215 @Override
216 public float getInterpolation(float t) { 216 public float getInterpolation(float t) {
217 t -= 1.0f; 217 t -= 1.0f;
218 return t * t * t * t * t + 1.0f; 218 return t * t * t * t * t + 1.0f;
219 } 219 }
220 }; 220 };
221 221
222 private FindInPageBar mFindInPageBar; 222 private FindInPageBar mFindInPageBar;
223 private MediaCastingBar mMediaCastingBar; 223 private MediaCastingBar mMediaCastingBar;
224 224
225 // We'll ask for feedback after the user launches the app this many times. 225 // Don't show about:feedback automatically in Adblock Browser, see
226 private static final int FEEDBACK_LAUNCH_COUNT = 15; 226 // https://issues.adblockplus.org/ticket/2521
227 private static final int FEEDBACK_LAUNCH_COUNT = 0;
227 228
228 // Stored value of the toolbar height, so we know when it's changed. 229 // Stored value of the toolbar height, so we know when it's changed.
229 private int mToolbarHeight; 230 private int mToolbarHeight;
230 231
231 // Stored value of whether the last metrics change allowed for toolbar 232 // Stored value of whether the last metrics change allowed for toolbar
232 // scrolling. 233 // scrolling.
233 private boolean mDynamicToolbarCanScroll; 234 private boolean mDynamicToolbarCanScroll;
234 235
235 private SharedPreferencesHelper mSharedPreferencesHelper; 236 private SharedPreferencesHelper mSharedPreferencesHelper;
236 237
(...skipping 3096 matching lines...) Expand 10 before | Expand all | Expand 10 after
3333 dispatcher, 3334 dispatcher,
3334 osLocale, 3335 osLocale,
3335 appLocale, 3336 appLocale,
3336 previousSession); 3337 previousSession);
3337 } 3338 }
3338 3339
3339 public static interface Refreshable { 3340 public static interface Refreshable {
3340 public void refresh(); 3341 public void refresh();
3341 } 3342 }
3342 } 3343 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld