In Photon few images(most of them are related to site identity) are renamed to be more formalized.
These images in Australis need to be renamed as well to make resources easy to maintain.
The mapping between old/new name is below:
OLD NEW
---- ----
reader ic_readermode
reader_active ic_readermode_on
close_edit_mode_dark ic_cancel_nm
close_edit_mode_light ic_cancel_pm
ab_menu ic_overflow
ab_mic ic_mic
ab_qrcode ic_qrcode
lock_secure ic_lock
warning_minor ic_warning_minor
warning_major ic_warning_major
lock_disabled ic_lock_disabled
lock_inactive ic_lock_inactive
shield_enabled ic_shield_enabled
shield_disabled ic_shield_disabled
search_icon_inactive ic_search_icon
MozReview-Commit-ID: FivDIHiqe1w
Use application context for delayed callbacks to prevent leaking the
BrowserApp instance. Also, use application context for accessing
Distribution, to prevent leaking old BrowserApp instances, and to avoid
using a destroyed Context. Finally, attach AudioFocusAgent to the
application context instead of the BrowserApp context to avoid leaking
BrowserApp.
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
Additionally, added WeakReferences to the SEM in its callbacks so we can
GC ASAP if the Activity (and thus the SEM) gets GC'd. This is important
since we hold a reference to Context which can be a rather large object.
Furthermore, I added some related thread annotations where I felt they
were useful.
MozReview-Commit-ID: KaWlw14uOoN
NineOldAndroids is a backport of the animation API that was introduced with Honeycomb.
Since we stopped supporting Gingerbread we do not need this library anymore and can
just use the system API.
MozReview-Commit-ID: Fv6ALlIktt5
Rather than hardcoding the following classes in AppConstants.java.in and AndroidManifest.xml, they are set in
confvars.sh:
org.mozilla.gecko.GeckoApplication (Specified using MOZ_ANDROID_APPLICATION_CLASS)
org.mozilla.gecko.BrowserApp (Specified using MOZ_ANDROID_BROWSER_INTENT_CLASS)
org.mozilla.search.SearchActivity (Specified using MOZ_ANDROID_SEARCH_INTENT_CLASS)
In addition to keying off of the IME_ACTION_SEARCH, we also key of of IME_ACTION_UNSPECIFIED which is what is sent by the android emulator hardware keyboard.
This is the approach we already take everywhere else we make a jar🫙 URI.
I've unified those places into GeckoJarReader, cleaned up imports, fixed a
typo, and wrote a trivial test for this case.
I made a few utility methods static to facilitate testing and future refactoring.
This is the approach we already take everywhere else we make a jar🫙 URI.
I've unified those places into GeckoJarReader, cleaned up imports, fixed a
typo, and wrote a trivial test for this case.
I made a few utility methods static to facilitate testing and future refactoring.
This patch fixes all testSearchSuggestions intermittent failures, except for those that appear to be caused by update checks on 2.3.
It also replaces all waitForTest (deprecated) calls with waitForCondition.