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" />
|
android:key="@string/pref_video_enable_key" />
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:defaultValue="true"
|
android:defaultValue="false"
|
||||||
android:title="@string/pref_animation_enable_title"
|
android:title="@string/pref_animation_enable_title"
|
||||||
android:key="@string/pref_animation_enable_key" />
|
android:key="@string/pref_animation_enable_key" />
|
||||||
|
|
||||||
|
|
|
@ -1098,7 +1098,7 @@ public class LinphoneActivity extends FragmentActivity implements OnClickListene
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
int backStackEntryCount = getSupportFragmentManager().getBackStackEntryCount();
|
int backStackEntryCount = getSupportFragmentManager().getBackStackEntryCount();
|
||||||
if (backStackEntryCount == 1) {
|
if (backStackEntryCount <= 1) {
|
||||||
showStatusBar();
|
showStatusBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -155,8 +155,9 @@ public class StatusFragment extends Fragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registrationStateChanged(final RegistrationState state) {
|
public void registrationStateChanged(final RegistrationState state) {
|
||||||
if (!isAttached)
|
if (!isAttached) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mHandler.post(new Runnable() {
|
mHandler.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -164,6 +165,8 @@ public class StatusFragment extends Fragment {
|
||||||
statusLed.setImageResource(getStatusIconResource(state, true));
|
statusLed.setImageResource(getStatusIconResource(state, true));
|
||||||
statusText.setText(getStatusIconText(state));
|
statusText.setText(getStatusIconText(state));
|
||||||
// setMiniLedsForEachAccount();
|
// setMiniLedsForEachAccount();
|
||||||
|
populateSliderContent();
|
||||||
|
sliderContent.invalidate();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue