Removed useless setting
This commit is contained in:
parent
d6a6d58f89
commit
29edd90393
3 changed files with 2 additions and 9 deletions
|
@ -170,14 +170,6 @@ public class StatusFragment extends Fragment {
|
||||||
mIsInCall = false;
|
mIsInCall = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (activity.getResources()
|
|
||||||
.getBoolean(R.bool.set_notification_bar_background_color_to_primary)) {
|
|
||||||
Window window = activity.getWindow();
|
|
||||||
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
|
||||||
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
|
|
||||||
window.setStatusBarColor(ContextCompat.getColor(activity, R.color.primary_dark_color));
|
|
||||||
}
|
|
||||||
|
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
<bool name="force_use_of_linphone_friends">false</bool>
|
<bool name="force_use_of_linphone_friends">false</bool>
|
||||||
<bool name="use_linphone_tag">true</bool>
|
<bool name="use_linphone_tag">true</bool>
|
||||||
<bool name="hide_bottom_bar_on_second_level_views">true</bool>
|
<bool name="hide_bottom_bar_on_second_level_views">true</bool>
|
||||||
<bool name="set_notification_bar_background_color_to_primary">true</bool>
|
|
||||||
<bool name="use_full_screen_image_splashscreen">false</bool>
|
<bool name="use_full_screen_image_splashscreen">false</bool>
|
||||||
|
|
||||||
<!-- Time -->
|
<!-- Time -->
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<!-- Android theme override -->
|
<!-- Android theme override -->
|
||||||
<item name="colorAccent">@color/primary_color</item>
|
<item name="colorAccent">@color/primary_color</item>
|
||||||
<item name="android:colorPrimary">@color/primary_color</item>
|
<item name="android:colorPrimary">@color/primary_color</item>
|
||||||
|
<!-- Comment out the following line to disable system's status bar coloring -->
|
||||||
<item name="android:colorPrimaryDark">@color/primary_dark_color</item>
|
<item name="android:colorPrimaryDark">@color/primary_dark_color</item>
|
||||||
<item name="android:textColorPrimary">@color/light_primary_text_color</item>
|
<item name="android:textColorPrimary">@color/light_primary_text_color</item>
|
||||||
<item name="android:textColorSecondary">@color/grey_color</item>
|
<item name="android:textColorSecondary">@color/grey_color</item>
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
<!-- Android theme override -->
|
<!-- Android theme override -->
|
||||||
<item name="colorAccent">@color/primary_color</item>
|
<item name="colorAccent">@color/primary_color</item>
|
||||||
<item name="android:colorPrimary">@color/primary_color</item>
|
<item name="android:colorPrimary">@color/primary_color</item>
|
||||||
|
<!-- Comment out the following line to disable system's status bar coloring -->
|
||||||
<item name="android:colorPrimaryDark">@color/primary_dark_color</item>
|
<item name="android:colorPrimaryDark">@color/primary_dark_color</item>
|
||||||
<item name="android:textColorPrimary">@color/dark_primary_text_color</item>
|
<item name="android:textColorPrimary">@color/dark_primary_text_color</item>
|
||||||
<item name="android:textColorSecondary">@color/header_background_color</item>
|
<item name="android:textColorSecondary">@color/header_background_color</item>
|
||||||
|
|
Loading…
Reference in a new issue