From 35a6d6c643526124760f0266e98aa96821705b7e Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Thu, 30 Apr 2015 11:21:58 -0700 Subject: [PATCH] CMSDK: Update javadocs for onClick vs onClickUri. Change-Id: I79c9bcfb757e0c57bbfb5c44331a3a74490c5276 --- src/java/cyanogenmod/app/CustomTile.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/java/cyanogenmod/app/CustomTile.java b/src/java/cyanogenmod/app/CustomTile.java index cde1b2e..f4092ef 100644 --- a/src/java/cyanogenmod/app/CustomTile.java +++ b/src/java/cyanogenmod/app/CustomTile.java @@ -36,7 +36,9 @@ public class CustomTile implements Parcelable { * An optional intent to execute when the custom tile entry is clicked. If * this is an activity, it must include the * {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires - * that you take care of task management + * that you take care of task management. + * + * This takes priority over the onClickUri. **/ public PendingIntent onClick; @@ -49,7 +51,8 @@ public class CustomTile implements Parcelable { public Intent onSettingsClick; /** - * An optional Uri to be parsed and broadcast on tile click + * An optional Uri to be parsed and broadcast on tile click, if an onClick pending intent + * is specified, it will take priority over the uri to be broadcasted. **/ public Uri onClickUri;