Check mIncludeCode before building appComponentFactory

It should be impossible to resolve a custom appComponentFactory
if the LoadedApk doesn't contain any code paths, so just skip
it to avoid logging an incorrect error.

Bug: 146219140

Test: manual force updateApplicationInfo call, verify bunch of
        errors before fix, no logs after fix; rest of device works

Change-Id: Icbb8533c95c9437ec0a946886e00b9c341e21796
1 file changed