зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1494026 - Part 0a: Ignore private resource warning. r=VladBaicu
We're not going to change this for now and otherwise Android Studio shows an error for that file. Differential Revision: https://phabricator.services.mozilla.com/D29971 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
94491c87f9
Коммит
f4c63a5267
|
@ -6,6 +6,7 @@
|
|||
package org.mozilla.gecko.preferences;
|
||||
|
||||
import android.Manifest;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
|
@ -237,6 +238,7 @@ public class GeckoPreferences
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressLint("PrivateResource")
|
||||
private void updateHomeAsUpIndicator() {
|
||||
final ActionBar actionBar = getSupportActionBar();
|
||||
if (actionBar == null) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче