Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Hide Autofill/Wallet preferences on Android.
Browse files Browse the repository at this point in the history
Simply hide the Autofill/Wallet preferences. The correct fix will involve checking the state of the sync experiment, but for M42 it's enough to just disable this preference page.

Will require merge to m42.

BUG=460900
[email protected]

Review URL: https://codereview.chromium.org/947253002

Cr-Commit-Position: refs/heads/master@{#317699}
  • Loading branch information
Evan Stade committed Feb 24, 2015
1 parent 824fb9f commit 652772c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,7 @@ static jboolean IsAutofillManaged(JNIEnv* env, jclass clazz) {

// Returns whether the Wallet import feature is available.
static jboolean IsWalletImportFeatureAvailable(JNIEnv* env, jclass clazz) {
// TODO(estade): what to do in the IsManaged case?
ProfileSyncService* service =
ProfileSyncServiceFactory::GetInstance()->GetForProfile(GetProfile());
return service->IsSyncEnabledAndLoggedIn();
return false;
}

// Returns whether the Wallet import feature is enabled.
Expand Down

0 comments on commit 652772c

Please sign in to comment.