If you put your Native Activity apk in /vendor, the .so file will not be extracted and dropped by package manager due to security reason?
NativityActivity should be treated as same as JNI apps.
There is also some problem, if you put your Native code in /system/lib, the NativeActivity can not load it.
It looks like Native Activity forgot to handle this cases, it should work the same way that JNI does (it loads .so file from apps's libs folder, or /system/lib folder)
Can google team put this into consideration? There maybe more native activity developers want to deploy their apps into /vendor on device ROM.
Regards,
Chinlin