@@ -165,7 +165,7 @@ public PlayStoreDynamicFeatureManager(@NonNull Context context, @Nullable Flutte
165
165
splitInstallManager = SplitInstallManagerFactory .create (context );
166
166
listener = new FeatureInstallStateUpdatedListener ();
167
167
splitInstallManager .registerListener (listener );
168
- sessionIdToName = new SparseArray <String >();
168
+ sessionIdToName = new SparseArray <>();
169
169
sessionIdToLoadingUnitId = new SparseIntArray ();
170
170
}
171
171
@@ -294,10 +294,10 @@ public void loadDartLibrary(int loadingUnitId, String moduleName) {
294
294
// performant and robust.
295
295
296
296
// Search directly in APKs first
297
- List <String > apkPaths = new ArrayList <String >();
297
+ List <String > apkPaths = new ArrayList <>();
298
298
// If not found in APKs, we check in extracted native libs for the lib directly.
299
- List <String > soPaths = new ArrayList <String >();
300
- Queue <File > searchFiles = new LinkedList <File >();
299
+ List <String > soPaths = new ArrayList <>();
300
+ Queue <File > searchFiles = new LinkedList <>();
301
301
searchFiles .add (context .getFilesDir ());
302
302
while (!searchFiles .isEmpty ()) {
303
303
File file = searchFiles .remove ();
@@ -317,7 +317,7 @@ public void loadDartLibrary(int loadingUnitId, String moduleName) {
317
317
}
318
318
}
319
319
320
- List <String > searchPaths = new ArrayList ();
320
+ List <String > searchPaths = new ArrayList <> ();
321
321
for (String path : apkPaths ) {
322
322
searchPaths .add (path + "!lib/" + abi + "/" + aotSharedLibraryName );
323
323
}
0 commit comments