OSDN Git Service

Run Bluetooth Opp activities in the phone process.
authorJaikumar Ganesh <jaikumar@google.com>
Fri, 14 May 2010 22:00:28 +0000 (15:00 -0700)
committerJaikumar Ganesh <jaikumar@google.com>
Fri, 14 May 2010 22:04:48 +0000 (15:04 -0700)
There were just too much shared code between the classes - we
cannot have them in 2 different process - it can work sometimes and
will fail sometimes depending on the ordering of processes.
Rework involves a lot of code change at this point of time.

Bug: 2684281
Change-Id: I76784650c5f635c1e961392b682c1d33fc2f343f

AndroidManifest.xml
AndroidManifest_test.xml

index fabdf02..58e0ebc 100644 (file)
@@ -44,6 +44,7 @@
             </intent-filter>
         </receiver>
         <activity android:name=".opp.BluetoothOppLauncherActivity"
+            android:process="@string/process"
             android:theme="@android:style/Theme.Dialog" android:label="@string/bt_share_picker_label">
             <intent-filter>
                 <action android:name="android.intent.action.SEND" />
             </intent-filter>
         </activity>
         <activity android:name=".opp.BluetoothOppBtEnableActivity"
+                  android:process="@string/process"
                   android:excludeFromRecents="true"
                   android:theme="@*android:style/Theme.Dialog.Alert">
         </activity>
         <activity android:name=".opp.BluetoothOppBtErrorActivity"
+                  android:process="@string/process"
                   android:excludeFromRecents="true"
                   android:theme="@*android:style/Theme.Dialog.Alert">
         </activity>
         <activity android:name=".opp.BluetoothOppBtEnablingActivity"
+                  android:process="@string/process"
                   android:excludeFromRecents="true"
                   android:theme="@*android:style/Theme.Dialog.Alert">
         </activity>
         <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
+                  android:process="@string/process"
                   android:excludeFromRecents="true"
                   android:theme="@*android:style/Theme.Dialog.Alert">
         </activity>
         <activity android:name=".opp.BluetoothOppTransferActivity"
+                  android:process="@string/process"
                   android:excludeFromRecents="true"
                   android:theme="@*android:style/Theme.Dialog.Alert">
         </activity>
         <activity android:name=".opp.BluetoothOppLiveFolder"
+            android:process="@string/process"
             android:icon="@drawable/ic_launcher_folder_bluetooth"
             android:label="@string/btopp_live_folder">
             <intent-filter>
             </intent-filter>
         </activity>
         <activity android:name=".opp.BluetoothOppTransferHistory"
+                  android:process="@string/process"
                   android:label=""
                   android:excludeFromRecents="true"
                   android:configChanges="orientation|keyboardHidden">
index de55b5f..0115724 100644 (file)
@@ -45,6 +45,7 @@
             </intent-filter>
         </receiver>
         <activity android:name=".opp.BluetoothOppLauncherActivity"
+            android:process="@string/process"
             android:theme="@android:style/Theme.Dialog" android:label="@string/bt_share_picker_label">
             <intent-filter>
                 <action android:name="android.intent.action.SEND" />
                 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
             </intent-filter>
         </activity>
-        <activity android:name=".opp.BluetoothOppBtEnableActivity">
+        <activity android:name=".opp.BluetoothOppBtEnableActivity"
+            android:process="@string/process">
         </activity>
-        <activity android:name=".opp.BluetoothOppBtErrorActivity">
+        <activity android:name=".opp.BluetoothOppBtErrorActivity"
+          android:process="@string/process">
         </activity>
-        <activity android:name=".opp.BluetoothOppBtEnablingActivity">
+        <activity android:name=".opp.BluetoothOppBtEnablingActivity"
+            android:process="@string/process">
             android:theme="@android:style/Theme.Dialog"> </activity>
-        <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity">
+        <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
+            android:process="@string/process">
         </activity>
-        <activity android:name=".opp.BluetoothOppTransferActivity">
+        <activity android:name=".opp.BluetoothOppTransferActivity"
+            android:process="@string/process">
         </activity>
         <activity android:name=".opp.BluetoothOppLiveFolder"
+            android:process="@string/process"
             android:label="@string/btopp_live_folder">
             <intent-filter>
                 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />