mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Version code cleanup
> Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
This commit is contained in:
@@ -40,7 +40,7 @@ public abstract class AppWidgetManagerCompat {
|
||||
public static AppWidgetManagerCompat getInstance(Context context) {
|
||||
synchronized (sInstanceLock) {
|
||||
if (sInstance == null) {
|
||||
if (Utilities.isLmpOrAbove()) {
|
||||
if (Utilities.ATLEAST_LOLLIPOP) {
|
||||
sInstance = new AppWidgetManagerCompatVL(context.getApplicationContext());
|
||||
} else {
|
||||
sInstance = new AppWidgetManagerCompatV16(context.getApplicationContext());
|
||||
|
||||
Reference in New Issue
Block a user