Fix some interface small problems
This commit is contained in:
parent
faae53581a
commit
d4d0e89c65
3 changed files with 6 additions and 3 deletions
|
@ -46,7 +46,7 @@
|
|||
android:key="@string/pref_video_enable_key" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:title="@string/pref_animation_enable_title"
|
||||
android:key="@string/pref_animation_enable_key" />
|
||||
|
||||
|
|
|
@ -1098,7 +1098,7 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
|||
}
|
||||
} else {
|
||||
int backStackEntryCount = getSupportFragmentManager().getBackStackEntryCount();
|
||||
if (backStackEntryCount == 1) {
|
||||
if (backStackEntryCount <= 1) {
|
||||
showStatusBar();
|
||||
}
|
||||
|
||||
|
|
|
@ -155,8 +155,9 @@ public class StatusFragment extends Fragment {
|
|||
}
|
||||
|
||||
public void registrationStateChanged(final RegistrationState state) {
|
||||
if (!isAttached)
|
||||
if (!isAttached) {
|
||||
return;
|
||||
}
|
||||
|
||||
mHandler.post(new Runnable() {
|
||||
@Override
|
||||
|
@ -164,6 +165,8 @@ public class StatusFragment extends Fragment {
|
|||
statusLed.setImageResource(getStatusIconResource(state, true));
|
||||
statusText.setText(getStatusIconText(state));
|
||||
// setMiniLedsForEachAccount();
|
||||
populateSliderContent();
|
||||
sliderContent.invalidate();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue