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

Commit 0f4902ce authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Make Bluetooth encryption aware

am: 237b60d7

* commit '237b60d7':
  Make Bluetooth encryption aware

Change-Id: I9e9f85059213a41cea86bfb98795fff96d35fadf
parents a545ff01 237b60d7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -76,7 +76,9 @@
        android:persistent="false"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:usesCleartextTraffic="false">
        android:usesCleartextTraffic="false"
        android:directBootAware="true"
        android:defaultToDeviceProtectedStorage="true">
        <uses-library android:name="javax.obex" />
        <provider android:name=".opp.BluetoothOppProvider"
            android:authorities="com.android.bluetooth.opp"
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ public class BluetoothOppLauncherActivity extends Activity {
                } else if (extra_text != null && type != null) {
                    if (V) Log.v(TAG, "Get ACTION_SEND intent with Extra_text = "
                                + extra_text.toString() + "; mimetype = " + type);
                    final Uri fileUri = creatFileForSharedContent(this, extra_text);
                    final Uri fileUri = creatFileForSharedContent(this.createCredentialProtectedStorageContext(), extra_text);
                    if (fileUri != null) {
                        Thread t = new Thread(new Runnable() {
                            public void run() {