Closed
Bug 605384
Opened 15 years ago
Closed 15 years ago
remote android file picker
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 594368
People
(Reporter: blassey, Unassigned)
Details
Attachments
(1 file)
|
3.08 KB,
patch
|
dougt
:
review-
|
Details | Diff | Splinter Review |
It currently only works in the chrome process because the android bridge is only available in the chrome process
Attachment #484242 -
Flags: review?(doug.turner)
Comment 1•15 years ago
|
||
Comment on attachment 484242 [details] [diff] [review]
patch
>+bool
>+ContentParent::RecvShowFilePicker(nsString* aFilePath)
>+{
>+#ifdef ANDROID
>+ AndroidBridge::Bridge()->ShowFilePicker(*aFilePath);
>+#endif
>+ return true;
>+}
should non-android ever call this? NS_RUNTIMEABORT
>- mozilla::AndroidBridge::Bridge()->ShowFilePicker(filePath);
>+ if (mozilla::AndroidBridge::Bridge())
>+ mozilla::AndroidBridge::Bridge()->ShowFilePicker(filePath);
>+ else
>+ mozilla::dom::ContentChild::GetSingleton()->SendShowFilePicker(&filePath);
>+
Shouldn't the bridge hide this nasty branch?
This doesn't do everything our filepickers can do. For example, multiple files.. Have you looked at bug 594368 (even has a patch!). Maybe get that cleaned up and land that instead?
Updated•15 years ago
|
Attachment #484242 -
Flags: review?(doug.turner) → review-
| Reporter | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•