FIX: [droid] crash if an app is favourited, then uninstalled from system

/cc @t-nelson 
size_t or just switch to iterators.  Same for loop index below.