am 3895007d: am bbc6e33b: Merge "Adds back the finalize method on the replaced Paint class." into froyo

Merge commit '3895007d523a9d5c92b971908f898f19a8c9f8ff' into kraken

* commit '3895007d523a9d5c92b971908f898f19a8c9f8ff':
  Adds back the finalize method on the replaced Paint class.
This commit is contained in:
Xavier Ducrohet
2010-04-08 22:50:46 -07:00
committed by Android Git Automerger

View File

@@ -208,6 +208,12 @@ public class Paint extends _Original_Paint {
this(0); this(0);
} }
/*
* Do not remove or com.android.layoutlib.bridge.TestClassReplacement fails.
*/
@Override
public void finalize() { }
public Paint(int flags) { public Paint(int flags) {
setFlags(flags | DEFAULT_PAINT_FLAGS); setFlags(flags | DEFAULT_PAINT_FLAGS);
initFont(); initFont();