Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-apps-CMFileManager: Listed des commits

packages/apps/CMFileManager


RSS
Révision l'heure Auteur
6dfc729 marshmallow-x86 nougat-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2016-01-26 11:40:26 Paulo Sergio Travaglia

Change method for getting external storage on marshmallow

The new components/features introduced with marshmallow
(vold 3.0) required a new method for retrieving
external/removable storage devices

These changes were based and use part of the following code:
- Storage access implemented on Settings (uses VolumeInfo class
to list all connected disks (external and emulated)
see refresh method from class StorageSettings
=> packages/apps/Settings/src/com/android/settings/deviceinfo
=> StorageSettings.java

- getVolumeList method from MountService class
(converts VolumeInfo ArrayList item into a StorageVolume
element, which is used by CMFileManager to iterate
contents and build bookmarks):
=> frameworks/base/services/core/java/com/android/server/
=> MountService.java

1f90d24 2016-01-26 05:20:48 Michael Bestas

Automatic translation import

Change-Id: Id72995e4b55b46e4d7118ae90f68ba391accbe6a

901e396 2016-01-26 03:25:16 Abhishek Gilra

Adding NULL checks AsyncResultProgram.java

Discovered NULL object dereference during the monkey test. Resolving possible NULL dereferences.
Issue-Id: YAM-61

Change-Id: I2b03338557d0f5590678cb1c0532c5cc6f586049

04abecb 2016-01-25 05:30:47 Michael Bestas

Improve permission string & cleanup code

Change-Id: Id0e4be70019fd03c165d4f95f1b5f6323e2802ea

26fd0d7 2016-01-14 01:54:13 Martin Brabham

Bump target SDK version to 23

Implement new runtime permissions for STORAGE group

Change-Id: Ia32e5e279f8f4cc9f5cae33cc61cbd73ea2cf41b

9efd883 2016-01-12 08:22:00 Michael Bestas

Automatic translation import

Change-Id: I9a3ba488a61525b5ebf006c73a22ef404f091506

a836aa8 2016-01-04 16:06:11 longyu.huang

dead lock case

[Procedures]
1.filemanager->security storage->create storage with password
2.after creat successfully->menu->add shortcut
3.filemanager->setting->storage option->delete/reset password->stay on input password view(don't input password)
3.press home key
4.enter filemanager from shortcut on home screen

Change-Id: I00101d14adb89b271a974e8b292f81b7f315f942

358590d 2016-01-02 19:05:19 Keith Mok

Change ts file extension mime type

Fix .ts file cannot be played back in filemanager:
"There is no app registered to handle the type of file selected."
Since the supported mime type named in Gallery is mp2ts instead
of mp2t.

Change-Id: I92b31bbcc7aabda83e1b25e6a5b94f4008f6e279

9eb5798 2015-12-26 02:35:04 Michael Bestas

Automatic translation import

Change-Id: I508af07960dfec060d46a5cc6bab44a98cf2d3d5

56d1485 2015-12-18 11:56:08 Gianmarco Reverberi

cmfm: this is TOYBOX

* busybox is deprecated
* remove awk usage
* fix file system info

Change-Id: I7c2bcbd5024e3be283c9fd6ad699183b6fb5bf1a

a8625e0 2015-12-18 11:53:11 Keith Mok

Fix filemanager not launch

M is using toybox instead of toolbox, some commands in filemanager
relies on toolbox utilities, there are minor difference in handling.
This change removes the "-Gn" argument pass to id command for retrival
the uid/gid, tested on both M and L, there is no need to add -Gn argument,
but in L, it seems -Gn is ignored. In M it will output wihtout the numerical
values causing parsing exception during startup.

Change-Id: I6aac8e94a80671df0a247ffcaf7d69364d7c9ad2

85732e2 2015-12-18 11:53:01 Dan Pasanen

CMFileManager: remove org.apache.http import

* This is deprecated and doesn't appear to be used anyway
* https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client

Change-Id: Ifa7c3eeb01cbb5827dc3d504933f99e1b847e070

aa616f5 lollipop-x86 2015-12-17 05:44:37 Michael Bestas

Automatic translation import

Change-Id: Icce0bd62f63a309155839cf3c49e88c47a6c51df

4d187b0 2015-11-29 00:40:33 Michael Bestas

Automatic translation import

Change-Id: I7a5da9a22c62463da28f7026d39172fbe441552f

8c39954 2015-11-07 03:52:40 Michael Bestas

Automatic translation import

Change-Id: I9a892685da581da30f2ab5f3ef4b44b0ad8e7d50

ab89abc 2015-10-29 06:38:45 Michael Bestas

Automatic translation import

Change-Id: Ie4d8eceafe740da0d594a8bec97c9676a0df8599

b2e715e 2015-10-22 06:06:47 Michael Bestas

Automatic translation import

Change-Id: I21fe20cf2a672dea5fa2cf3a353a0ae5e4d723bd

06b63a7 2015-10-22 02:25:52 root

Thumbnail update on copy and overwrite issue of pictures

issue-id: QRDL-1077
Change-Id: I10d3c861141590806a8e5b9c665b4f4f4b74141a

3a4d70f 2015-10-17 07:47:14 herriojr

Use System Resolver

Converting to using the system resolver. The logic has changed slightly
in the following cases:

Open -- Tries to start activity, falls back to EditorActivity on failure
Open With -- Uses Chooser and populates Editor if not already there
Falls back to EditorActivity on failure
Click on FSObject -- Same as Open
Sending Object -- Same as Open

Cleaned up code around this a little since there were unused parameters.

Note: The Chooser will only show EXTRA_INITIAL_INTENTS if there are
other options as well, which is why we have to do the check up front
to see if we need to add it, and falling back to just using the Editor
if nothing exists to handle it.

Issue-Id: CYNGNOS-1236
Change-Id: I803b86cf6bfec80bbc886025be43ce800afd3be1

25bcc73 2015-10-16 08:12:31 root

Secure file moving issue fix

Change-Id: I684124bb32747a39d772b41c48d62c4c236b3ed2

b284ba6 2015-10-13 08:44:03 Martin Brabham

Prevent NPE collecting title, which was preventing
the print action. Use Uri for title and timestamp
for print title.

Change-Id: Ib21006b6e47fd18622c726e9f4beea721328ad6e
Ticket-Id: HAM-874

d8e4b49 2015-10-12 23:16:36 Michael Bestas

Automatic translation import

Change-Id: Iee0bd8f2cb3819b2746ce5323c841dfb2d420aa2

0e79150 2015-10-06 04:14:46 herriojr

Make MimeTypes Lowercase

It is standard to have mimetypes as fully lowercase in Android, so
changing the previous additions to be fully lowercase. It appears to
have worked on the device I was testing on, but other devices were
having issues. By making them all lowercase, this will make it so
it is compatible between both sets of devices.

Change-Id: I63764c0d9ec129008868ca5aa2176187834b2bc0
Issue-Id: CYNGNOS-1153

c4cb9fb 2015-10-03 06:21:41 Michael Bestas

Automatic translation import

Change-Id: I270ec0b848d03766918ef259d18d3fae2bcd782e

0420929 2015-10-02 05:46:53 herriojr

Adding a few MS MimeTypes

Noticed that these mimetypes are openable by MS, so we added the
mimetypes.

Change-Id: I16c412d8feb2c9f95d8ce4941e60c3e7f9163fd4
Issue-Id: CYNGNOS-1176

d28d148 2015-10-01 04:06:01 herriojr

Check If System Wants Intent

After much thought about this last night, I came to the conclusion
that because applications can in fact do this, we need to be able
to support it in a backwards compatible fashion. In doing so, there
are a few cases which won't work with suggestions, however, the
changes here are less severe than what they were before. Now just
an extra check happens to see if the system wants to handle the
intent if nothing was found to handle it.

What this means is any application acting as its own resolver
will not automatically have the system handle it in this case
and we no longer can support suggestion outlined here:
http://developer.android.com/training/basics/intents/sending.html#StartActivity

The suggestion is wrong anyways as an activity isn't guaranteed
to continue to exist after the query when the start is called. Maybe
I'll try and push a documentation change upstream to AOSP for this.

Change-Id: I8510660420ee52c09d03c719850fa14d6b1c4441
Issue-Id: CYNGNOS-1152

085427a 2015-09-25 03:59:29 Michael Bestas

Automatic translation import

Change-Id: I807ac829c21c7552b7eea7d169e6db38c53a3f8b

7676605 2015-09-17 05:47:58 kai.cao

[CMFileManager] Fix fail to move a folder

Fix fail to move a folder to another folder when the one folder name contains the another folder name.

[Reproduce]
1. Create a folder named such as aaa
2. Create another folder named such as aaab
3. Copy or Move the folder aaa to folder aaab

The Operation Fail

Change-Id: I27996f9b9530001fe01eddf80a0cac7a8531c163

93d66a3 2015-09-12 22:17:28 Michael Bestas

Automatic translation import

Change-Id: Ie9ca363bfbbe5c1218b7dfee14331747b408c0af

29cfd7e 2015-09-12 10:06:20 Danesh M

CMFileManager : Switch to checked states

Selected states are not being tracked properly when rotated.

Repro:

1. Click to open file
2. Tap on first item in resolver dialog
3. Rotate device
4. Press ok
5. Enjoy crash

issue-id: CYNGNOS-991

Change-Id: I9ef5d0571201957eac40edc8bc5e47700752dcc3

Afficher sur ancien navigateur de dépôt.