update appcompat to 1.1.0

This commit is contained in:
Daniel Micay 2019-10-05 18:08:55 -04:00
parent e7e94b9cd2
commit 7a985410cb
2 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,7 @@ android {
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.appcompat:appcompat:1.1.0'
} }
def props = new Properties() def props = new Properties()

View File

@ -388,6 +388,8 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
@Override @Override
protected void onActivityResult(int requestCode, int resultCode, Intent resultData) { protected void onActivityResult(int requestCode, int resultCode, Intent resultData) {
super.onActivityResult(requestCode, resultCode, resultData);
if (requestCode == ACTION_OPEN_DOCUMENT_REQUEST_CODE && resultCode == Activity.RESULT_OK) { if (requestCode == ACTION_OPEN_DOCUMENT_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
if (resultData != null) { if (resultData != null) {
mUri = resultData.getData(); mUri = resultData.getData();