Merge "Adds back the finalize method on the replaced Paint class." into froyo

This commit is contained in:
Xavier Ducrohet
2010-04-08 17:29:39 -07:00
committed by Android (Google) Code Review

View File

@@ -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();