Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
disroot
disapp
Commits
14a767a6
Commit
14a767a6
authored
Nov 22, 2018
by
Massimiliano
Browse files
Disabled Third party cookies
parent
d0ee12f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/disroot/disrootapp/ui/MainActivity.java
View file @
14a767a6
...
...
@@ -1153,7 +1153,6 @@ public class MainActivity extends AppCompatActivity implements View.OnLongClickL
pbutton.setTextColor(Color.BLACK);
}
@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
...
...
@@ -1341,6 +1340,7 @@ public class MainActivity extends AppCompatActivity implements View.OnLongClickL
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
CookieSyncManager.createInstance(webView.getContext());
cookieManager.setAcceptCookie(true);
cookieManager.setAcceptThirdPartyCookies(webView,false);
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
}
CookieSyncManager syncManager = CookieSyncManager.createInstance(webView.getContext());
...
...
app/src/main/res/xml/changelog_master.xml
View file @
14a767a6
<?xml version="1.0" encoding="utf-8"?>
<changelog>
<release
version=
"1.0.2"
versioncode=
"12"
>
<change>
Third partie cookies disabled
</change>
<change>
Fixed French translation
</change>
<change>
Added more clear dialogs for additional apps
</change>
</release>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment