fix ineditmode
This commit is contained in:
parent
6acd40f100
commit
d2ec24f6b1
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ public class PitchView extends ViewGroup {
|
|||
|
||||
if (isInEditMode()) {
|
||||
for (int i = 0; i < 3000; i++) {
|
||||
data.add((Math.random() * RawSamples.MAXIMUM_DB));
|
||||
data.add(-Math.random() * RawSamples.MAXIMUM_DB);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue