am ed56ea86: Merge "Deallocate offscreen buffer for non-HW-accel draw"
* commit 'ed56ea86d0114e85763e449a05b40e670addfc48': Deallocate offscreen buffer for non-HW-accel drawmain
commit
31a61ce387
|
@ -605,4 +605,8 @@ public class KeyboardView extends View {
|
|||
super.onDetachedFromWindow();
|
||||
freeOffscreenBuffer();
|
||||
}
|
||||
|
||||
public void deallocateMemory() {
|
||||
freeOffscreenBuffer();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1271,7 +1271,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deallocateMemory() {
|
||||
super.deallocateMemory();
|
||||
mGestureTrailsPreview.deallocateMemory();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue