clean up of debugging

This commit is contained in:
amer cerkic 2019-02-27 15:35:33 -08:00
parent 29ec5486f6
commit a425becc8a
4 changed files with 9 additions and 8 deletions

View file

@ -28,7 +28,7 @@
android:excludeFromRecents="true"> android:excludeFromRecents="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.INFO" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity

View file

@ -23,13 +23,15 @@ public class PermissionsChecker extends Activity {
private static final String EXTRA_ARGS = "args"; private static final String EXTRA_ARGS = "args";
private String mArgs; private String mArgs;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
mArgs =(getIntent().getStringExtra(EXTRA_ARGS)); mArgs =(getIntent().getStringExtra(EXTRA_ARGS));
System.out.println("QQQ_ launched args: "+mArgs); if(!TextUtils.isEmpty(mArgs)) {
System.out.println("Application launched with following args: " + mArgs);
}
requestAppPermissions(REQUIRED_PERMISSIONS,REQUEST_PERMISSIONS); requestAppPermissions(REQUIRED_PERMISSIONS,REQUEST_PERMISSIONS);
} }

View file

@ -46,7 +46,6 @@ public class OculusMobileActivity extends QtActivity implements SurfaceHolder.Ca
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
Log.w(TAG, "QQQ onCreate"); Log.w(TAG, "QQQ onCreate");
// Create a native surface for VR rendering (Qt GL surfaces are not suitable // Create a native surface for VR rendering (Qt GL surfaces are not suitable
// because of the lack of fine control over the surface callbacks) // because of the lack of fine control over the surface callbacks)

View file

@ -2419,8 +2419,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
pauseUntilLoginDetermined(); pauseUntilLoginDetermined();
#if defined(Q_OS_ANDROID) #if defined(Q_OS_ANDROID)
// / const QString QUEST_DEV = "hifi://quest-dev"; const QString QUEST_DEV = "hifi://quest-dev";
// DependencyManager::get<AddressManager>()->handleLookupString(QUEST_DEV); DependencyManager::get<AddressManager>()->handleLookupString(QUEST_DEV);
#endif #endif
} }
@ -3669,8 +3669,8 @@ void Application::handleSandboxStatus(QNetworkReply* reply) {
// If this is a first run we short-circuit the address passed in // If this is a first run we short-circuit the address passed in
if (_firstRun.get()) { if (_firstRun.get()) {
#if !defined(Q_OS_ANDROID) #if !defined(Q_OS_ANDROID)
// DependencyManager::get<AddressManager>()->goToEntry(); DependencyManager::get<AddressManager>()->goToEntry();
// sentTo = SENT_TO_ENTRY; sentTo = SENT_TO_ENTRY;
#endif #endif
_firstRun.set(false); _firstRun.set(false);