Moved all devpts-centered logic to GenericTermSession. Moved process
group hangup to ShellTermSession. Throw exceptions from pty-related
methods during initialization of BoundSession.
The actionbar overlay show/hide works by swapping the main view
between two custom styles, Theme.Holo and Theme.Holo.ActionBarOverlay.
It turns out that action bar styles must show the window title,
otherwise the actionBar will be invisible and code that calls
getActionBar will get a null action bar.
The bug was that when I updated the custom themes to support Material
Design, I mistakenly changed the custom theme Theme.Holo to inherit
from the custom theme Theme, which hides the window title.
Hence, the window had a theme which hid the window title, and
getActionBar() returned null.
Fixed by undoing the earlier change of theme inheritance. Now the
custom Theme.Holo theme inherits from the system
android:style/Theme.Holo (as it did originally) and this means that
the code gets a non-null action bar, and the actionbar can be
shown/hidden again.
Fixes issue #409 "action bar issue". Tested on emulator running
API level 19.
Fixes issue #410. "Pressing the back button when no soft keyboard is
displayed cause a NullPointerException"
I'm going to leave the extra actionBar == null checks that people
added to work around this bug. They're harmless and will help in
case there's ever some other reason that actionBar is null.
The actionbar overlay show/hide works by swapping the main view
between two custom styles, Theme.Holo and Theme.Holo.ActionBarOverlay.
It turns out that action bar styles must show the window title,
otherwise the actionBar will be invisible and code that calls
getActionBar will get a null action bar.
The bug was that when I updated the custom themes to support Material
Design, I mistakenly changed the custom theme Theme.Holo to inherit
from the custom theme Theme, which hides the window title.
Hence, the window had a theme which hid the window title, and
getActionBar() returned null.
Fixed by undoing the earlier change of theme inheritance. Now the
custom Theme.Holo theme inherits from the system
android:style/Theme.Holo (as it did originally) and this means that
the code gets a non-null action bar, and the actionbar can be
shown/hidden again.
Fixes issue #409 "action bar issue". Tested on emulator running
API level 19.
I'm going to leave the extra actionBar == null checks that people
added to work around this bug. They're harmless and will help in
case there's ever some other reason that actionBar is null.
There's no way to unhide the action bar, so don't let the user hide it.
Added github issue #389 to implement magic material design
scrolling-hides-the-action-bar.
Hide rather than disable the preference for pre-Holo devices. No
reason to show the user a preference that they can't use.
Notify the base class whenever the list of items might have changed. Previously
we did not notfiy for the case where the list of items was deleted.
Fixes an NPE on Nexus 9 running 5.0.1. Could in theory have caused problems
on any device, but for some reason simulated devices don't exhibit the bug.
Moved former native hangupProcessGroup into TermExec as sendSignal. Added some documentation,
that was accidentally removed in 13a90130e1. Bump version numbers
of native libraries to fix#401 and #403 (an ABI compatibility issue, encountered by firmware
developers and people, using ATE as a system app).