Restructure

This commit is contained in:
Dominik Schürmann
2013-07-01 23:23:53 +02:00
parent 202ccc2c36
commit 14350679d1
8 changed files with 18 additions and 14 deletions

View File

@@ -298,10 +298,6 @@
android:name=".ui.PreferencesActivity" android:name=".ui.PreferencesActivity"
android:configChanges="orientation|screenSize|keyboardHidden|keyboard" android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
android:label="@string/title_preferences" /> android:label="@string/title_preferences" />
<activity
android:name=".ui.CryptoConsumersActivity"
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
android:label="@string/title_crypto_consumers" />
<activity <activity
android:name=".ui.PreferencesKeyServerActivity" android:name=".ui.PreferencesKeyServerActivity"
android:configChanges="orientation|screenSize|keyboardHidden|keyboard" android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
@@ -460,21 +456,25 @@
android:authorities="org.sufficientlysecure.keychain.provider.apgserviceblobprovider" android:authorities="org.sufficientlysecure.keychain.provider.apgserviceblobprovider"
android:permission="org.sufficientlysecure.keychain.permission.ACCESS_API" /> android:permission="org.sufficientlysecure.keychain.permission.ACCESS_API" />
<!-- Crypto Provider internal intents --> <!-- Remote API internal intents -->
<activity <activity
android:name=".crypto_provider.ServiceActivity" android:name="org.sufficientlysecure.keychain.remote_api.ServiceActivity"
android:exported="false" android:exported="false"
android:label="TODO crypto activity" android:label="TODO crypto activity"
android:process=":crypto" > android:process=":crypto" >
<!-- Don't publish intents, they are only used internally! --> <!-- Don't publish intents, they are only used internally! -->
</activity> </activity>
<activity
android:name="org.sufficientlysecure.keychain.remote_api.CryptoConsumersActivity"
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
android:label="@string/title_crypto_consumers" />
<!-- Crypto Provider API --> <!-- Remote API -->
<service <service
android:name="org.sufficientlysecure.keychain.crypto_provider.CryptoService" android:name="org.sufficientlysecure.keychain.remote_api.CryptoService"
android:enabled="true" android:enabled="true"
android:exported="true" android:exported="true"
android:process=":crypto" > android:process=":crypto" >

View File

@@ -5,7 +5,7 @@
<fragment <fragment
android:id="@+id/crypto_consumers_list_fragment" android:id="@+id/crypto_consumers_list_fragment"
android:name="org.sufficientlysecure.keychain.ui.CryptoConsumersFragment" android:name="org.sufficientlysecure.keychain.remote_api.CryptoConsumersFragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />

View File

@@ -1,6 +1,7 @@
package org.sufficientlysecure.keychain.ui; package org.sufficientlysecure.keychain.remote_api;
import org.sufficientlysecure.keychain.R; import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.ui.MainActivity;
import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockFragmentActivity; import com.actionbarsherlock.app.SherlockFragmentActivity;

View File

@@ -1,4 +1,4 @@
package org.sufficientlysecure.keychain.ui; package org.sufficientlysecure.keychain.remote_api;
import org.sufficientlysecure.keychain.provider.KeychainContract.CryptoConsumers; import org.sufficientlysecure.keychain.provider.KeychainContract.CryptoConsumers;
import org.sufficientlysecure.keychain.util.Log; import org.sufficientlysecure.keychain.util.Log;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.sufficientlysecure.keychain.crypto_provider; package org.sufficientlysecure.keychain.remote_api;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
@@ -33,6 +33,7 @@ import org.sufficientlysecure.keychain.util.InputData;
import org.sufficientlysecure.keychain.util.Log; import org.sufficientlysecure.keychain.util.Log;
import org.sufficientlysecure.keychain.R; import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.provider.ProviderHelper; import org.sufficientlysecure.keychain.provider.ProviderHelper;
import org.sufficientlysecure.keychain.remote_api.IServiceActivityCallback;
import org.sufficientlysecure.keychain.service.KeychainIntentService; import org.sufficientlysecure.keychain.service.KeychainIntentService;
import org.sufficientlysecure.keychain.service.PassphraseCacheService; import org.sufficientlysecure.keychain.service.PassphraseCacheService;
import org.sufficientlysecure.keychain.util.PausableThreadPoolExecutor; import org.sufficientlysecure.keychain.util.PausableThreadPoolExecutor;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.sufficientlysecure.keychain.crypto_provider; package org.sufficientlysecure.keychain.remote_api;
interface IServiceActivityCallback { interface IServiceActivityCallback {

View File

@@ -14,10 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.sufficientlysecure.keychain.crypto_provider; package org.sufficientlysecure.keychain.remote_api;
import org.sufficientlysecure.keychain.Constants; import org.sufficientlysecure.keychain.Constants;
import org.sufficientlysecure.keychain.R; import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.remote_api.IServiceActivityCallback;
import org.sufficientlysecure.keychain.helper.PgpMain; import org.sufficientlysecure.keychain.helper.PgpMain;
import org.sufficientlysecure.keychain.provider.ProviderHelper; import org.sufficientlysecure.keychain.provider.ProviderHelper;
import org.sufficientlysecure.keychain.ui.dialog.PassphraseDialogFragment; import org.sufficientlysecure.keychain.ui.dialog.PassphraseDialogFragment;

View File

@@ -19,6 +19,7 @@ package org.sufficientlysecure.keychain.ui;
import org.sufficientlysecure.keychain.Id; import org.sufficientlysecure.keychain.Id;
import org.sufficientlysecure.keychain.R; import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.remote_api.CryptoConsumersActivity;
import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockActivity; import com.actionbarsherlock.app.SherlockActivity;