Fan Zhang b1b07e2030 Convert xml based API allowDynamicSummaryInSlice to java
- Add boolean useDynamicSliceSummary() in Sliceable interface. This is
  the switch equivalent to android:allowDynamicSummaryInSlice in xml. It
  moves the setter closer to regular Sliceable APIs, thus less easily to
  miss.
- Coverted all android:allowDynamicSummaryInSlice to use the java API.
  - Except 2 prefs in my_device_info. They incorrectly set this to true
  previously (controller is not sliceable, no point setting
  dynamicSliceSummary to true. They just won't do anything)

Fixes: 128446156
Test: robolectric
Change-Id: Ic57acd590dec3e87dcf4592df137321d14b854d9
2019-04-01 12:39:30 -07:00
2019-03-27 07:14:20 +08:00
2019-03-27 07:14:20 +08:00
2018-12-18 09:51:08 +00:00
2018-12-19 20:24:23 -08:00
2019-02-06 15:44:40 +00:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%