We're building an exception message string, but by explicitly invoking
.toString() we're accidentally triggering an NPE rather than the typed
exception we want to throw. Build the string in a way that will be
safe and sensical even if the CharSequence is null.
Bug 29009255
Change-Id: I1813260f0b36fd44506b8327f997dd20c2d6c8bf
Stable insets are not calculated in the first pass, so fetch it
manually if needed to avoid a relayout.
Bug: 28705801
Change-Id: I8f9a3bab96b597a80963d7ebcc8b19454b3e45a6
am: 3152ead0f8
* commit '3152ead0f8cb5994100a423b47907db06d8e0d7b':
redirect adt guide to release notes to consolidate the deprecation message. related deletion of file: https://critique.corp.google.com/#review/123463890
Change-Id: I8ec4aee36c2f39f9590fe94ffa8fa7b8da90cf43
This CL fixes a bug in AbsListView where it was not invalidating
children's bounds when AbsListView's bounds change. This was
triggering bugs where if you set padding on a list view, it would
not resize its children.
Bug: 28800232
Change-Id: I81a4e9ea234c395de80efea5ef5e47a71cb95136
am: d6c76ddc51
* commit 'd6c76ddc51a1b607c50d8e443a7affb9b2e0e1b6':
redirect adt guide to release notes to consolidate the deprecation message. related deletion of file: https://critique.corp.google.com/#review/123463890
Change-Id: Ia14317cc6a292fcda6328d96660db0eda5757e12
Generates an appropriate title and text for MessagingStyle
Notifications, such that SystemUI can generate the appropriate
oneline representation.
Bug: 28934989
Change-Id: Ic23ed18bb9c4af21ad59626ca161ca7abb25a4e9
- In the small-stack cases, set the initial state to top-align the
back-most task. In addition to offsetting the position, ensure that
the dim for the back-most task is offset by this new position.
- Fixing issue with wrong return value when update insets.
- Fixing issue where tasks disappear after rotating while scrolling the
stack, due to the scrollering setting the stack scroll to an invalid
scroll position in the new layout in the new orientation.
Bug: 27859654
Change-Id: Ia4aaa3fe445032493c94a8dee7f6fea33bee36ec
This cl will fix the bug: b/28982885. It enables Raw10 Size Array
only when the device support Raw10.
Change-Id: I6a7a9d47708017f71c47fb5bbb15f3e98b555af4
am: 202017dcbf
* commit '202017dcbf35e54f8aec6f98e5e8b6fe4231f8d5':
Docs: Changed GitHub samples link to point to "Google Samples" page on GitHub.
Change-Id: I8181c5d1679be85be720fe16fd85561a883ab4ce
am: 50f57d1d63
* commit '50f57d1d631eb08744609f9440c935b1e8e86992':
Docs: Changed GitHub samples link to point to "Google Samples" page on GitHub.
Change-Id: I3c60c8a347283c4f107eef0e4efe3cabd9c8795e
- Make sure to retain the state when divider goes through a configuration
change in order to avoid that nothing happens when entering multi-window.
Save the state in DividerState and use a handler that's independant of the
attached state.
- Don't allow home task to dictate orientation unless the docked stack is
minimized. This caused a lot of weird bugs because when docking a task,
home stack gets moved to front, and if home task is front of stack, it
temporarily might dictate the rotation but later not anymore so this
causes two rapid configuration changes which may cause a lot of weirdness.
Change-Id: I6a2308af893cd8413ee8801e5b964f6ddc0abd51
Fixes: 28943853