aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/util/OnboardingUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/tv/util/OnboardingUtils.java')
-rw-r--r--src/com/android/tv/util/OnboardingUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/tv/util/OnboardingUtils.java b/src/com/android/tv/util/OnboardingUtils.java
index 582a0c9f..3dcc324d 100644
--- a/src/com/android/tv/util/OnboardingUtils.java
+++ b/src/com/android/tv/util/OnboardingUtils.java
@@ -37,7 +37,7 @@ public final class OnboardingUtils {
private static final int ONBOARDING_VERSION = 1;
private static final String MERCHANT_COLLECTION_URL_STRING =
- "https://play.google.com/store/apps/collection/promotion_3001bf9_ATV_livechannels";
+ "TODO: put a market link to show TV input apps";
/**
* Intent to show merchant collection in play store.
*/
@@ -101,7 +101,7 @@ public final class OnboardingUtils {
ContentResolver resolver = context.getContentResolver();
try (Cursor c = resolver.query(Channels.CONTENT_URI, new String[] {Channels._ID}, null,
null, null)) {
- return c.getCount() != 0;
+ return c != null && c.getCount() != 0;
}
}