Jing-wei Wu
36cc7fd6b3
Bug 1394310 - Change fennec primary color from orange to blue. r=nechen,sebastian,walkingice
...
MozReview-Commit-ID: 3K34WEtpcqz
2017-08-28 11:01:42 +08:00
Jan Henning
51ca0cc811
Bug 1357505 - Check tab queue array length before parsing to avoid unnecessary exceptions. r=sebastian
...
MozReview-Commit-ID: LrlegpviPZk
2017-04-18 21:19:17 +02:00
Jim Chen
78ccd0611f
Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian
...
Bug 1337467 - 1. Convert "Window:Resize" observer to event; r=rbarker
Bug 1337467 - 2. Convert "ScrollTo:FocusedInput" observer to event; r=rbarker
Bug 1337467 - 3. Convert "Update:CheckResult" observer to event; r=sebastian
Also remove notifyCheckUpdateResult from GeckoInterface.
Bug 1337467 - 4. Convert "GeckoView:ImportScript" observer to event; r=sebastian
Bug 1337467 - 5. Convert accessibility observers to events; r=sebastian
Bug 1337467 - 6. Convert media/casting observers to events; r=sebastian
Bug 1337467 - 7. Convert "Sanitize:ClearData" observer to event; r=sebastian
Bug 1337467 - 8. Convert "Notification:Event" observer to event; r=sebastian
Bug 1337467 - 9. Convert BrowserApp observers to events; r=sebastian
Bug 1337467 - 10. Convert Tab observers to events; r=sebastian
Bug 1337467 - 11. Convert "Passwords:Init" and "FormHistory:Init" observers to events; r=sebastian
Bug 1337467 - 12. Convert Reader observers to events; r=sebastian
Bug 1337467 - 13. Convert Distribution observers to events; r=sebastian
Bug 1337467 - 14. Convert "Fonts:Reload" observer to event; r=sebastian
Bug 1337467 - 15. Convert RecentTabsAdapter observers to events; r=sebastian
Bug 1337467 - 16. Convert "Session:Prefetch" observer to event; r=sebastian
Bug 1337467 - 17. Convert "Browser:Quit" and "FullScreen:Exit" observers to events; r=sebastian
Bug 1337467 - 18. Convert SessionStore observers to events; r=sebastian
The "Session:NotifyLocationChange" observer is sent by browser.js and
requires passing a browser reference, so it's left as an observer.
Bug 1337467 - 19. Remove unused "Tab:Screenshot:Cancel" notifyObserver call; r=me
Bug 1337467 - 20. Convert "Session:Navigate" observer to event; r=sebastian
Bug 1337467 - 21. Convert "Locale:*" observers to events; r=sebastian
Bug 1337467 - Add log for unhandled events; r=me
Add back the log indicating no listener for an event, which can be
useful when reading logcat. r=me for trivial change.
Bug 1337467 - Don't return error from EventDispatcher when OnEvent fails; r=me
When a listener's OnEvent method returns an error, continue to dispatch
to other listeners and don't return an error from the dispatch function.
This avoids unexpected errors when dispatching events. r=me for trivial
patch.
2017-03-07 12:34:04 -05:00
Tushar Saini (:shatur)
75462f42df
Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
...
MozReview-Commit-ID: J4uXtUrjuKr
2016-09-22 21:20:23 +05:30
Grigory Kruglov
63cabdf2f1
Bug 1300222 - Trigger heads-up notification mode for incoming tabs r=ahunt
...
MozReview-Commit-ID: JvEeWIizQVK
2016-09-09 16:51:40 -07:00
Sebastian Kaspari
358bea3497
Bug 1276696 - Introduce new LauncherActivity that will handle all incoming Intents. r=mcomella
...
We will need to dispatch Intent objects to different destinations (Browser, Custom Tab and eventually
progressive web apps).
The logic of TabQueueDispatcher is folded into this new activity.
MozReview-Commit-ID: 3P4eIvtAKEW
2016-05-15 14:25:12 +02:00
Michael Comella
32967ac99d
Bug 1277214 - Move remaining SafeIntentUtils functions to IntentUtils. r=grisha
...
I feel this better follows the util class pattern: IntentUtils acts on Intents
as StringUtils would act on Strings.
MozReview-Commit-ID: 7n2B9q1KlSy
2016-06-01 15:32:41 -07:00
Michael Comella
d9505084d4
Bug 1277214 - Move SafeIntent to its own class. r=grisha
...
This gets used often enough that it's annoying to do full class name imports.
MozReview-Commit-ID: 7Yhp1NCgwQw
2016-06-01 15:27:41 -07:00
Michael Comella
de0e96a2f3
Bug 1261210 - Rename omg.mozglue.ContextUtils -> omg.mozglue.SafeIntentUtils. r=mcomella
...
MozReview-Commit-ID: 99kZNBPmqes
2016-05-18 15:48:07 -07:00
Michael Comella
6d0aab4c68
Bug 1258789 - Add if & return for WhitespaceAround. r=grisha
...
MozReview-Commit-ID: HcWrFHy2CeP
2016-04-12 18:18:02 -07:00
Margaret Leibovic
080dec328e
Bug 1259158 - Update tab queues prompt telemetry to use UI telemetry instead of histograms. r=sebastian r=mfinkle
...
MozReview-Commit-ID: 4aws9Rcy5W1
2016-04-01 10:59:03 -04:00
Sebastian Kaspari
11e9150009
Bug 1244722 - TabQueueHelper.canDrawOverlays(): Implement workaround for Android bug. r=ahunt
...
Android's Settings.canDrawOverlays() returns true/false for one of the packages with the same
sharedUserId. There's no guarantee that this is actually the current package.
Instead of relying on Settings.canDrawOverlays() we just try to add and remove an invisible
view through WindowManger. If this succeeds then we obviously can draw overlays and if this
fails then we seem to not have the permission.
MozReview-Commit-ID: 1jdrQ7iV3ek
2016-03-30 12:58:27 +02:00
Carsten "Tomcat" Book
5e150f1109
merge mozilla-inbound to mozilla-central a=merge
2016-03-24 16:15:30 +01:00
Andrzej Hunt
c3acbd9822
Bug 1254468 - Post: Remove unused TransitionsTracker r=sebastian
...
This is no longer needed - TransitionAwareCursorLoaderCallbacks was the only
consumer - it was removed as it caused race conditions. The ideal future solution
is probably to use recyclerviews to avoid jank, rather than trying to wait for
transitions to happen.
It's also extremely difficult to use this correctly - the
TransitionAwareCursorLoaderCallbacks simply held the cursor that would usually
be swapped in onLoadFinished until transitions have finished (which is incorrect,
since cursors need to be swapped in before onLoadFinished returns). It's hard to imagine
any alternative solutions, short of avoiding loading cursors in the first place (which
isn't too useful, since cursor loading happens in the background, at which point the UI
status is irrelevant), or hacking the CursorLoader to not return from its worker thread
until UI transitions are done (which would require a new thread-safe implementation of
TransitionsTracker), or maybe even hacking Android Framework's AsyncTaskLoader to not run Loader.deliverResult
while transitions are running (which seems awfully brittle and hacky).
MozReview-Commit-ID: 3JWDcznYL4Y
2016-03-15 09:06:46 -07:00
Sebastian Kaspari
e270436c2d
Bug 1255162 - Replace NineOldAndroids with system API. r=liuche
...
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
2016-03-10 13:38:28 +01:00
cijo
eca1b3a26f
Bug 1187382 - Revise AppConstants.Versions after release of Android M. The assignment logic has also been changed appropriately. r=sebastian
2016-03-07 04:18:00 +01:00
Sebastian Kaspari
b67f792fb6
Bug 1251923 - TabQueueService: Treat BadTokenException like SecurityException. r=margaret
...
MozReview-Commit-ID: qTtRaQuZyo
2016-03-04 16:01:59 +01:00
Jim Chen
f08147f4d4
Bug 1257319 - Convert existing broadcast events to calls; r=margaret
...
Convert existing places where we use broadcast events to use
new GeckoAppShell calls.
2016-03-23 14:42:38 -04:00
Carsten "Tomcat" Book
1e05e48e46
Backed out changeset 3e80b5052d0b (bug 1257319)
2016-03-23 10:55:10 +01:00
Jim Chen
8ca658a8c1
Bug 1257319 - Convert existing broadcast events to calls; r=margaret
...
Convert existing places where we use broadcast events to use
new GeckoAppShell calls.
2016-03-22 22:24:31 -04:00
Sebastian Kaspari
38b92cc5ea
Bug 1241596 - Use inbox style for tab queue notification. r=ahunt
2016-01-21 20:42:50 +01:00
Sebastian Kaspari
17dedf80c5
Bug 1205216 - GeckoPreferences: Ask user to enable "Draw over other apps" if needed. r=nalexander
2016-01-13 16:28:02 +01:00
Sebastian Kaspari
12e332a3e7
Bug 1205216 - Show notification if tab queue is enabled but permission is missing. r=nalexander
2016-01-13 11:53:17 +01:00
Sebastian Kaspari
6c009de912
Bug 1205216 - Tab queue prompt: Ask user to enable "Draw over other apps" if needed. r=nalexander
2016-01-12 14:14:15 +01:00
Sebastian Kaspari
4a572e80ea
Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r=ahunt
2016-01-15 20:25:29 +01:00
Swaroop Rao
e28e7bc3f9
Bug 1222607 - Remove MOZ_ANDROID_TAB_QUEUE build flag. r=sebastian
2015-12-17 08:58:00 +01:00
Nick Alexander
c682759005
Bug 1107811 - Part 1: Move Java code. r=mfinkle
...
#!/bin/bash
set -x
pushd mobile/android/base
# Can't be present in glob below.
rm -rf java/org/mozilla/gecko
for i in */ ; do
# But is necessary to copy into.
mkdir -p java/org/mozilla/gecko
hg mv $i java/org/mozilla/gecko ;
done
hg mv *.java java/org/mozilla/gecko
# Move back stuff we didn't want to move.
hg mv java/org/mozilla/gecko/crashreporter crashreporter
hg mv java/org/mozilla/gecko/docs docs
hg mv java/org/mozilla/gecko/locales locales
hg mv java/org/mozilla/gecko/resources resources
popd
2015-12-04 11:51:34 -08:00