Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: update Bluetooth stubs for 15 #203

Merged
merged 3 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config-holder/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {
buildToolsVersion = "35.0.0"

defaultConfig {
minSdk = 32
minSdk = 35
targetSdk = 35
versionCode = 141
versionName = versionCode.toString()
Expand Down
18 changes: 9 additions & 9 deletions gmscompat_config
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,21 @@ getName nullString
getAddress String 02:00:00:00:00:00
listenUsingInsecureL2capChannel throw java.io.IOException
getProfileProxy false
registerBluetoothConnectionCallback default
unregisterBluetoothConnectionCallback default
registerBluetoothConnectionCallback void
unregisterBluetoothConnectionCallback void

[android.bluetooth.BluetoothDevice]
getIdentityAddress default
getMetadata default
setMetadata default
setPairingConfirmation default
setSilenceMode default
getIdentityAddress nullString
getMetadata nullArray
setMetadata false
setPairingConfirmation false
setSilenceMode false

[android.bluetooth.BluetoothManager]
openGattServer default
openGattServer void

[android.bluetooth.le.BluetoothLeAdvertiser]
startAdvertisingSet default
startAdvertisingSet void

[android.content.ContentResolver]
registerContentObserver void
Expand Down
2 changes: 1 addition & 1 deletion src/app/grapheneos/gmscompat/GmsCompatConfigParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
public class GmsCompatConfigParser {
private static final String TAG = "GmsCompatConfigParser";

private final boolean strict = Build.isDebuggable() && Build.VERSION.SDK_INT >= 33;
private final boolean strict = false;
private boolean invalid;

private GmsCompatConfigParser() {}
Expand Down