Fix StaticLayoutLineBreaker tests

StaticLayoutLineBreaker fails due to not passing locales to word
breaker. Also addReplacement needs locale and hyphenators.

In addition, need to update mLocales in StaticLayout, otherwise
always pases the locale to native.

Bug: 67020487
Test: bit FrameworksCoreTests:android.text.StaticLayoutLineBreakingTest
Change-Id: I9ef5f9a8d8beabbb4c341f6203635b649d2efed9
3 files changed