• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.wallpaperpicker.common;
2 
3 import android.app.WallpaperManager;
4 
5 public class Utilities {
6 
isAtLeastN()7     public static boolean isAtLeastN() {
8         // TODO: replace this with a more final implementation.
9         try {
10             WallpaperManager.class.getMethod("getWallpaperFile", int.class);
11             return true;
12         } catch (NoSuchMethodException e) {
13             return false;
14         }
15     }
16 }
17