summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorDaniel Trebbien <dtrebbien@gmail.com>2010-10-31 07:42:35 -0700
committerDaniel Trebbien <dtrebbien@gmail.com>2010-10-31 07:42:35 -0700
commit0a675fd8fe145ce636f363c8d29e2416d7d52003 (patch)
tree9bdd98d7a0ff02f00a6e836e53877f6dc4d01e85 /libs/rs/rsg_ScriptJavaClass.cpp
parentb4ae2f1ba419212224d53db81c46ad242bebd17b (diff)
Fixes Issue 7907 in the public bugs database (http://code.google.com/p/android/issues/detail?id=7907).
The Javadoc comment for class `android.content.UriMatcher` had four issues: 1. The example calls to `addURI` should not be using a leading forward slash in the path parameter (reported by Ester Ytterbrink). 2. The sample code to construct a `UriMatcher` was incorrect because the `UriMatcher` constructor takes a parameter (reported by Ross Light). 3. The code example for using `match` was incorrect because it showed two parameters being passed, when `match` only takes one (reported by Ross Light). 4. The sample `getType` implementations were incorrect because `getType` takes a `Uri` object, not an array of `String`s. Change-Id: I560bff6f021c13cabf736f40ff0f47a205074291
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions