We don't expect to access any providers cross-package. (At one time
the android-sync repository did, but those days are long past.) Not
exporting these content providers may also avoid some bugs we've seen
that look like content providers from Aurora being loaded into
Nightly's process or vice versa.
--HG--
extra : commitid : DZ6J7Gd4tRq
extra : rebase_source : 302665852935c23de1a5a65af7635c69172e1882
extra : histedit_source : ec8f043e4956932c85a8bab9501b8e7f29576085
This patch does two things. First, PasswordsProvider may not be able
to dispatch to the GeckoThread directly, so we stop trying to do that
directly and just triangulate through the receiver, which will
dispatch from the main process. Second, we don't want to export this
receiver, so this patch replaces the signature-level protection
mechanism with the component's explicit package and name.
--HG--
extra : commitid : 7b4o6GFSaTr
extra : rebase_source : bdd31e886102a3489f405ac5be3b6816474f8bd3
extra : histedit_source : d00680d1df6d17154cc1c5d3f0b83a42bffcc433
This patch will prevent Firefox from downloading OMA download descriptors on
its own. Instead it will prompt to complete the action with an external app
if available. An error will be shown if no external app can handle the download.
--HG--
extra : commitid : KkCCwQrWwUv
extra : rebase_source : 2650328814b9ec5bba64d802b863d0ff7b3cacfc
CLOSED TREE
Backed out changeset 1cf6f364d319 (bug 1220309)
Backed out changeset f774157cf5f4 (bug 1220309)
Backed out changeset bd4581fe6c9d (bug 1220309)
It made sense to me to have this code inside the AdjustHelper so I moved the
existing opt out code inside the AdjustHelper as well.
--HG--
extra : commitid : Bc0yHD6v3UW
extra : rebase_source : f48a555ef71b658deb978808594faa06195ceca9
I added these to BrowserApp to match the use of Adjust.onCreate in BrowserApp.
These sessions don't perfectly match the FHR sessions they replace which get
called in:
GeckoApp.onPause (session end)
BrowserHealthRecorder.onEnvironmentTransition (session end)
BrowserHealthRecorder.checkForOrphanSessions (session start)
- From BHR.initializeStorage <- BHR.handleMessage. I didn't figure out
where this message comes from but given "initializeStorage", I assume
this comes from a startup routine of GeckoApp.
However, the Adjust docs are explicit about adding these values to
onPause/onResume and presumably written under the assumption that those methods
are called in the appropriate places.
The docs also mention these calls should occur in all Activities but I followed
FHR where only the main Activity is logged - I don't predict any negative side
effects from this change.
--HG--
extra : commitid : GxcpliEbSHh
extra : rebase_source : 817fbc5d422e1a3227054fd6276e86d8d441396a
AppCompat capitalizes all text in `Button`s so we have to override
that behavior to maintain the same UI. Ideally, we do this through
`android:buttonStyle` but the place I found the issue doesn't inherit
from that style so we can't and we change the style directly.
There may be issues with other `Button`s, but this is the only one I found.
--HG--
extra : commitid : JWDZBWuhsYy
extra : rebase_source : 534d09ceca6d15bfd1ad49772ee0f3bfad4751c1
DONTBUILD NPOTB
The top source directory configuration requires
mobile/android/gradle/m2repo/**, so it stays. There's no value
changing the location; it contains an Android-specific Gradle plugin.
We note the removal of |mach gradle-install| and point to the new
documentation.
--HG--
extra : commitid : 9Nhz2dnBIgY
extra : rebase_source : 32a2b8a92d57f963feac2bae28fed5a9f1b26f93
extra : amend_source : bf53a0b2d3d4ac0618bc82fe79914bdeaf1c1e0a
(Feature only enabled in Nightly until we deployed an actual block list)
--HG--
extra : commitid : 9KVeAmXbSZV
extra : rebase_source : b55299a0ead543d8dd1bc702ed9b753d4dff009c
extra : amend_source : 5290e5514ff66fad7a3bfa623aaeab66454e17bb
There is no noticeable difference in background color of the menu on my 4.* GS4
or my 2.3 Nexus S, though perhaps it affects more than the menu.
The menu_panel_bg drawable is now unused so I removed that too.
--HG--
extra : commitid : KBe9IqDuheC
extra : source : 535bb5015ea1b1ced4aa1fb39b88eace3b324264
This required us to use the menu button to open the menu and check
if the menu is open by looking at more menu items due to intermittent
issues where the menu would not always be scrolled to the top (I
think Robotium scrolled the menu before it finished appearing so
we couldn't see the first item and failed the isOpen test).
--HG--
extra : commitid : DNP0CuemDnq
extra : rebase_source : f7b786ada2b7a3e94e10b294dbb5b66f15b0d0d7
We added some Asserts but the robocop tests fail for an unknown reason. The
error was:
E/MessageQueue-JNI( 1972): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
I tried a few things but in the end just decided to remove them.
--HG--
extra : commitid : 4dqP0X3Z4Ng
extra : rebase_source : 7bb1a2e1d428525548b997d92a752fcc12c3d51c
ic_menu_back was not in the v11 folder so I moved the all-API asset to the v11
folder.
--HG--
rename : mobile/android/base/resources/drawable-hdpi/ic_menu_back.png => mobile/android/base/resources/drawable-hdpi-v11/ic_menu_back.png
rename : mobile/android/base/resources/drawable-xhdpi/ic_menu_back.png => mobile/android/base/resources/drawable-xhdpi-v11/ic_menu_back.png
extra : commitid : 1xVyK2RFndK
extra : rebase_source : 6c5e6c25ad34705c8276b75062d58f967a13a050
This required us to use the custom menu inflater and panels on GB.
One side effect of this change is that the menu button no longer
closes the menu on GB. I tried to fix this but BrowserApp.onKeyDown
is not fired when the menu is open on GB and I'm not sure why that
is. However, I don't think it's worth my time to fix since it's GB.
--HG--
extra : commitid : DjJzF4zNADN
extra : rebase_source : 001ac81e619e884fa0efeb0045646c0cce6bf56d
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.
This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.