Merge "Adds back the finalize method on the replaced Paint class." into froyo
This commit is contained in:
committed by
Android (Google) Code Review
commit
bbc6e33b1f
@@ -208,6 +208,12 @@ public class Paint extends _Original_Paint {
|
||||
this(0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Do not remove or com.android.layoutlib.bridge.TestClassReplacement fails.
|
||||
*/
|
||||
@Override
|
||||
public void finalize() { }
|
||||
|
||||
public Paint(int flags) {
|
||||
setFlags(flags | DEFAULT_PAINT_FLAGS);
|
||||
initFont();
|
||||
|
||||
Reference in New Issue
Block a user