Skip to content

Commit

Permalink
push to 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
appt2 committed May 11, 2024
1 parent cd04c11 commit 4d50f5f
Show file tree
Hide file tree
Showing 10 changed files with 5,636 additions and 5,131 deletions.
65 changes: 58 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -438,13 +438,64 @@
android:supportsPictureInPicture="true"

/>
<activity
android:name=".activities.BrowserActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
android:hardwareAccelerated="true"
android:supportsPictureInPicture="true"

/>
<activity
android:name=".activities.BrowserActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
android:hardwareAccelerated="true"
android:label="Ghost web Browers"
android:supportsPictureInPicture="true"

>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="about" />
<data android:scheme="javascript" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="file" />
<data android:scheme="content" />
<data android:scheme="inline" />
<data android:mimeType="text/html" />
<data android:mimeType="text/plain" />
<data android:mimeType="application/xhtml+xml" />
<data android:mimeType="application/vnd.wap.xhtml+xml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="file" />
<data android:scheme="content" />
<data android:mimeType="application/x-webarchive-xml" />
</intent-filter>
<intent-filter>
<action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.WEB_SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MEDIA_SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".activities.PdfViewNewActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.net.ConnectivityManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.view.Menu;
Expand Down Expand Up @@ -122,7 +123,9 @@ public boolean onOptionsItemSelected(MenuItem menu) {
// TODO: Implement this method
int id = menu.getItemId();
if (id == R.id.reload) {
view.loadUrl(getIntent().getStringExtra("test"));
Uri uri = getIntent().getData();
String s = uri.toString();
view.loadUrl(getIntent().hasExtra("test") ? getIntent().getStringExtra("test") : s);
bar.setVisibility(View.VISIBLE);
return true;
} else if (id == R.id.back_to_home) {
Expand All @@ -146,7 +149,9 @@ public void ConnectionIS() {
// TODO: Implement this method
emptyView.setVisibility(View.GONE);
view.setVisibility(View.VISIBLE);
view.loadUrl(getIntent().getStringExtra("test"));
Uri uri = getIntent().getData();
String s = uri.toString();
view.loadUrl(getIntent().hasExtra("test") ? getIntent().getStringExtra("test") : s);
bar.setVisibility(View.VISIBLE);
}

Expand Down
Loading

0 comments on commit 4d50f5f

Please sign in to comment.