From 259c1090464b966b8019abfae848a96895ecdbcd Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Wed, 25 Jan 2012 17:44:00 -0800 Subject: [PATCH] Remove @deprecate in View's fadingEdge The comment of this field is also aggregated in the android.R.styleable#View description. As a result, the @deprecated in the comment of this field also applies to android.R.styleable#View which incorrectly appears deprecated. This fixes the problem, although fadingEdge will no longer be marked as deprecated in IDEs. I believe it is less important that to make View deprecated. Change-Id: I96d8e868001c4c853eb1536f8401275b9b1e689b --- api/current.txt | 2 +- core/res/res/values/attrs.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index 2eb54fb19cf4b..4a8cd3c3c3914 100644 --- a/api/current.txt +++ b/api/current.txt @@ -436,7 +436,7 @@ package android { field public static final int fadeEnabled = 16843390; // 0x101027e field public static final int fadeOffset = 16843383; // 0x1010277 field public static final int fadeScrollbars = 16843434; // 0x10102aa - field public static final deprecated int fadingEdge = 16842975; // 0x10100df + field public static final int fadingEdge = 16842975; // 0x10100df field public static final int fadingEdgeLength = 16842976; // 0x10100e0 field public static final int fastScrollAlwaysVisible = 16843573; // 0x1010335 field public static final int fastScrollEnabled = 16843302; // 0x1010226 diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 545a55529a8af..b514bf5311ccf 100755 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -1830,12 +1830,12 @@ - + use the android:requiresFadingEdge attribute instead. -->