Charles Chen
0783811428
Enable to listen to WindowContext's config changes
This CL overrides registerComponentCallbacks for
WindowContext. Users can use below code snippet
to listen to Configuration changes.
```
Context windowContext = context.createWindowContext(
display, ...);
windowContext.registerComponentCallbacks(
new ComponentCallbacks() {
@Override
public void onConfigurationChanged(
Configuration newConfig) {
// Do Something
}
});
```
Bug: 181134729
Test: atest WindowContextTests
Test: atest ComponentCallbacksControllerTest
Change-Id: Iff46607bae3c942a96b64dcc97708f3a8c33f23a
2021-03-19 21:56:35 +08:00
..
2021-03-09 12:16:33 +08:00
2021-03-19 21:56:35 +08:00
2021-03-12 17:51:10 +00:00
2021-03-09 23:10:06 +00:00
2021-03-06 01:40:10 +00:00
2021-03-19 21:56:35 +08:00
2021-03-05 15:02:34 +00:00
2021-03-12 07:59:09 +00:00
2021-03-12 08:34:38 +00:00
2021-03-13 01:08:48 +00:00
2021-03-12 19:04:59 +00:00
2021-03-13 00:59:22 +00:00
2021-03-12 12:36:27 -08:00
2021-03-02 10:37:41 -08:00
2021-03-11 22:20:16 +00:00
2021-03-12 02:32:22 +00:00
2021-03-10 00:38:53 +00:00
2021-03-12 18:49:49 +00:00
2021-03-05 17:51:03 -08:00
2021-03-13 02:55:58 +00:00
2021-03-10 12:23:24 -08:00
2021-03-14 20:12:31 +00:00
2021-03-15 03:09:26 +00:00
2021-03-12 04:08:56 +00:00