Referring to the file: ContextImpl.java I do not see any registerService() functions in android 6.0.1
On Monday, August 29, 2016 at 2:20:03 AM UTC+5:30, Daniel Doron wrote: > > I forked linaro's github repo and made adaptations for Android 6 > (Marshmellow) sometime ago.... > > https://github.com/lightydo/framework_base_joffee > https://github.com/lightydo/hardware_joffee > > > On Monday, August 15, 2016 at 9:47:51 PM UTC+3, Steven Leighton wrote: >> >> In case this helps any readers, I worked it out: >> >> I compiled *hardware/mycustomhardware/ *with the lunch shortcut *mmm. *The >> compiled .so file was then added to the system image because the .mk files >> are already edited to do so in the tutorial I followed. Note in the >> tutorial the manually compiled file is then pushed directly to a device, >> this didn't work for me and I couldn't get remounting the system partition >> on device to work either. >> >> The compiled .so file can be added to PRODUCT_COPY_FILES in the device >> specific mk file if need be, copy it to system/lib/hw/ >> >> Lastly, the tutorial incorrectly starts up the custom service in >> context.java, it's now in SystemService.java, and your service will need to >> be added to the SE Linux whitelist. >> > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.