diff options
author | Dan Pasanen <invisiblek@cyanogenmod.org> | 2016-05-18 20:27:47 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-06-03 14:03:32 -0700 |
commit | e49ebe6e54e965e4dcb7f0eee180a4fee97417a8 (patch) | |
tree | ec0a75741d97d7fe86c88af3fe0be76ef5f9ee14 /packages | |
parent | ce01d2915e6b0b4a93c9c4ebc019ada93f526f12 (diff) | |
download | frameworks_base-e49ebe6e54e965e4dcb7f0eee180a4fee97417a8.zip frameworks_base-e49ebe6e54e965e4dcb7f0eee180a4fee97417a8.tar.gz frameworks_base-e49ebe6e54e965e4dcb7f0eee180a4fee97417a8.tar.bz2 |
Visualizer: Let visualizer fill the entire available screen
* This will allow it to be more dynamic (landscape lock screen for instance)
Change-Id: I2ffd6b0ca8832812faaa4cc0ec4cdd6071fbec8c
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java b/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java index 02ab3ca..538140c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/VisualizerView.java @@ -196,14 +196,6 @@ public class VisualizerView extends View implements Palette.PaletteAsyncListener } @Override - protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { - super.onMeasure(widthMeasureSpec, heightMeasureSpec); - - final int size = Math.min(getMeasuredWidth(), getMeasuredHeight()); - setMeasuredDimension(size, size); - } - - @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); |