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

Side by Side Diff: mobile/android/base/AppConstants.java.in

Issue 29328791: Issue 3136 - Only show about:feedback to release build users (Closed)
Patch Set: Created Oct. 1, 2015, 2:26 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 | mobile/android/base/BrowserApp.java » ('j') | mobile/android/base/BrowserApp.java » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //#filter substitution 1 //#filter substitution
2 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- 2 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public 3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 6
7 package org.mozilla.gecko; 7 package org.mozilla.gecko;
8 8
9 import android.os.Build; 9 import android.os.Build;
10 10
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 false; 320 false;
321 //#endif 321 //#endif
322 322
323 public static final String MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN = 323 public static final String MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN =
324 //#ifdef MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN 324 //#ifdef MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN
325 "@MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN@"; 325 "@MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN@";
326 //#else 326 //#else
327 null; 327 null;
328 //#endif 328 //#endif
329 329
330 public static final boolean ABB_RELEASE_BUILD =
331 //#ifdef ABB_RELEASE_BUILD
René Jeschke 2015/10/01 14:38:11 This then works using environment variables, yes?
Felix Dahlke 2015/10/01 15:30:53 Yup, exactly. The mozconfigs for the release build
332 true;
333 //#else
334 false;
335 //#endif
336
330 public static AdjustHelperInterface getAdjustHelper() { 337 public static AdjustHelperInterface getAdjustHelper() {
331 //#ifdef MOZ_INSTALL_TRACKING 338 //#ifdef MOZ_INSTALL_TRACKING
332 return new AdjustHelper(); 339 return new AdjustHelper();
333 //#else 340 //#else
334 return new StubAdjustHelper(); 341 return new StubAdjustHelper();
335 //#endif 342 //#endif
336 } 343 }
337 } 344 }
OLDNEW
« no previous file with comments | « no previous file | mobile/android/base/BrowserApp.java » ('j') | mobile/android/base/BrowserApp.java » ('J')

Powered by Google App Engine
This is Rietveld