Merge upstream commits
This commit is contained in:
commit
2034dc0de1
2 changed files with 6 additions and 3 deletions
|
@ -122,8 +122,8 @@ dependencies {
|
||||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||||
|
|
||||||
__32bitImplementation 'io.lbry:lbrysdk32:0.100.0'
|
__32bitImplementation 'io.lbry:lbrysdk32:0.102.0'
|
||||||
//__64bitImplementation 'io.lbry:lbrysdk64:0.100.0'
|
//__64bitImplementation 'io.lbry:lbrysdk64:0.102.0'
|
||||||
//__64bitImplementation(name: 'lbrysdk', ext: 'aar')
|
//__64bitImplementation(name: 'lbrysdk', ext: 'aar')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -315,7 +315,10 @@ public class FileViewFragment extends BaseFragment implements
|
||||||
hideBuffering();
|
hideBuffering();
|
||||||
|
|
||||||
if (loadingNewClaim) {
|
if (loadingNewClaim) {
|
||||||
MainActivity.appPlayer.setPlayWhenReady(Objects.requireNonNull((MainActivity) (getActivity())).isMediaAutoplayEnabled());
|
Context context = getContext();
|
||||||
|
if (context instanceof MainActivity) {
|
||||||
|
MainActivity.appPlayer.setPlayWhenReady(((MainActivity) context).isMediaAutoplayEnabled());
|
||||||
|
}
|
||||||
loadingNewClaim = false;
|
loadingNewClaim = false;
|
||||||
}
|
}
|
||||||
} else if (playbackState == Player.STATE_BUFFERING) {
|
} else if (playbackState == Player.STATE_BUFFERING) {
|
||||||
|
|
Loading…
Reference in a new issue