Loading android/app/AndroidManifest.xml +3 −1 Original line number Diff line number Diff line Loading @@ -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" Loading android/app/src/com/android/bluetooth/opp/BluetoothOppLauncherActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -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() { Loading Loading
android/app/AndroidManifest.xml +3 −1 Original line number Diff line number Diff line Loading @@ -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" Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppLauncherActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -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() { Loading