Bug 1074340 - Keep proguard from changing the access level of createGuestProfile. r=bustage CLOSED TREE
authorwesj <wjohnston@mozilla.com>
Wed, 08 Oct 2014 13:30:38 -0700
changeset 209410 d6dbd2f1b73412e0da32e6f44ca3d993e7ef82fa
parent 209409 18f5b1df4794ff73aebfba2da8b5346365531f99
child 209411 a689386944da22b83a337c63052ef0f93fb43f30
child 209654 b0a3f046e71660027e604f684f9cbe8cf1b4816e
push id27616
push userkwierso@gmail.com
push dateWed, 08 Oct 2014 23:46:58 +0000
treeherdermozilla-central@a689386944da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1074340
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1074340 - Keep proguard from changing the access level of createGuestProfile. r=bustage CLOSED TREE
mobile/android/base/GeckoProfile.java
--- a/mobile/android/base/GeckoProfile.java
+++ b/mobile/android/base/GeckoProfile.java
@@ -198,16 +198,17 @@ public final class GeckoProfile {
             GeckoSharedPrefs.forProfileName(context, profileName)
                             .edit().clear().apply();
         }
 
         return success;
     }
 
     // Only public for access from tests.
+    @RobocopTarget
     public static GeckoProfile createGuestProfile(Context context) {
         try {
             // We need to force the creation of a new guest profile if we want it outside of the normal profile path,
             // otherwise GeckoProfile.getDir will try to be smart and build it for us in the normal profiles dir.
             getGuestDir(context).mkdir();
             GeckoProfile profile = getGuestProfile(context);
 
             // If we're creating this guest session over the keyguard, don't lock it.