Fixed a bug where the alarm could overlap in QS
When closing the QS panel the alarm did the normal transformation, regardless whether we were in a detail state. This lead to the alarm overlapping with the title. Bug: 17581501 Change-Id: I0318f6778063af11f388e6c7fe8bbb30105ca246
This commit is contained in:
@@ -623,7 +623,10 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
|
||||
mSettingsButton.setTranslationX(values.settingsTranslation);
|
||||
mSettingsButton.setRotation(values.settingsRotation);
|
||||
applyAlpha(mEmergencyCallsOnly, values.emergencyCallsOnlyAlpha);
|
||||
applyAlpha(mAlarmStatus, values.alarmStatusAlpha);
|
||||
if (!mShowingDetail) {
|
||||
// Otherwise it needs to stay invisible
|
||||
applyAlpha(mAlarmStatus, values.alarmStatusAlpha);
|
||||
}
|
||||
applyAlpha(mDateCollapsed, values.dateCollapsedAlpha);
|
||||
applyAlpha(mDateExpanded, values.dateExpandedAlpha);
|
||||
applyAlpha(mBatteryLevel, values.batteryLevelAlpha);
|
||||
|
||||
Reference in New Issue
Block a user