mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Fixing focus issues in Launcher (keyboard support).
Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.launcher2;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Bitmap;
|
||||
@@ -389,4 +391,8 @@ final class Utilities {
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
static int generateRandomId() {
|
||||
return new Random(System.currentTimeMillis()).nextInt(1 << 24);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user