Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 2941173002: Prevent "Incompatible App" message when entering VR. (Closed)

Created:
3 years, 6 months ago by mthiesse
Modified:
3 years, 5 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent "Incompatible App" message when entering VR. This CL adds VR manifest filters to convince Daydream that Chrome supports VR, to avoid Daydream showing the Incompatible App message. We can finally do this because the 1.6 Daydream SDK allows us to provide our own VR entry intent and avoid getting stuck on the contoller pairing screen. Brief backstory on why we need our own VR entry intent is because CustomTab cannot be resumed via Daydreams normal intent - it needs to be a BroadcastIntent. This means we can also remove the launchInVr() code and simply try to enter VR when requested and the GvrLayout will handle calling the DON flow. BUG=717721 Review-Url: https://codereview.chromium.org/2941173002 Cr-Commit-Position: refs/heads/master@{#482638} Committed: https://chromium.googlesource.com/chromium/src/+/eafc049ccec45550ea86089c463918131d04e927

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add comments #

Patch Set 3 : Resolve findbugs issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -38 lines) Patch
M chrome/android/java/AndroidManifest.xml View 9 chunks +37 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 4 chunks +15 lines, -26 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java View 1 2 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
mthiesse
dtrainor, please review AndroidManifest changes. ymalik, please review vr_shell changes.
3 years, 6 months ago (2017-06-15 23:40:55 UTC) #2
ymalik
https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java (right): https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java#newcode124 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java:124: setReentryIntent(VrShellDelegate.getEnterVrPendingIntent(activity)); Where is this function defined and what does ...
3 years, 6 months ago (2017-06-16 14:19:38 UTC) #3
mthiesse
https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java (right): https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java#newcode124 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java:124: setReentryIntent(VrShellDelegate.getEnterVrPendingIntent(activity)); On 2017/06/16 14:19:38, ymalik wrote: > Where is ...
3 years, 6 months ago (2017-06-16 14:35:28 UTC) #4
ymalik
vr_shell lgtm https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java (right): https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java#newcode124 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java:124: setReentryIntent(VrShellDelegate.getEnterVrPendingIntent(activity)); On 2017/06/16 14:35:28, mthiesse wrote: > ...
3 years, 6 months ago (2017-06-16 14:41:06 UTC) #5
mthiesse
Ping dtrainor, PTAL. https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java (right): https://codereview.chromium.org/2941173002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java#newcode124 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java:124: setReentryIntent(VrShellDelegate.getEnterVrPendingIntent(activity)); On 2017/06/16 14:41:06, ymalik wrote: ...
3 years, 6 months ago (2017-06-20 13:28:22 UTC) #6
David Trainor- moved to gerrit
lgtm. +tedchoc@ for fyi. Sorry I missed this I've been using the new code review ...
3 years, 6 months ago (2017-06-23 06:20:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2941173002/20001
3 years, 6 months ago (2017-06-23 22:16:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/296633)
3 years, 6 months ago (2017-06-23 23:21:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2941173002/40001
3 years, 5 months ago (2017-06-27 15:09:40 UTC) #15
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 15:55:43 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eafc049ccec45550ea86089c4639...

Powered by Google App Engine
This is Rietveld 408576698