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.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;
|
||||
|
||||
Reference in New Issue
Block a user