summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/wear/WearPackageInstallerService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/packageinstaller/wear/WearPackageInstallerService.java')
-rw-r--r--src/com/android/packageinstaller/wear/WearPackageInstallerService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/wear/WearPackageInstallerService.java b/src/com/android/packageinstaller/wear/WearPackageInstallerService.java
index e9ea21e1..5ce0b9a1 100644
--- a/src/com/android/packageinstaller/wear/WearPackageInstallerService.java
+++ b/src/com/android/packageinstaller/wear/WearPackageInstallerService.java
@@ -45,6 +45,7 @@ import android.os.Process;
import android.text.TextUtils;
import android.util.Log;
+import com.android.packageinstaller.DeviceUtils;
import com.android.packageinstaller.PackageUtil;
import java.io.ByteArrayOutputStream;
@@ -172,7 +173,7 @@ public class WearPackageInstallerService extends Service {
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
- if (!WearPackageUtil.isWear(this)) {
+ if (!DeviceUtils.isWear(this)) {
Log.w(TAG, "Not running on wearable");
return START_NOT_STICKY;
}