Backed out changeset 965133e168d9 (bug 1189790) for android build failures CLOSED TREE

This commit is contained in:
Wes Kocher 2015-08-14 15:30:24 -07:00
Родитель 856e9c9169
Коммит 2ac325deda
7 изменённых файлов: 3 добавлений и 32 удалений

Просмотреть файл

@ -909,6 +909,9 @@ public final class GeckoProfile {
if (!profileDir.exists()) {
return;
}
if (RestrictedProfiles.isUserRestricted(context)) {
return;
}
// We pass the number of added bookmarks to ensure that the
// indices of the distribution and default bookmarks are

Просмотреть файл

@ -40,7 +40,6 @@ import org.mozilla.gecko.distribution.Distribution;
import org.mozilla.gecko.favicons.decoders.FaviconDecoder;
import org.mozilla.gecko.favicons.decoders.LoadFaviconResult;
import org.mozilla.gecko.gfx.BitmapUtils;
import org.mozilla.gecko.RestrictedProfiles;
import org.mozilla.gecko.sync.Utils;
import org.mozilla.gecko.util.GeckoJarReader;
import org.mozilla.gecko.util.StringUtils;
@ -225,21 +224,6 @@ public class LocalBrowserDB implements BrowserDB {
}
try {
if (RestrictedProfiles.isRestrictedProfile()) {
// matching on variable name from strings.xml.in
final String addons = "bookmarkdefaults_title_addons";
final String marketplace = "bookmarkdefaults_title_marketplace";
final String regularSumo = "bookmarkdefaults_title_support";
if (name.equals(addons) || name.equals(marketplace) || name.equals(regularSumo)) {
continue;
}
}
if (!RestrictedProfiles.isRestrictedProfile()) {
// if we're not in kidfox, skip the kidfox specific bookmark(s)
if (name.startsWith("bookmarkdefaults_title_restricted")) {
continue;
}
}
final int titleID = fields[i].getInt(null);
final String title = context.getString(titleID);

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 20 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 5.3 KiB

Просмотреть файл

@ -465,12 +465,6 @@
<string name="bookmarkdefaults_title_marketplace">@bookmarks_marketplace@</string>
<string name="bookmarkdefaults_url_marketplace">https://marketplace.firefox.com/</string>
<string name="bookmarkdefaults_title_restricted_webmaker">@bookmarks_restricted_webmaker@</string>
<string name="bookmarkdefaults_url_restricted_webmaker">https://webmaker.org/</string>
<string name="bookmarkdefaults_title_restricted_support">@bookmarks_restricted_support@</string>
<string name="bookmarkdefaults_url_restricted_support">https://support.mozilla.org/kb/kids</string>
<!-- Site identity popup -->
<string name="identity_connection_secure">&identity_connection_secure;</string>
<string name="identity_connection_insecure">&identity_connection_insecure;</string>

Просмотреть файл

@ -62,8 +62,6 @@ final class UnusedResourcesUtil {
R.raw.bookmarkdefaults_favicon_addons,
R.raw.bookmarkdefaults_favicon_marketplace,
R.raw.bookmarkdefaults_favicon_support,
R.raw.bookmarkdefaults_favicon_restricted_support,
R.raw.bookmarkdefaults_favicon_restricted_webmaker,
};
public static final int[] USED_IN_PREFS = {

Просмотреть файл

@ -30,12 +30,4 @@
# link title for https://marketplace.firefox.com
#define bookmarks_marketplace Firefox Marketplace
# LOCALIZATION NOTE (bookmarks_restricted_support):
# link title for https://support.mozilla.org/kb/kids
#define bookmarks_restricted_support Firefox Help and Support for a simplified kid-friendly version of Firefox
# LOCALIZATION NOTE (bookmarks_restricted_webmaker):
# link title for https://webmaker.org
#define bookmarks_restricted_webmaker Learn the Web: Mozilla Webmaker
#unfilter emptyLines