Skip to main content
Sign in
Snippets Groups Projects
Commit 969e7038 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern: Committed by Beatriz Rizental
Browse files

BB 43196: Remove the vendor name from media notifications on Linux.

Firefox shows "vendor remoteName" as a title of the "... is playing
media" notification on Linux.
However, for our browser the remote name is enough, and prepending the
vendor to it creates a string users usually never see.
parent 004e27fe
No related branches found
No related tags found
1 merge request!1507Rebase Tor Browser onto 136.0a1
......@@ -450,8 +450,10 @@ void MPRISServiceHandler::InitIdentity() {
do_GetService("@mozilla.org/xre/app-info;1", &rv);
MOZ_ASSERT(NS_SUCCEEDED(rv));
#ifndef BASE_BROWSER_VERSION
rv = appInfo->GetVendor(mIdentity);
MOZ_ASSERT(NS_SUCCEEDED(rv));
#endif
if (gAppData) {
mDesktopEntry = gAppData->remotingName;
......@@ -460,7 +462,9 @@ void MPRISServiceHandler::InitIdentity() {
MOZ_ASSERT(NS_SUCCEEDED(rv));
}
#ifndef BASE_BROWSER_VERSION
mIdentity.Append(' ');
#endif
mIdentity.Append(mDesktopEntry);
LOGMPRIS("InitIdentity() MPRIS desktop ID %s", mDesktopEntry.get());
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment