Merge "Update SignalDrawable to show X for empty state" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-05-13 19:05:34 +00:00
committed by Android (Google) Code Review

View File

@@ -286,8 +286,7 @@ public class SignalDrawable extends DrawableWrapper {
/** Returns the state representing empty mobile signal with the given number of levels. */
public static int getEmptyState(int numLevels) {
// TODO empty state == 0 state. does there need to be a new drawable for this?
return getState(0, numLevels, false);
return getState(0, numLevels, true);
}
/** Returns the state representing carrier change with the given number of levels. */