Skip to content

Commit

Permalink
Updated Code Samples
Browse files Browse the repository at this point in the history
  • Loading branch information
dthian committed Aug 19, 2020
1 parent 6286de1 commit f3f3833
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
5 changes: 0 additions & 5 deletions code-samples/virocore-helloworld-vr/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ android {

productFlavors {
flavorDimensions "vr_platform"
gvr {
resValue "string", "app_name", "ViroSample-GVR"
applicationIdSuffix ".gvr"
buildConfigField "String", "VIRO_PLATFORM", "\"GVR\""
}
ovr {
resValue "string", "app_name", "ViroSample-OVR"
applicationIdSuffix ".ovr"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,15 @@
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<meta-data
android:name="com.viromedia.API_KEY"
android:value="YOUR_API_KEY_HERE" />
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>

<activity
android:name="com.example.virosample.ViroActivityVR"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape">
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode"
android:launchMode="singleTask"
android:resizeableActivity="false">
<intent-filter>
<category android:name="com.google.intent.category.CARDBOARD" />
<category android:name="com.google.intent.category.DAYDREAM" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Expand Down
2 changes: 1 addition & 1 deletion code-samples/virocore-helloworld-vr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.5.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Oct 02 11:03:21 EDT 2019
#Wed Aug 19 10:59:29 PDT 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
Binary file not shown.

0 comments on commit f3f3833

Please sign in to comment.