This commit is contained in:
M66B 2019-01-26 14:33:31 +00:00
parent 5ef43f1ac6
commit 2b2e8bf1e4
2 changed files with 3 additions and 3 deletions

View File

@ -1233,8 +1233,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}, new Html.TagHandler() {
@Override
public void handleTag(boolean opening, String tag, Editable output, XMLReader xmlReader) {
if (BuildConfig.DEBUG)
Log.i("HTML tag=" + tag + " opening=" + opening);
//if (BuildConfig.DEBUG)
// Log.i("HTML tag=" + tag + " opening=" + opening);
}
});
}

View File

@ -340,7 +340,7 @@ public class FragmentSetup extends FragmentBase {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
ConnectivityManager cm = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
boolean saving = (cm.getRestrictBackgroundStatus() == ConnectivityManager.RESTRICT_BACKGROUND_STATUS_ENABLED);
btnData.setVisibility(saving ? View.VISIBLE : View.GONE);
btnData.setVisibility(saving || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
}
}