It was appearing from the night tile being unavailable and causing
extra nulls in the list. Fix the night mode tile so the nulls don't
happen. Also fix the null handling to avoid this happening with other
bad specs.
Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02
Otherwise the print-client app can prevent the print activity from exiting as
we wait for the command to finish. As this is a violation of the
remote-print-document contract we deal with this similar to a command failure.
As the PrintActivity is exiting we don't further send any commands to the
print-client.
Bug: 27207751
Change-Id: Ieacb16786112f217ca5b8031bfb597598e28dc3d
The main goal of this CL was to change the test cases to send an
EXTRA_ID instead of EXTRA_PID, but in changing that it was revealed 2
minor bugs:
- When setting the name property, it was using id instead of pid (which
is what dumpstate expects).
- When the pid is replaced by the name in the screenshots, it would be
replaced twice if the pid was small enough (because the call to
String.replace() would also replace the counter).
This CL fixes these issues, and removes the temporary assignment of id =
pid when the former is missing.
BUG: 27076108
Change-Id: I70e7ce7d145019438272594686ac0d4d5dbe1723
The animation is not a canned animation anymore but base on
the finger movement of the user.
Bug: 19437552
Change-Id: I0f81ac2ff05a92673e3f3b9b72a5c2de238890d0
- Fix lack of clipping on tablets
- Fix icons disappearing on animation scroll
- Fix brightness width on tablets and y location
Bug: 27278616
Bug: 27294042
Change-Id: I0db5a7fe187931cd39287194ff4b003674893c01
Moves the protos and event log tags into a library,
so the build system doesn't think they're duplicates.
Bug: 27151225
Change-Id: Ic96b6b811d4813a4c48940081ea77b12fb23f0bc
- Start a drag when the user long-presses on an already-selected item.
- Start a drag when the user mouse-drags on an already-selected item.
- Add highlighting of drop targets.
BUG=20556237
Change-Id: I450fd6768eeb08906304227385476942d641fd11
* changes:
Fixing crash when focusing tasks.
Minor tweaks to layout and visuals.
Improving transition from paging to stack.
Fixing issue with persistent screenshot notification
Updating task description when activity is visible.
to reduce some flakiness and save time used on opening test root over
and over again.
Bug: 27271765
Change-Id: I6fa191ed8e0c7e8e071e4dd17c62aab5db1e23a5
- We call bindVisibleTaskViews() at the new scroll value expecting all
visible task views at that scroll to be bound synchronously, however,
the call to computeVisibleTaskTransforms() would not produce the
correct visible range if the visible range at the current and new
scroll resulted in gaps (ie. at scroll 0, 0-3 are visible, and at
scroll s, 5-8 were visible). As a result, the task view would not be
bound, causing a later crash.
Instead of the optimization before, which would assume every task
after the first non-visible task would also be non-visible, we can
just update the transforms for all task views. This ensures that
all visible task views should be bound, even if they are not in a
contiguous range. A global range is still provided in the call to
allow accessibility to focus the next task when a task is unbound at
the two ends of the stack.
- Also removing expensive calls to remove all listeners and cancel
animations that are not even started.
Bug: 27295423
Change-Id: Ib309e9de3095cacb178ae9ff5c53b8ee2c7ddac0
- Constructing max dim paths to be dependent on focused range
- Reducing highlight on tasks
- Making header/icons smaller
Change-Id: Ia7cf8b996428012e9619a640e178b4b42e094d68
- When we start scrolling, project the tasks onto the unfocused curve,
then reduce the offsets from the projected task indices back to the
normal indices as you scroll. This doesn’t give you a perfect result,
especially when scrolling in the same direction as the tasks are
offset, but is better than what we have now.
Change-Id: I055b08257fe1427e00e26ffa02f261cf51a8a2e0
- Ensure that we dismiss notifications when cancelled
- Removing unnecessary notification id and cancel extra
- Fixing the strings when capturing a screenshot fails
Bug: 27149651
Bug: 27177097
Change-Id: Ie2ea4318309fff4041acb04833216fdd5cf8838a
The falsing detection stopped listening for touches
when the lockscreen showed without turning the screen off.
This happens e.g. when SystemUI crashes, when switching users,
when ending lock-to-task.
As a result, the falsing detection usually got stuck on a bad
value and without further touches continued preventing all input.
Bug: 27227578
Change-Id: I6717c04b0271e4d2578b88fc584b6ad46492e497
- Fix handling of tab and backspace keys while in type-to-search mode.
- Fix search term highlighting on directory items in grid view.
- Switch to a time-based search model. Typing starts a search. The
current search expires if no keys are pressed for 500 ms.
- Make type-to-focus case-insensitive.
BUG=27336167
BUG=27324974
Change-Id: I92633222c9a04af24729501c48885eabebf00696
Move fancy drawer "fiddling" to FilesActivity.
Rename the various "Restore" tasks to better reflect their roles.
Change-Id: I7f5c3dee11112bf0a31e6219d09c572c5651629d