Write a new UiBench test that opens and closes navigation drawer
on top of a trivial ListView.
Test: Built and ran UiBench tests.
Change-Id: I25413e27f78c756bb48e6dcaa92990592bb5b9de
It is a relic of a more complex time, but has passed out of all
knowledge for too long.
Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
There were two issues:
1) The mGutsMenuItem wasn’t getting nulled out correctly
2) There was no check for guts != null when seeing if there were
exposed guts, this meant the bind would happen when there were no
guts exposed, because mGutsMenuItem wasn’t nulled out correctly, it
would be out of date / still attached to a parent.
Test: Manually tried:
1) Have notifications that *haven’t* had guts revealed
2) Change screen density
1) Have notifications, reveal some of their guts
2) Change screen density
Bug: 34737513
Change-Id: Iff0a782c9377aec973eb07645e852bc320dbb101
If a launcher is resizable, going to minimized mode (dock task and then
press home) would show a cropped height of the task at the top in a
minimized state and the fullscreen stack would show the home launcher
which takes the rest of the remaining height. If the launcher is not
resizable, it will default the original behavior.
To enable this in a launcher, add android:resizeableActivity="true" in
the AndroidManifest.xml in the <application/> tag.
Test: manual - rotating while minimized, minimizing using dragging task
or holding overview nav button, installing resizable launcher with a
non-resizable launcher
Fixes: 32504542
Change-Id: Idf4015b40f9bec81b70f146f0f2d7df8ccfb4cf0
Remove test code path for the a11y volume and only rely on
AccessibilityServicesStateChangeListener. Query whether
any of the running a11y services expose
FLAG_ENABLE_ACCESSIBILITY_VOLUME
Test: enable a service that exposes FLAG_ENABLE_ACCESSIBILITY_VOLUME
(Talkback will do this in the future) and change volume
Bug 30448020
Change-Id: Ib5dff31313c0ec65b3e9982e35c00698adf5b7de
This flag is to enable link to permission in location settings UI
Test: A new string value added
Bug: 34400189
Change-Id: Ie2adeba9634a0e2426b28683da09ad1765b25a3d
Updates gesture to match prototype:
- If you fling towards the current edge the PIP is on it is minimized
- Dragging far enough to left or right edge minimizes PIP
Test: manual
Change-Id: I56664e16505b461ad37b181cbb89ee4c6e371aa2
Handler#sendMessageDelayed() to a wakeful alarm
Messages sent with Handler#sendMessageDelayed() didn't get delivered
until the device woke up after being idle, which resulted in
potentially very long windows of logs accumulation and highly possible
network log loss from before the device becaming idle.
Bug: 34157435
Test: manual with decreased timeout over a few timeout iterations
Change-Id: I22d9cc743acb1a478d2da5407c5718e7f95e89cb
Handler#sendMessageDelayed() to a wakeful alarm
Messages sent with Handler#sendMessageDelayed() didn't get delivered
until the device woke up after being idle, which resulted in
potentially very long windows of logs accumulation and highly possible
network log loss from before the device becaming idle.
Bug: 34157435
Test: manual with decreased timeout over a few timeout iterations
Change-Id: I50b29b9f132856a629e28f46c022f21976bd92fb