Make the sync adapter driver understand the new settingsActivity
parameter. Bug: 5204776 Change-Id: I66c5f40f8cc460479232ecdb71c4e8e0495058c3
This commit is contained in:
@@ -371,8 +371,11 @@ public class SyncAdapterDriver extends Activity
|
|||||||
com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, false);
|
com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, false);
|
||||||
final boolean allowParallelSyncs = sa.getBoolean(
|
final boolean allowParallelSyncs = sa.getBoolean(
|
||||||
com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, false);
|
com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, false);
|
||||||
|
final String settingsActivity =
|
||||||
|
sa.getString(com.android.internal.R.styleable
|
||||||
|
.SyncAdapter_settingsActivity);
|
||||||
return new SyncAdapterType(authority, accountType, userVisible, supportsUploading,
|
return new SyncAdapterType(authority, accountType, userVisible, supportsUploading,
|
||||||
isAlwaysSyncable, allowParallelSyncs);
|
isAlwaysSyncable, allowParallelSyncs, settingsActivity);
|
||||||
} finally {
|
} finally {
|
||||||
sa.recycle();
|
sa.recycle();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user