Merge change 8883 into donut

* changes:
  fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
This commit is contained in:
Android (Google) Code Review
2009-07-28 16:12:58 -07:00
2 changed files with 19 additions and 2 deletions

View File

@@ -141796,7 +141796,7 @@
value="2"
static="true"
final="true"
deprecated="not deprecated"
deprecated="deprecated"
visibility="public"
>
</field>
@@ -141822,6 +141822,17 @@
visibility="public"
>
</field>
<field name="SURFACE_FROZEN"
type="int"
transient="false"
volatile="false"
value="2"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="SURFACE_HIDDEN"
type="int"
transient="false"

View File

@@ -107,8 +107,14 @@ public class Surface implements Parcelable {
public static final int SURFACE_HIDDEN = 0x01;
/** Freeze the surface. Equivalent to calling freeze() */
public static final int SURFACE_FROZEN = 0x02;
/**
* @deprecated use {@link #SURFACE_FROZEN} instead.
*/
@Deprecated
public static final int SURACE_FROZEN = 0x02;
/** Enable dithering when compositing this surface */
public static final int SURFACE_DITHER = 0x04;