Seeing as they appear to have gone after Samsung, and not Google, whose keyboard also has this functionality (and in fact, an image of the Google keyboard appears to have been used in the ruling, referred to as an image of Samsung's), it seems more like a specific attack on Samsung with anything they can find, rather than them tracking down anyone infringing on that specific patent. There are literally hundreds of keyboards in the Play Store that have this functionality, as well as it being a staple feature of every modern mobile OS platform. I doubt they'll care much about your app TBH. You should be safe enough.