Skip to content

Commit

Permalink
Merge pull request #6206 from brave/pr6205_android_sync_settings_cras…
Browse files Browse the repository at this point in the history
…h_1.12.x

[Android] Fix for crash on Sync settings when rewards are not available (uplift to 1.12.x)
  • Loading branch information
kjozwiak authored Jul 27, 2020
2 parents 4b566f0 + 78a90e6 commit e1e32da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public void onResume() {
super.onResume();
if (!ChromeFeatureList.isEnabled(BraveFeatureList.BRAVE_REWARDS)
|| BravePrefServiceBridge.getInstance().getSafetynetCheckFailed()) {
if (getPreferenceScreen() == null) return;
Preference braveRewardsDebugPreference =
getPreferenceScreen().findPreference(BraveRewardsDebugPreferences.KEY);
if (braveRewardsDebugPreference != null) {
Expand Down

0 comments on commit e1e32da

Please sign in to comment.