Skip to content

Commit 26d3fc3

Browse files
author
ComputerElite
committed
Revert "no pls"
This reverts commit fcefc16.
1 parent fcefc16 commit 26d3fc3

4 files changed

Lines changed: 6 additions & 69 deletions

File tree

MainActivity.cs

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -4,86 +4,23 @@
44
using Android.OS;
55
using Android.Runtime;
66
using Android.Webkit;
7-
using AndroidX.Activity.Result;
8-
using AndroidX.Activity.Result.Contract;
97
using AndroidX.AppCompat.App;
108
using AndroidX.Core.App;
119
using AndroidX.Core.Content;
1210
using ComputerUtils.Android;
1311
using ComputerUtils.Android.Logging;
1412
using Google.Android.Material.Snackbar;
15-
using Java.Interop;
1613
using QuestAppVersionSwitcher.Core;
17-
using System;
1814

1915
namespace QuestAppVersionSwitcher
2016
{
21-
public class ActivityCallback : Java.Lang.Object, IActivityResultCallback
22-
{
23-
public IntPtr Handle => throw new NotImplementedException();
24-
25-
public int JniIdentityHashCode => throw new NotImplementedException();
26-
27-
public JniObjectReference PeerReference => throw new NotImplementedException();
28-
29-
public JniPeerMembers JniPeerMembers => throw new NotImplementedException();
30-
31-
public JniManagedPeerStates JniManagedPeerState => throw new NotImplementedException();
32-
33-
public void Dispose()
34-
{
35-
throw new NotImplementedException();
36-
}
37-
38-
public void Disposed()
39-
{
40-
throw new NotImplementedException();
41-
}
42-
43-
public void DisposeUnlessReferenced()
44-
{
45-
throw new NotImplementedException();
46-
}
47-
48-
public void Finalized()
49-
{
50-
throw new NotImplementedException();
51-
}
52-
53-
public void OnActivityResult(Java.Lang.Object result)
54-
{
55-
throw new NotImplementedException();
56-
}
57-
58-
public void SetJniIdentityHashCode(int value)
59-
{
60-
throw new NotImplementedException();
61-
}
62-
63-
public void SetJniManagedPeerState(JniManagedPeerStates value)
64-
{
65-
throw new NotImplementedException();
66-
}
67-
68-
public void SetPeerReference(JniObjectReference reference)
69-
{
70-
throw new NotImplementedException();
71-
}
72-
73-
public void UnregisterFromRuntime()
74-
{
75-
throw new NotImplementedException();
76-
}
77-
}
78-
7917
[Activity(Theme = "@style/AppTheme", MainLauncher = true)]
8018
public class MainActivity : AppCompatActivity
8119
{
8220
WebView webView;
8321
protected override void OnCreate(Bundle savedInstanceState)
8422
{
8523
Android.Webkit.WebView.SetWebContentsDebuggingEnabled(true);
86-
AndroidCore.launcher = RegisterForActivityResult(new ActivityResultContracts.StartActivityForResult(), new ActivityCallback());
8724
base.OnCreate(savedInstanceState);
8825
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
8926
// Set our view from the "main" layout resource

Properties/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.3.2" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="14">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.3.1" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="13">
33
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29" />
44
<uses-permission android:name="oculus.permission.handtracking" />
55
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
// Minor Version
2323
// Build Number
2424
// Revision
25-
[assembly: AssemblyVersion("1.3.2.0")]
26-
[assembly: AssemblyFileVersion("1.3.2.0")]
25+
[assembly: AssemblyVersion("1.3.1.0")]
26+
[assembly: AssemblyFileVersion("1.3.1.0")]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<SelectedDevice>Pixel_5_API_30</SelectedDevice>
5-
<ActiveDebugProfile>Pixel_5_API_30</ActiveDebugProfile>
4+
<SelectedDevice>Oculus Quest</SelectedDevice>
5+
<ActiveDebugProfile>Oculus Quest</ActiveDebugProfile>
66
<DefaultDevice>Pixel_5_API_30</DefaultDevice>
77
<AndroidDesignerPreferredTheme>AppTheme</AndroidDesignerPreferredTheme>
88
<AndroidDesignerPreferredDevice>Nexus 4</AndroidDesignerPreferredDevice>
9-
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
9+
<SelectedPlatformGroup>PhysicalDevice</SelectedPlatformGroup>
1010
</PropertyGroup>
1111
</Project>

0 commit comments

Comments
 (0)