hotfix deprecate function
This commit is contained in:
		@ -87,7 +87,7 @@ public class MainActivity extends AppCompatActivity {
 | 
			
		||||
                tr.handleSendText(sharedText);
 | 
			
		||||
            } else {
 | 
			
		||||
                Uri uri = intent.getParcelableExtra(Intent.EXTRA_STREAM);
 | 
			
		||||
                new Thread(() -> tr.handleSendFile(uri)).start();
 | 
			
		||||
                tr.handleSendFile(uri);
 | 
			
		||||
            }
 | 
			
		||||
        } else if (Intent.ACTION_SEND_MULTIPLE.equals(action) && type != null) {
 | 
			
		||||
            viewPager.setCurrentItem(2);
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@ public class Progress {
 | 
			
		||||
    private static NotificationManagerCompat notifiManager = NotificationManagerCompat.from(Transfer.activity);
 | 
			
		||||
    private static final LayoutInflater inflater = (LayoutInflater) Transfer.activity.getSystemService(Transfer.activity.LAYOUT_INFLATER_SERVICE);
 | 
			
		||||
 | 
			
		||||
    private static List instances = new ArrayList();
 | 
			
		||||
    private static List<Progress> instances = new ArrayList<>();
 | 
			
		||||
 | 
			
		||||
    private Integer id;
 | 
			
		||||
    private String name;
 | 
			
		||||
 | 
			
		||||
@ -22,7 +22,7 @@ public class SectionsPagerAdapter extends FragmentPagerAdapter {
 | 
			
		||||
    private final Context mContext;
 | 
			
		||||
 | 
			
		||||
    public SectionsPagerAdapter(Context context, FragmentManager fm) {
 | 
			
		||||
        super(fm);
 | 
			
		||||
        super(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
 | 
			
		||||
        mContext = context;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user