Skip to content

Commit

Permalink
Fix Java warning
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k committed Mar 6, 2021
1 parent 9a0361f commit 48a20b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public void run() {
private List<Map<String, Object>> getInstalledApps(boolean includeSystemApps, boolean includeAppIcons, boolean onlyAppsWithLaunchIntent) {
if (context == null) {
Log.e(LOG_TAG, "Context is null");
return new ArrayList(0);
return new ArrayList<>(0);
}

PackageManager packageManager = context.getPackageManager();
Expand Down

0 comments on commit 48a20b2

Please sign in to comment.