Follow CreateModule change to take an android.ModuleFactory

I1259d2dd3f7893b5319c333bc180727ac40f9e91 changes CreateModule
to take an android.ModuleFactory.

Test: m checkbuild
Change-Id: I7f8603e357c70bccd001e7361f45be94d36bddca
diff --git a/build/xsdc.go b/build/xsdc.go
index 9df6f2f..d336b53 100644
--- a/build/xsdc.go
+++ b/build/xsdc.go
@@ -186,7 +186,7 @@
 		check_api.Last_released.Removed_api_file = proptools.StringPtr(
 			filepath.Join(api_dir, "last_removed.txt"))
 
-		mctx.CreateModule(android.ModuleFactoryAdaptor(java.DroidstubsFactory), &DroidstubsProperties{
+		mctx.CreateModule(java.DroidstubsFactory, &DroidstubsProperties{
 			Name:                 proptools.StringPtr(name + ".docs"),
 			Srcs:                 []string{":" + name},
 			Args:                 proptools.StringPtr(args),