This reverts commit cd9997f3027dbee6f04c4322af1d0d376029e72e.
Reason for revert: This first reverting is because the CL has to be
submitted with ag/10523008, but they didn't even they had the same topic.
Revert the first reverting together with submitting ag/10523008.
Bug: 150742983
Change-Id: I6c8fb640d1334f2114d6d7b01a44be1a202f0bda
Since the properties are not persistent, reboot the device to clean
up after doing the test.
Test: atest BootImageProfileTest and verify properties
Bug: 151798523
Change-Id: Icf120e032c12f83635b3d9e8cdc764b4ebd817dd
Revert "DO NOT MERGE: properties: Toggle iorapd off by default."
Revert submission 10488248-iorap-off-by-default
Reason for revert: we now have better debugging support (dumpsys/systrace) in iorapd
Reverted Changes:
I805731d56:DO NOT MERGE: pinner: Toggle camera pinning on by ...
I04f249da4:DO NOT MERGE: properties: Toggle iorapd off by def...
Bug: 150711178
Change-Id: Ied7176eb15da5cf89891b6aeec078aa25d03ebcb
We meant to save states for all leaf tasks, including one layer task,
which is excluded by the condition checked before.
Bug: 152318088
Test: Smoke tests.
Change-Id: Iadd8aa60ffe254398d242a12dae39148314891c8
Text was ambiguous and could mean callback object construction instead
of toast construction.
Test: Builds
Bug: 144152069
Change-Id: I06160de2b85f339517ae45d3bd4cc1098f433ef0
We used to always create a task even though we knew there was only one
task ever created under a stack. Thus the onTaskCreated() notification
is always sent with correct component name. However after we merged
stack & task in some cases, stack can be reused as a task and listeners
(e.g. SysUI) lost a useful notification as when stack is created
componentName is still null. Therefore send out the notification when
reuse is decided. Listeners can determine if it's a root task or leaf
task from the nullness of component name.
Bug: 150252489
Test: Smoke tests & TH.
Change-Id: I0896307fd6bbfa53d95843043235e506e1a97a43
This service was added for testing and is no longer needed.
Test: Tested locally
BUG: 152189559
FIX: 152189559
Change-Id: I824dd1956e8b7e42d2e00dac7771d58c00b74338
The underlying model is updated when a favorite is added/removed. Now
recycled views will have the correct information when re-binding.
Test: atest AllModelTest
Test: manual
Fixes: 152030233
Change-Id: I1cd16585a37c8c79384a7f4bf051652f5941b65e
Previously, a sleep token wass acquired when the dream starts. This was
done because the dream was implemented as a floating window.
Acquiring the sleep token puts all other activities in a sleeping state.
Since ag/10493254, the dream is implemented using an activity. When the
activity shows on top of other activities, the rest are automatically
moved to a STOPPED state. Hence, the sleep token is no longer needed and
can be removed.
Bug: 152284980
Test: m && flash && verify dream start/stop works + it doesn't interfere
with the keyguard
Change-Id: I00fc4b0b0e63702086fb283329605556936ec084