Skip to content

Commit

Permalink
Bugfix 1.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
x0b committed Feb 4, 2020
1 parent 5d77338 commit e6ed644
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,8 @@ Roadmap
------------
Note that these plans are subject to change and might not materialize completely or at all.

#### Current Version (1.10.1)
* **Fix:** Thubnails not loading after device rotation
* **Fix:** Crash when importing rclone config
* **Fix:** Crash when dismissing invalid dialog
* **Fix:** Crash when streaming starting stream
#### Current Version (1.10.2)
* **Fix:** Crash when opening file

#### Next minor version
- Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId 'ca.pkay.rcloneexplorer.x0b'
minSdkVersion 21
targetSdkVersion 29
versionCode 6
versionName '1.10.1'
versionCode 7
versionName '1.10.2'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down
5 changes: 5 additions & 0 deletions app/src/main/assets/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 1.10.2
* **Fix:** Crash when opening file

***

### 1.10.1
* **Fix:** Thubnails not loading after device rotation
* **Fix:** Crash when importing rclone config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import androidx.recyclerview.widget.RecyclerView;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import ca.pkay.rcloneexplorer.BreadcrumbView;
import ca.pkay.rcloneexplorer.BuildConfig;
import ca.pkay.rcloneexplorer.Dialogs.Dialogs;
import ca.pkay.rcloneexplorer.Dialogs.FilePropertiesDialog;
import ca.pkay.rcloneexplorer.Dialogs.GoToDialog;
Expand Down Expand Up @@ -1919,7 +1920,7 @@ protected void onPostExecute(Boolean status) {
if (!status) {
return;
}
Uri sharedFileUri = FileProvider.getUriForFile(context, "ca.pkay.rcloneexplorer.x0b.fileprovider", new File(fileLocation));
Uri sharedFileUri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID + ".fileprovider", new File(fileLocation));
Intent intent = new Intent(Intent.ACTION_VIEW, sharedFileUri);

if (openAs == OPEN_AS_TEXT) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/file_provider_paths.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<paths
xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="cache" path="Android/data/${applicationId}/cache/"/>
<external-cache-path name="cache" path="/"/>
</paths>

0 comments on commit e6ed644

Please sign in to comment.