@@ -224,7 +224,7 @@ public void onResume() {
224224 File apkFile = new File (aFile .getAbsolutePath ());
225225 PackageInfo info = getActivity ().getPackageManager ().getPackageArchiveInfo (apkFile .getAbsolutePath (), 0 );
226226 if (info != null && info .packageName != null && info .packageName .startsWith ("org.buildmlearn." )) {
227- if (apkFile .getName ().startsWith (specificApis ))
227+ if (apkFile .getName ().contains (specificApis ))
228228 savedApis .add (new SavedApi (apkFile , apkFile .getName (), apkFile .lastModified ()));
229229 allsavedApis .add (new SavedApi (apkFile , apkFile .getName (), apkFile .lastModified ()));
230230 }
@@ -349,7 +349,7 @@ public void onClick(View v) {
349349 actionBar .setCustomView (R .layout .search_bar );
350350 actionBar .setDisplayShowTitleEnabled (false );
351351 editSearch = (EditText ) actionBar .getCustomView ().findViewById (R .id .editSearch );
352- editSearch .setHint ("Enter name of Apk" );
352+ editSearch .setHint ("Enter Apk name " );
353353 editSearch .addTextChangedListener (new TextWatcher () {
354354 @ Override
355355 public void beforeTextChanged (CharSequence s , int start , int count , int after ) {
@@ -367,7 +367,7 @@ public void afterTextChanged(Editable s) {
367367 savedApis .clear ();
368368 SavedApi tempApi ;
369369 for (int i = 0 ; i < allsavedApis .size (); i ++) {
370- if (allsavedApis .get (i ).getName ().startsWith (text )) {
370+ if (allsavedApis .get (i ).getName ().contains (text )) {
371371 tempApi = new SavedApi (allsavedApis .get (i ).getFile (), allsavedApis .get (i ).getName (), allsavedApis .get (i ).getUnformattedDate ());
372372 savedApis .add (tempApi );
373373 }
0 commit comments