| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Incomplete so things are still very much broken.
We'll force SDK to version 23 instead for now, so
at least we have a fully working file manager.
This reverts commit 578f0a0ed7870b5a8ed28c7c0198a798b389a682.
Change-Id: I612507d75d3e45ba091d43ac2c5bf1f9dbe53fb5
|
| |
|
|
|
|
|
| |
Commit Ie59a4848de118841d2f3c5ec4805f2add0a1d701 introduced a new table,
but missed the DB upgrade.
Change-Id: I1387bfa64deec4ede702c674d1e152d5f65ba971
|
| |
|
|
|
|
|
|
|
| |
Upon quitting the app, the history records will be lost as
they are not saved. Save the history records so that
the user can access them even after quitting the app.
Change-Id: Ie59a4848de118841d2f3c5ec4805f2add0a1d701
CRs-Fixed: 993150
|
| |
|
|
|
|
|
|
| |
Change the view's layout to a ScrollView, so when roating the DUT
from landscape to portrait, every single piece of info is shown.
Change-Id: Iedbef14dad5325056cbb560e98855593b5494c16
CRs-Fixed: 889743
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The original commit is incomplete, and either causes 2 overlapping
disk usage graphs to be drawn upon device rotation, or causes
the disk usage graph to be improperly sized upon device rotation..
Revert the commit to bring in CAF's fixes for the original issue,
which does not exhibit the issue mentioned above.
This reverts commit c25f3b995f410883856929972096c8e375cd5377.
Change-Id: Ie699b17e07d4ea2b04b03181fe13c6d93ef5da62
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The loading file task costs much time if the folder contains a
lot of files. This causes the illusion of a freeze if the user
presses the back key during this time.
Show a progress dialog while loading and do not allow the
user to press the back key.
CRs-Fixed: 949902
Change-Id: I527d70a55425d20bc50621533fba775bf5d0ead5
|
| |
|
|
|
|
|
|
| |
For very large files, toggling word wrap mode takes a long time on the
UI thread. Show a message to the user so they know what is happening.
Change-Id: Idd3aed525233b944234b6f8864a9d3c02adc00b5
Issue-Id: QRDL-1080
|
| |
|
|
|
|
|
|
|
|
| |
Multiple instances of ActionsDialog are created if the user
clicks the menu too quickly.
Do not create an instance if a dialog has already been displayed.
CRs-Fixed: 960229, 970649
Change-Id: I610331cf71cb1b59aef6f89d8fdcb1c6ccda6044
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The size of disk usage graph was caculated dynamically according to
the parent layout size. When the device was rotated from landscape
to portrait, the layout size was changed, but the disk usage graph
did not refresh.
Redraw the graph when the view size changes.
Change-Id: I2e283ed77f44b759f4f3753ff92fe95d851b6433
CRs-Fixed: 889743
|
| |
|
|
|
| |
Change-Id: I31f568c04dae870d0108e915dd05071461b3196d
Issue-Id: FEIJ-1360
|
| |
|
|
|
|
|
|
|
|
|
| |
If sdcard is formatted as VFAT, then file names named as "foo." will
be silently saved as "foo". This causes us to report the wrong target
file to media scanner, which can cause an extra file to be shown in
MTP mode on Windows. The workaround is to rescan the parent dir to
discover the correct filename to report to media scanner.
Change-Id: Ia58a341ef6190efe3dca8b13bbc081b6e2d4e9c1
Issue-Id: QRDL-983
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The async reader is racing with the completion handler and when reading
a small enough file the notification may happen before the handler ever
waits.
This patch adds a condition flag under the mSync lock and only ever
waits if the completion wasn't done already.
This also fixes a potential spurious wakeup issue with the previous code
where the wait thread could be woken by a spurious wakeup without the
read being completed.
Change-Id: Ie3e6ead942c0f00dbb3e44591be19634706ee206
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* On N, apps can no longer share file:// uris to other packages.
Apps that wish to do this must use a FileProvider to
generate content uris which can then be shared.
* This patch only currently handles the external storage case and does
not consider arbitrary filesystem paths or root access. This could
be implemented in the future, if necessary. The common case of
opening a media file is a good start, though.
Change-Id: I83aef923dfa26173171a13c0881aeb43337b4e47
|
| |
|
|
|
|
|
|
|
| |
* Not all systems follow the assumed format. New kernels do not
include the "on" and "type" literals, and do not place
parenthesis around the mount options.
* Detect these conditions and do the right thing.
Change-Id: Ib88edf049e6a42cdab26274202f09de2bc19b493
|
| |
|
|
|
|
|
| |
mimeType can't be null here so just remove those checks and make
the code more readable
Change-Id: Ic1f6fde2c102912dd8fc7e783d86c2936c43316f
|
| |
|
|
|
|
|
|
|
| |
When long pressing a directory, the actions dialog will build an FSO
send intent to query if it can be handled by any application. In this
case, the list of URIs to share will be 0, causing the crash.
FEIJ-1439
Change-Id: I3f500916774af4bde939bd42060d92070971663a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 6f6094da21960569b93f6171e39e211e8d37f41a does not
do what it said. It said
" We are now defaulting to treating 3GP files as video files for
determining the default icon as it was parsing the video files for
their metadata which was causing ANR problems."
However it returns no icon for 3GP.
Fix it to do what it said in that commit.
FEIJ-202 FEIJ-1347
Change-Id: Ieb57583316594c0308792ff8b43aadf1b15d74a5
|
| |
|
|
|
| |
FEIJ-1380
Change-Id: I93eea906f35dc5403349409b1c26e6a4fc386d5a
|
| |
|
|
|
|
|
|
|
|
| |
Instead of falling back to the editor activity as a last resort for "Send",
remove the option if there's no potential candidate. The editor activity won't
handle the ACTION_SEND/ACTION_SEND_MULTIPLE intent anyway. This stops an error
from popping up in the editor if the file cannot be sent from any other activity.
FEIJ-1380
Change-Id: I2330299e0cb8b6f3c93d5a190067b8bfe6a3f56f
|
| |
|
|
|
|
|
|
| |
The logic was backward here. Instead, prompt the user if no
permissions and start navigating if already granted.
FEIJ-1389
Change-Id: Idee7024516eed5671bc7a1101fc812680db3447b
|
| |
|
|
|
|
|
|
|
| |
Changed how the java console handles detecting if a file rename
collides with another file to more represent how the particular
filesystem implementation handles it (I'm looking at you vfat).
Change-Id: I6ac9ae848ee47fa33f02225c310c92f2a03fb50d
(cherry picked from commit bd4178a860ab7da89549036c6a4815239b903b61)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to make sure that the list is the proper height
so that it does not draw off the screen.
Ideally, we would stop handling the orientation changes and allow
the app to do the orientation changes as android apps do normally.
This would require some significant changes to how our dialog
system works and could cause other potential issues.
Ticket: QRDL-882
Change-Id: I39176d56d8286ed93b71dbe4c770fe79f39ac753
(cherry picked from commit d86bee2ab7b08ea2eaec91b251b0d94548de0af0)
|
| |
|
|
|
| |
Change-Id: I883bd3587e91cfc6ee73eec45ea9840d781719bb
(cherry picked from commit 76e0032448aa0ff667ea2c700cfed26941c413fd)
|
| |
|
|
|
|
|
|
|
| |
ListPopupWindow doesn't appear to correctly recalculate its popup
size after rotation. Force the recalculation on rotation and allow
the window to fill the entire screen if necessary.
FEIJ-1192
Change-Id: I6345a56c4dde3dd73c3d902afd0a840307014178
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We don't support vnd.android.cursor mimetype,
the return result is never be expected to caller.
Ideally, we should filter that mimetype in AndroidManifest.xml,
however we currently accept */* mimetype and there is no
way to exclude a specific mimetype.
FEIJ-1138 FEIJ-1140 FEIJ-1141
Change-Id: I407159c5f5283e4d5cec2ec129a7643723bc8602
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If the use is in a sub settings, i.e. general settings, and changes
their language. Upon returning to File Manager and pressing back
to go to the main settings menu, the about text will remain in the
previous language. This is easily reproduced when the intial language
is set to Chinese and then switched to English. The about text will
still be in Chinese.
Change-Id: I1dff61a6a94e6aabf336d863e102c29044f3a649
(cherry picked from commit b35b682bd4d4a089d55fcf43a0711a9b9ca7c615)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In M, we need to request permission the first time
application is use it. And we put that before
the creation of the content view. If screen
rotated before user confirm the permission dialog box,
it will cause onConfigurationChanged to be called,
and refreshs the view which is not created yet.
Add a null pointer checking to avoid that.
FEIJ-1083
Change-Id: Ic3c762e62edef28d4c5d7a7a89fabec3f4324eca
|
| |
|
|
|
|
| |
Fix for the case when getExternalFilesDir returns null
Change-Id: I62725cec0f65412f3cc9c66c0e9870d2da62c6b8
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch fixes the file manager on android-n-preview-2 (and maybe
other roms/systems). Observed behavior: no output is produced at StdIn
or StdErr after writing commands to the shell console. This leads to a
timeout and a reallocation of the console in an endless loop. Flushing
the output stream fixes the problem. Not sure if there was a good reason
for not doing it in general.
Change-Id: Ia87aa5065f6c62f133de4bbde4b4a32a4388d784
|
| |
|
|
|
|
|
|
|
| |
NavigationView is null before permission is granted.
Guard with a null checking before refreshing
FEIJ-820
Change-Id: Ib778ec82ce49dbcad8e45a5d54a5501cd3030410
|
| |
|
|
|
|
|
|
|
| |
It just don't support it currently as it requires
the UI to ask for password first.
FEIJ-825
Change-Id: I7ef4199d99110652b3f13fe9fed8336bf07f59f4
|
| |
|
|
|
|
|
|
|
| |
Without granting url read permission, the caller using
the picker will encounter a security denied.
FEIJ-809
Change-Id: I0ad564f7c16a36b4395f0d1d19d7eed10d0917c4
|
| |
|
|
|
|
|
|
|
|
| |
Fix disk usage for no categories
If no categories are found, ensure we fallback to drawUsed
so the graph represents the information correctly.
FEIJ-650
Change-Id: Ifdc069b1266c96dc1dc2569a2c0d45146f96b73d
|
| |
|
|
|
|
|
|
|
| |
Ideally we would allow the properties action to appear and
ask the user to unlock the directory first, but that seems
to be nigh impossible without refactoring SecureConsole.
Change-Id: If619062d3c3db1855ac865811cf6b48e5ae5812f
issue-id: FEIJ-692
|
| |
|
|
|
|
|
|
|
|
|
| |
When user switches between different category types in the search
results, any non-relevant entries should be filtered out.
Added check for filtering out non-relevant search results.
Issue-Id: FEIJ-517
Change-Id: I7f92819b362720d58860e41d7252cd43cbece808
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When switching between portrait and landscape modes, the icons view
needs to be updated to re-arrange the icons based on updated width.
Added a new method for refreshing icons view mode. This method is
called during orientation changes.
Issue-Id: FEIJ-492
Change-Id: I9c95357a7d4f57b223147e774838e4fdc19f5e89
|
| |
|
|
|
|
| |
Issue-id: FEIJ-356
Change-Id: I918f62e42ecca8c7c51ff8edefdfcd3f78245b45
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When "Use swipe gestures" is on, click on listview item has no
effects.
Since ev.getX() or ev.getY() is returning floating point, while
the previous touch location is stored as fixed point. When
there is fractional parts in getX(), it will always return
false when it compares to the previous touch point, making the flinger
logic to think the touch does moved while it is actually not.
FEIJ-290
Change-Id: Ib208b6115c0758facf29461ef45f6ffd5c67adce
|
| |
|
|
|
|
| |
Issue-id: FEIJ-331
Change-Id: I7982dfc3c453518c2358b2118a13455e899023db
|
| |
|
|
|
|
| |
Issue-id: FEIJ-341
Change-Id: I6a418aa099569484fd6f95f2b8d0987b59eba2a9
|
| |
|
|
|
|
|
|
| |
Changed Find command argument name to iname in command_list xml.
square brackets and upper case format removed from searchHelper class
Bug: CYNGNOS-2273
Change-Id: I40fe203929656055e209f10f6284c0b39634a6fb
|
| |
|
|
|
|
|
|
|
| |
If called through the DocumentsUI, FileManager would crash in scenarios
where the permission had not yet been granted. Fix this by requesting
for permissions when picked.
Change-Id: I876421e834d3a4f112282216b22f06360362e8d8
Ticket: CYNGNOS-1974
|
| |
|
|
|
|
| |
Issue-id: CYNGNOS-2072
Change-Id: I582e21dea5afbdf4a7676de8acd6cba23b5288bf
|
| |
|
|
|
| |
Change-Id: I5b11c297e30b7914d856a22a4c631319d6879788
Ticket-Id: CYNGNOS-1830
|
| |
|
|
|
|
|
|
|
|
| |
When asking for permissions, rotating the device would cause the
app to crash because configuration changes try to update a not
yet initialized layout. Fix this by preventing layout updates on
configuration changes if permissions are not yet granted.
Change-Id: I0cdb23df1c07720f70543e7acac5e7b055aa534c
Ticket: CYNGNOS-1678
|
| |
|
|
| |
Change-Id: Id92313bde0b7084342db06c1e5c11ed6aa17fde6
|
| |
|
|
| |
Change-Id: Iee25427e2b0dbebc7e54558f6a0d98fab74ad16c
|
| |
|
|
|
|
|
| |
Discovered NULL object dereference during the monkey test. Resolving possible NULL dereferences.
Issue-Id: YAM-61
Change-Id: I2b03338557d0f5590678cb1c0532c5cc6f586049
|
| |
|
|
| |
Change-Id: Id0e4be70019fd03c165d4f95f1b5f6323e2802ea
|
| |
|
|
|
|
| |
Implement new runtime permissions for STORAGE group
Change-Id: Ia32e5e279f8f4cc9f5cae33cc61cbd73ea2cf41b
|