Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Commit a109795

Browse files
committed
Update to 63.0.3239.40
1 parent 39aee8d commit a109795

File tree

27 files changed

+297
-48
lines changed

27 files changed

+297
-48
lines changed

Chromium/args.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ enable_nacl = false
1010
remove_webcore_debug_symbols = true
1111
proprietary_codecs = true
1212
ffmpeg_branding = "Chrome"
13-
exclude_unwind_tables = true

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ idea {
6060
}
6161

6262
dependencies {
63-
implementation fileTree(include: ['*.jar'], dir: 'libs')
63+
implementation fileTree(include: ['*.jar'], dir: 'libs')
6464
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibraryVersion"
6565
implementation "com.android.support:design:$rootProject.ext.supportLibraryVersion"
6666
implementation "com.android.support:gridlayout-v7:$rootProject.ext.supportLibraryVersion"

app/libs/gcm.jar

0 Bytes
Binary file not shown.

app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,9 @@ by a child template that "extends" this file.
602602
<category android:name="com.google.intent.category.CARDBOARD" />
603603
</intent-filter>
604604
</activity>
605+
<!-- TODO(crbug.com/780674): retarget .Main back to CTA for non-modern APK -->
605606
<activity-alias android:name="com.google.android.apps.chrome.Main"
606-
android:targetActivity="org.chromium.chrome.browser.ChromeTabbedActivity"
607+
android:targetActivity="org.chromium.chrome.browser.document.ChromeLauncherActivity"
607608
android:exported="true">
608609
<intent-filter>
609610
<action android:name="android.intent.action.MAIN" />
@@ -669,19 +670,30 @@ by a child template that "extends" this file.
669670
</activity>
670671
<activity android:name="org.chromium.chrome.browser.firstrun.LightweightFirstRunActivity"
671672
android:theme="@style/SimpleDialog"
672-
android:launchMode="singleInstance"
673+
android:launchMode="singleInstance"
674+
android:excludeFromRecents="true"
673675
android:autoRemoveFromRecents="true"
674676
android:windowSoftInputMode="stateHidden|adjustPan"
675677
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
678+
>
676679
</activity>
677680
<activity android:name="org.chromium.chrome.browser.firstrun.FirstRunActivity"
678-
android:theme="@style/DialogWhenLarge"
681+
android:theme="@style/FirstRunTheme"
679682
android:launchMode="singleInstance"
680683
android:excludeFromRecents="true"
681684
android:autoRemoveFromRecents="true"
682685
android:windowSoftInputMode="stateHidden|adjustPan"
683686
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
684687
</activity>
688+
<activity android:name="org.chromium.chrome.browser.firstrun.TabbedModeFirstRunActivity"
689+
android:theme="@style/TabbedModeFirstRunTheme"
690+
android:launchMode="singleInstance"
691+
android:excludeFromRecents="true"
692+
android:autoRemoveFromRecents="true"
693+
android:windowSoftInputMode="stateHidden|adjustPan"
694+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
695+
>
696+
</activity>
685697
<activity android:name="org.chromium.chrome.browser.vr_shell.VrFirstRunActivity"
686698
android:exported="false"
687699
android:launchMode="singleInstance"

app/src/main/assets/resources.pak

-120 Bytes
Binary file not shown.

app/src/main/java/org/chromium/base/library_loader/NativeLibraries.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ public class NativeLibraries {
88
public static final String[] LIBRARIES =
99
{"chrome"};
1010
static String sVersionNumber =
11-
"63.0.3239.30";
11+
"63.0.3239.40";
1212
}

app/src/main/java/org/chromium/chrome/browser/ChromeActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public AppMenuHandler get(Activity activity, AppMenuPropertiesDelegate delegate,
237237
private boolean mDeferredStartupPosted;
238238

239239
private boolean mTabModelsInitialized;
240-
private boolean mNativeInitialized;
240+
protected boolean mNativeInitialized;
241241
private boolean mRemoveWindowBackgroundDone;
242242

243243
// The class cannot implement TouchExplorationStateChangeListener,

app/src/main/java/org/chromium/chrome/browser/ChromeTabbedActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2265,7 +2265,7 @@ protected void setStatusBarColor(Tab tab, int color) {
22652265
@Override
22662266
public void onMultiWindowModeChanged(boolean isInMultiWindowMode) {
22672267
super.onMultiWindowModeChanged(isInMultiWindowMode);
2268-
if (!FeatureUtilities.isTabModelMergingEnabled()) return;
2268+
if (!FeatureUtilities.isTabModelMergingEnabled() || !mNativeInitialized) return;
22692269
if (!isInMultiWindowMode) {
22702270
// If the activity is currently resumed when multi-window mode is exited, try to merge
22712271
// tabs from the other activity instance.

app/src/main/java/org/chromium/chrome/browser/ChromeVersionConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class ChromeVersionConstants {
88
static final String PRODUCT_NAME = "Chromium";
9-
static final String PRODUCT_VERSION = "63.0.3239.30";
9+
static final String PRODUCT_VERSION = "63.0.3239.40";
1010
static final boolean IS_OFFICIAL_BUILD = 1 == 1;
1111

1212
static final int PRODUCT_MAJOR_VERSION = 63;

app/src/main/java/org/chromium/chrome/browser/IntentHandler.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import org.chromium.base.metrics.RecordUserAction;
2929
import org.chromium.blink_public.web.WebReferrerPolicy;
3030
import org.chromium.chrome.browser.browserservices.BrowserSessionContentUtils;
31+
import org.chromium.chrome.browser.document.ChromeLauncherActivity;
3132
import org.chromium.chrome.browser.externalauth.ExternalAuthUtils;
3233
import org.chromium.chrome.browser.externalnav.ExternalNavigationDelegateImpl;
3334
import org.chromium.chrome.browser.externalnav.IntentWithGesturesHandler;
@@ -236,15 +237,6 @@ private static ComponentName getFakeComponentName(String packageName) {
236237
public static final String GOOGLECHROME_NAVIGATE_PREFIX =
237238
GOOGLECHROME_SCHEME + "://navigate?url=";
238239

239-
/**
240-
* The class name to be specified in the ComponentName for Intents that are creating a new
241-
* tab (regardless of whether the user is in document or tabbed mode).
242-
*/
243-
// TODO(tedchoc): Remove this and directly reference the Launcher activity when that becomes
244-
// publicly available.
245-
private static final String TAB_ACTIVITY_COMPONENT_CLASS_NAME =
246-
"com.google.android.apps.chrome.Main";
247-
248240
private static boolean sTestIntentsEnabled;
249241

250242
private final IntentHandlerDelegate mDelegate;
@@ -610,7 +602,7 @@ public static void startActivityForTrustedIntent(Intent intent) {
610602
public static void startChromeLauncherActivityForTrustedIntent(Intent intent) {
611603
// Specify the exact component that will handle creating a new tab. This allows specifying
612604
// URLs that are not exposed in the intent filters (i.e. chrome://).
613-
startActivityForTrustedIntentInternal(intent, TAB_ACTIVITY_COMPONENT_CLASS_NAME);
605+
startActivityForTrustedIntentInternal(intent, ChromeLauncherActivity.class.getName());
614606
}
615607

616608
private static void startActivityForTrustedIntentInternal(

0 commit comments

Comments
 (0)