Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
530
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
5c501cfa
Commit
5c501cfa
authored
3 years ago
by
Nicolas Pomepuy
Browse files
Options
Downloads
Patches
Plain Diff
Allow cifs mount points starting by '//'
Fixes #2034
parent
2c3e8a11
No related branches found
No related tags found
1 merge request
!993
Allow cifs mount points starting by '//'
Pipeline
#102224
passed with stage
in 3 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/resources/src/main/java/org/videolan/resources/AndroidDevices.kt
+2
-1
2 additions, 1 deletion
...es/src/main/java/org/videolan/resources/AndroidDevices.kt
with
2 additions
and
1 deletion
application/resources/src/main/java/org/videolan/resources/AndroidDevices.kt
+
2
−
1
View file @
5c501cfa
...
...
@@ -30,6 +30,7 @@ import android.os.Build
import
android.os.Build.VERSION_CODES
import
android.os.Environment
import
android.telephony.TelephonyManager
import
android.util.Log
import
android.view.InputDevice
import
android.view.MotionEvent
import
androidx.core.content.getSystemService
...
...
@@ -68,7 +69,7 @@ object AndroidDevices {
private
val
typeBL
=
listOf
(
"tmpfs"
)
private
val
mountWL
=
arrayOf
(
"/mnt"
,
"/Removable"
,
"/storage"
)
val
mountBL
=
arrayOf
(
EXTERNAL_PUBLIC_DIRECTORY
,
"/mnt/secure"
,
"/mnt/shell"
,
"/mnt/asec"
,
"/mnt/nand"
,
"/mnt/runtime"
,
"/mnt/obb"
,
"/mnt/media_rw/extSdCard"
,
"/mnt/media_rw/sdcard"
,
"/storage/emulated"
,
"/var/run/arc"
)
private
val
deviceWL
=
arrayOf
(
"/dev/block/vold"
,
"/dev/fuse"
,
"/mnt/media_rw"
,
"passthrough"
)
private
val
deviceWL
=
arrayOf
(
"/dev/block/vold"
,
"/dev/fuse"
,
"/mnt/media_rw"
,
"passthrough"
,
"//"
)
/**
* hasCombBar test if device has Combined Bar : only for tablet with Honeycomb or ICS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment