Skip to content

Commit

Permalink
remove isTablet() check
Browse files Browse the repository at this point in the history
  • Loading branch information
maxme committed Sep 5, 2014
1 parent 121f95d commit c7db4da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public static int pxToDp(Context context, int px) {
return (int) ((px/displayMetrics.density)+0.5);
}

/**
* Deprecated method, returns true on some phones.
*/
@Deprecated
public static boolean isTablet(Context context) {
// http://stackoverflow.com/a/8427523/1673548
if (context == null)
Expand Down

0 comments on commit c7db4da

Please sign in to comment.