Add private constructor to utility classes

This commit is contained in:
Jimmy Shih
2013-05-08 12:56:52 -07:00
parent 52f8bd8565
commit 9ccae3e3a9
2 changed files with 6 additions and 2 deletions
@@ -42,6 +42,8 @@ public class GoogleFeedbackUtils {
private static Boolean available = null; private static Boolean available = null;
private GoogleFeedbackUtils() {}
/** /**
* Returns true if the Google Feedback is available. * Returns true if the Google Feedback is available.
* *
@@ -23,7 +23,7 @@ import android.content.pm.ResolveInfo;
/** /**
* Utilities for Google location settings * Utilities for Google location settings
* *
* @author Jimmy Shih * @author Jimmy Shih
*/ */
public class GoogleLocationUtils { public class GoogleLocationUtils {
@@ -32,7 +32,9 @@ public class GoogleLocationUtils {
ACTION_GOOGLE_LOCATION_SETTINGS = "com.google.android.gsf.GOOGLE_LOCATION_SETTINGS"; ACTION_GOOGLE_LOCATION_SETTINGS = "com.google.android.gsf.GOOGLE_LOCATION_SETTINGS";
private static final String private static final String
ACTION_GOOGLE_APPS_LOCATION_SETTINGS = "com.google.android.gsf.GOOGLE_APPS_LOCATION_SETTINGS"; ACTION_GOOGLE_APPS_LOCATION_SETTINGS = "com.google.android.gsf.GOOGLE_APPS_LOCATION_SETTINGS";
private GoogleLocationUtils() {}
/** /**
* Returns true if the Google location settings is available. * Returns true if the Google location settings is available.
*/ */