OSDN Git Service

Updating ComponentKey for compatibility with build.
authorWinson Chung <winsonc@google.com>
Thu, 18 Jun 2015 21:01:55 +0000 (14:01 -0700)
committerWinson Chung <winsonc@google.com>
Thu, 18 Jun 2015 21:05:55 +0000 (21:05 +0000)
Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690

src/com/android/launcher3/util/ComponentKey.java

index 0f17f00..7a7ed4a 100644 (file)
@@ -17,7 +17,7 @@ package com.android.launcher3.util;
  */
 
 import android.content.ComponentName;
-
+import android.content.Context;
 import com.android.launcher3.compat.UserHandleCompat;
 
 import java.util.Arrays;
@@ -38,6 +38,11 @@ public class ComponentKey {
 
     }
 
+    public ComponentKey(Context context, String componentKeyStr) {
+        // Do nothing
+        throw new UnsupportedOperationException();
+    }
+
     @Override
     public int hashCode() {
         return mHashCode;