Merge "Avoid fade animation when users switch index in hour chart." into tm-qpr-dev am: 581fd171b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19997086 Change-Id: If131776cab08c56c05b3e418c06730f63a21be59 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -695,7 +695,6 @@ public class BatteryChartPreferenceController extends AbstractPreferenceControll
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (visible) {
|
if (visible) {
|
||||||
mHourlyChartView.setAlpha(0f);
|
|
||||||
mHourlyChartView.setVisibility(View.VISIBLE);
|
mHourlyChartView.setVisibility(View.VISIBLE);
|
||||||
mHourlyChartView.animate()
|
mHourlyChartView.animate()
|
||||||
.alpha(1f)
|
.alpha(1f)
|
||||||
|
Reference in New Issue
Block a user