Hotfix for Google Login server changes

This commit is contained in:
Marvin W 2016-03-05 21:44:58 +01:00
parent 3ff5ad0e7a
commit 2cd12cced6
2 changed files with 14 additions and 1 deletions

View File

@ -100,6 +100,13 @@ public class LoginActivity extends AssistantActivity {
@Override
public void onPageFinished(WebView view, String url) {
Log.d(TAG, "pageFinished: " + url);
if ("identifier".equals(Uri.parse(url).getFragment()))
runOnUiThread(new Runnable() {
@Override
public void run() {
webView.setVisibility(VISIBLE);
}
});
if ("close".equals(Uri.parse(url).getFragment()))
closeWeb(false);
if (url.startsWith(PROGRAMMATIC_AUTH_URL))

View File

@ -22,7 +22,13 @@
-keep public class com.google.android.gms.plus.plusone.PlusOneButtonCreatorImpl
-keepclassmembers class com.google.android.gms.common.security.ProviderInstallerImpl {
public *;
public *;
}
# Keep AutoSafeParcelables
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable
-keepclassmembers public class * extends org.microg.safeparcel.AutoSafeParcelable {
@org.microg.safeparcel.SafeParceled *;
}
# Keep library info