hotfix deprecate function
This commit is contained in:
parent
8b3b9d4d99
commit
4612b1a994
7
.idea/dictionaries/lionel.xml
generated
Normal file
7
.idea/dictionaries/lionel.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="ProjectDictionaryState">
|
||||
<dictionary name="lionel">
|
||||
<words>
|
||||
<w>netdldata</w>
|
||||
</words>
|
||||
</dictionary>
|
||||
</component>
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,11 @@ allprojects {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user