mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 857730 - Part 4: Integrate contacts API Javascript with Java and Android contact API. r=cpeterson
This commit is contained in:
parent
4152d66713
commit
64b64335f4
2016
mobile/android/base/ContactService.java
Normal file
2016
mobile/android/base/ContactService.java
Normal file
File diff suppressed because it is too large
Load Diff
@ -182,6 +182,7 @@ abstract public class GeckoApp
|
||||
private String mCurrentResponse = "";
|
||||
public static boolean sIsUsingCustomProfile = false;
|
||||
|
||||
private ContactService mContactService;
|
||||
private PromptService mPromptService;
|
||||
private TextSelection mTextSelection;
|
||||
|
||||
@ -1564,6 +1565,8 @@ abstract public class GeckoApp
|
||||
SmsManager.getInstance().start();
|
||||
}
|
||||
|
||||
mContactService = new ContactService(GeckoAppShell.getEventDispatcher(), this);
|
||||
|
||||
mPromptService = new PromptService(this);
|
||||
|
||||
mTextSelection = new TextSelection((TextSelectionHandle) findViewById(R.id.start_handle),
|
||||
@ -2106,6 +2109,8 @@ abstract public class GeckoApp
|
||||
mDoorHangerPopup.destroy();
|
||||
if (mFormAssistPopup != null)
|
||||
mFormAssistPopup.destroy();
|
||||
if (mContactService != null)
|
||||
mContactService.destroy();
|
||||
if (mPromptService != null)
|
||||
mPromptService.destroy();
|
||||
if (mTextSelection != null)
|
||||
|
@ -75,6 +75,7 @@ FENNEC_JAVA_FILES = \
|
||||
CanvasDelegate.java \
|
||||
CheckableLinearLayout.java \
|
||||
ClickableWhenDisabledEditText.java \
|
||||
ContactService.java \
|
||||
ContextGetter.java \
|
||||
CustomEditText.java \
|
||||
db/BrowserDB.java \
|
||||
|
@ -316,6 +316,9 @@
|
||||
<string name="wallpaper_progress">&wallpaper_progress;</string>
|
||||
<string name="wallpaper_fail">&wallpaper_fail;</string>
|
||||
|
||||
<!-- Contacts API -->
|
||||
<string name="contacts_account_chooser_dialog_title">Share contacts from...</string>
|
||||
|
||||
|
||||
<!-- Guest mode -->
|
||||
<string name="enter_guest_mode">&enter_guest_mode;</string>
|
||||
|
Loading…
Reference in New Issue
Block a user