Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 666361a1 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Location: ask for permissions if not granted at time of request

parent 11001291
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
            android:name="org.microg.gms.auth.phone.AskPermissionActivity"
            android:exported="false"
            android:process=":ui"
            android:theme="@style/Theme.AppCompat.DayNight.Dialog.Alert.NoActionBar" />
            android:theme="@style/Theme.Translucent" />

        <service
            android:name="org.microg.gms.auth.phone.SmsRetrieverService"
+11 −0
Original line number Diff line number Diff line
@@ -20,4 +20,15 @@
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="Theme.Translucent" parent="Theme.AppCompat.DayNight.Dialog.Alert.NoActionBar">
        <item name="background">@android:color/transparent</item>
        <item name="android:background">@android:color/transparent</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:backgroundDimEnabled">false</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation</item>
    </style>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -28,6 +28,6 @@
            android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
            android:exported="false"
            android:process=":ui"
            android:theme="@style/Theme.Fido.Translucent" />
            android:theme="@style/Theme.Translucent" />
    </application>
</manifest>
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ class AuthenticatorGetInfoResponse(
            uvModality = obj.get(18)?.AsInt32Value(),
            certifications = obj.get(19)?.entries?.mapNotNull { runCatching { it.key.AsString() to it.value.AsInt32Value() }.getOrNull() }?.toMap(),
            remainingDiscoverableCredentials = obj.get(20)?.AsInt32Value(),
            vendorPrototypeConfigCommands = obj.get(20)?.AsInt32Sequence()?.toList(),
            vendorPrototypeConfigCommands = obj.get(21)?.AsInt32Sequence()?.toList(),
        )
    }

+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ class AuthenticatorActivity : AppCompatActivity(), TransportHandlerCallback {
                if (instantTransport != null && instantTransport.transport in INSTANT_SUPPORTED_TRANSPORTS) {
                    window.setBackgroundDrawable(ColorDrawable(0))
                    window.statusBarColor = Color.TRANSPARENT
                    setTheme(R.style.Theme_Fido_Translucent)
                    setTheme(org.microg.gms.base.core.R.style.Theme_Translucent)
                }
            }

Loading