Updating ComponentKey for compatibility with build.
Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690
This commit is contained in:
@@ -17,7 +17,7 @@ package com.android.launcher3.util;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
|
import android.content.Context;
|
||||||
import com.android.launcher3.compat.UserHandleCompat;
|
import com.android.launcher3.compat.UserHandleCompat;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
@@ -38,6 +38,11 @@ public class ComponentKey {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ComponentKey(Context context, String componentKeyStr) {
|
||||||
|
// Do nothing
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return mHashCode;
|
return mHashCode;
|
||||||
|
|||||||
Reference in New Issue
Block a user