b/27978139
Background: onSaveInstanceState assumes that state of the launcher
is being stored after screen is all binded. However, due to ActivityStack
bug in nyc, onCreate is called twice when the device is rotated while
the Launcher is in the background. The first onCreate fails because
our AndroidManifest is setup with nosensor field and hence doesn't support
Landscape. During this first onCreate, screen is not correctly bound
and incomplete workspace state is saved. This results in the second onCreate
to load wrong screen id.
Fix: While the workspace is still being bound, mSaveState is not reset,
which has the correct values. SaveInstance should use this state
instead of incomplete workspace state.
Change-Id: I5b80f584e55769b2a8ffa292f5daa4705c20086d
am: 462b5cca7b
* commit '462b5cca7bb1d5e24fb8277b0cfe238cc2e1e980':
Extract color for the hotseat.
Change-Id: I83fe42945ff7e32d69885040f3eb473a12141e01
- Only considers the bottom fourth of the wallpaper
- Is translucent black or white depending on how dark/light
the wallpaper is
- Hotseat extends behind the nav bar
Bug: 27230217
Change-Id: Id4ea6ee91b4dd221b4c277d22d5041cab178801d
am: 34a2d31f32
* commit '34a2d31f3208c64f6ebf403f8a0cb6ea96461747':
Adding a utility class for persistant logging.
Change-Id: Ib5ce8987d9271379165d34ff3829482b7509e732
am: ac6d3a87ae
* commit 'ac6d3a87ae9a31873a34f3eae01979910740ade1':
Fixing bug where the widget background enters into a focused state if a child calls requestFocus in xml
Change-Id: I768f13b539e4de683925f94d29d092023660c371
The logs are kept for at max 48 hours. It uses two log files and switches
between the two based on the day of the year.
Change-Id: I9a99499b3445a62f29f62a5cd13db20b1783bcd3
am: 1afc1b3d3a
* commit '1afc1b3d3a6573c3729870c29bac405ef5bd6315':
Workaround issue where IME doesn't show up when tapping folder text
Change-Id: I8c5caea733020b0eafc34c30b9f46a4dce4cbeec
Rational/Background:
@MediumTest: An integration or functional test that validates the
interaction of one or more application modules on a single machine.
(should run under 1 sec: Usually get killed after 5 min)
@LargeTest: A system test, integration test, or end-to-end test that
verifies that a complete application works and accounts for the behavior
of external subsystems.
(Usually get killed after 15 min)
Change-Id: I8b668af3d2ca09c43ad45c6fd72b1d0d80c6b7d3
am: bd42ba73b2
* commit 'bd42ba73b23d0470b675af73a721fc1d019be39d':
Return 1f in Log(Ac/De)celerateInterpolators on a 1f input.
Change-Id: Iae6c49b04d4b360d3e89928643c7e96ad6caecf0
In battery saver mode, animations skip directly to the final values.
For LogDecelerateInterpolator, however, an input of 1f outputs an
interpolated 0.99999994. This meant that the FirstFrameAnimatorHelper
didn't realize that this was the last frame, and messed things up.
Since any interpolator should return 1 on an input of 1, we just
short-circuit in that case for the log interpolators.
Bug: 25666809
Change-Id: I60527e3758cea383fbcf50acb95460a7bd9ab43c
(cherry picked from commit 8dd2409923)
In battery saver mode, animations skip directly to the final values.
For LogDecelerateInterpolator, however, an input of 1f outputs an
interpolated 0.99999994. This meant that the FirstFrameAnimatorHelper
didn't realize that this was the last frame, and messed things up.
Since any interpolator should return 1 on an input of 1, we just
short-circuit in that case for the log interpolators.
Bug: 25666809
Change-Id: I60527e3758cea383fbcf50acb95460a7bd9ab43c
-> Various calls on EditText don't work when calling from
onFocusChange, post instead
issue 28523980
Change-Id: Ib9972c3c5083450412340f27bdd231605957ae6f
> Making all twoState prefs backed by content provider
> Using the stadard intent defined in N for settings
> Using SharedPrefsListener instead of LauncherProvider
Change-Id: I8272f54aa780bc0436e3d0aa89096a4bd2a9194f
The flag we check for package suspension is reused by a hidden constant
prior to N, so the flag should only be checked on N or later system.
Bug: 28390176
Change-Id: Ia28f62991cc2cd1b5d2cc27a5f11f7edca0ba02b
(cherry picked from commit 3ee9080fb4)
The flag we check for package suspension is reused by a hidden constant
prior to N, so the flag should only be checked on N or later system.
Bug: 28390176
Change-Id: Ia28f62991cc2cd1b5d2cc27a5f11f7edca0ba02b
change for launcher when going in/out of another app
Bug: 27600678
Change-Id: Ic873faba99c539025769d911bc7b0a4fed629cd7
(cherry picked from commit 784f9c3996)