You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current beta, the storage path setting is shown as first entry in the settings. That’s way too present since it’s a one-time setting, if anything.
Oh. This is introduced by me with #1195
So put this < PreferenceCategory android:title="@string/common_category" android:key="common_category" > right after the instantUpload category.
This will produce a merge error, but as this is very obviously it should not be a problem.
And we should probably move the security code in there as well (as first entry) becaise currently it's just a single entry between the accounta and instant upload.
There is still something which bothers me about the whole issue. In all places in code where storage is accessed ownCloud is using getExternalStoragePath which always returns path to external storage only if it exist. Otherwise it points to simulated storage. Did anyone actually tested that oc is using internal storage instead of external one?
Yeah, internal/external memory is generally a weird thing in android.
Version 6.0 also changes the way of handling sd cards so for now this feature is < 6.0
Activity
tobiasKaminsky commentedon Nov 26, 2015
This belongs to #1293 by @przybylski
przybylski commentedon Nov 26, 2015
ok
przybylski commentedon Nov 26, 2015
This question will be stupid but where is cache size preference? :)
I wanted to move storage path to other place but I'm not sure where :)
tobiasKaminsky commentedon Nov 26, 2015
Cache size is in Category "Common".
przybylski commentedon Nov 26, 2015
I think I need to rebase, I see no common category :)
tobiasKaminsky commentedon Nov 26, 2015
Oh. This is introduced by me with #1195
So put this < PreferenceCategory android:title="@string/common_category" android:key="common_category" > right after the instantUpload category.
This will produce a merge error, but as this is very obviously it should not be a problem.
jancborchardt commentedon Nov 27, 2015
»Common« should also be renamed to »Details«.
And we should probably move the security code in there as well (as first entry) becaise currently it's just a single entry between the accounta and instant upload.
tobiasKaminsky commentedon Nov 27, 2015
This should the be done in a new PR to keep the issues separated.
tobiasKaminsky commentedon Nov 27, 2015
please see #1314 for renaming section
przybylski commentedon Nov 27, 2015
There is still something which bothers me about the whole issue. In all places in code where storage is accessed ownCloud is using getExternalStoragePath which always returns path to external storage only if it exist. Otherwise it points to simulated storage. Did anyone actually tested that oc is using internal storage instead of external one?
tobiasKaminsky commentedon Nov 28, 2015
I cannot test as I only have internal storage ;)
But is this not replaced by your code?
1 remaining item
AndyScherzinger commentedon Nov 28, 2015
Can't test it either, also only having Nexus devices.
jancborchardt commentedon Nov 29, 2015
Hehehe homies – I do have an external storage so I guess I’m the authority for this and #1310 ;)
przybylski commentedon Nov 29, 2015
@jancborchardt could you please check if owncloud is putting files on your external storage? IMO it should that from the very beginning
jancborchardt commentedon Nov 30, 2015
No it doesn’t. There’s only an empty cache folder on the SD card in the
Android/data/com.owncloud.androidfolder for both the normal and beta version.I assumed we postponed that anyway. cc @davivel?
tobiasKaminsky commentedon Dec 22, 2015
@jancborchardt @przybylski can you both try to solve this issue?
przybylski commentedon Dec 22, 2015
I'll ask a friend with phone with SD card for some help. Currently I'm more guessing than developing ;)
tobiasKaminsky commentedon Dec 22, 2015
👍
I can test also, but I guess that it is more time consumption than helpful if you do a change and I test and report back to you...
tobiasKaminsky commentedon Dec 22, 2015
Please have in mind that (at least in android 6) there are two different sdcard "types": formatted as internal storage / as external sd card
przybylski commentedon Dec 22, 2015
Yeah, internal/external memory is generally a weird thing in android.
Version 6.0 also changes the way of handling sd cards so for now this feature is < 6.0
tobiasKaminsky commentedon Dec 23, 2015
👍
If you write code to support 6.0 please let me know as I can test it.
przybylski commentedon Dec 23, 2015
I did another change, it works fine on old huawei, and should work on 6.0 as well.
@tobiasKaminsky please update beta when you'll fine a moment
michaelstingl commentedon Apr 10, 2019
Beta feature never got released. Information is in the open PR (#1293)