Fixing squid:S00117- Local variable and method parameter names should comply with a naming convention.
This commit is contained in:
parent
35e11e43de
commit
cade4f932d
5 changed files with 25 additions and 25 deletions
|
|
@ -247,9 +247,9 @@ public class VideoItemDetailFragment extends Fragment {
|
|||
public void run() {
|
||||
Activity a = getActivity();
|
||||
if(a != null) {
|
||||
boolean show_age_restricted_content = PreferenceManager.getDefaultSharedPreferences(a)
|
||||
boolean showAgeRestrictedContent = PreferenceManager.getDefaultSharedPreferences(a)
|
||||
.getBoolean(activity.getString(R.string.show_age_restricted_content), false);
|
||||
if (streamInfo.age_limit == 0 || show_age_restricted_content) {
|
||||
if (streamInfo.age_limit == 0 || showAgeRestrictedContent) {
|
||||
updateInfo(streamInfo);
|
||||
} else {
|
||||
onNotSpecifiedContentErrorWithMessage(R.string.video_is_age_restricted);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue