diff options
author | Allen Shen <ashen@nvidia.com> | 2014-04-29 16:16:29 +0800 |
---|---|---|
committer | Allen Shen <ashen@nvidia.com> | 2014-04-30 17:09:19 +0800 |
commit | 1c0f21ea8475f9996dbd7400725969ec5ffdc005 (patch) | |
tree | f802e1cd4d30eb640606aae82b5b01c863d6fea5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 10d57c4bc7459d0c73b254af006a3528e9a0c33e (diff) |
WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent
Originally the api 'getCropAndSetWallpaperIntent' does not check
whether the parsed parameter is a NULL pointer, as leads to the
whole app crash if it call this api with a null parameter accidentally.
A null pointer check logic is added into its original parameter check
logic, so that this API will throw an IllegalArgumentException if it
is parsed with a null pointer
Change-Id: Ib7de40e571419d09e1a744edc969eb7162766b75
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions