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-01-28 20:42:22 +00:00
2021-02-09 20:13:50 -08:00
2021-03-12 20:20:06 +00:00
2021-03-09 09:25:29 +00:00
2020-12-08 11:01:05 -07:00
2020-10-20 09:04:03 +01:00
2021-02-01 15:04:10 +01:00
2021-03-08 15:04:08 +00:00
2021-02-10 10:06:05 +00:00
2021-02-10 10:06:05 +00:00
2021-03-19 21:56:35 +08:00
2020-11-04 09:45:53 +00:00
2021-03-04 11:18:25 +00:00
2020-11-04 09:45:53 +00:00
2020-10-20 09:04:03 +01:00
2020-10-28 17:27:27 -07:00
2020-10-20 22:00:18 -06:00
2020-10-20 22:00:18 -06:00
2021-03-09 04:35:45 +00:00
2020-10-15 10:48:01 -07:00
2021-03-19 21:56:35 +08:00
2021-03-08 18:07:00 -07:00
2021-03-05 18:51:20 -07:00
2020-11-04 09:45:53 +00:00
2021-03-08 15:04:08 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2021-03-13 01:09:34 +00:00
2021-01-12 16:15:52 -08:00
2021-02-18 16:40:06 -08:00
2020-11-04 09:45:53 +00:00
2020-10-15 10:48:01 -07:00
2021-03-05 12:56:53 +08:00
2020-10-15 10:48:01 -07:00
2020-10-08 17:48:10 -07:00
2020-10-15 10:48:01 -07:00
2020-11-30 20:45:25 -07:00
2021-03-09 16:03:04 +08:00
2021-02-23 12:15:53 -08:00
2020-10-20 22:00:20 -06:00
2020-08-31 21:21:38 -07:00
2021-03-19 21:56:35 +08:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00