33164 Commits

Author SHA1 Message Date
Chong Zhang
7a8c2b18b8 Merge "Fix FLAG_ACTIVITY_CLEAR_TOP not working for aliased activities" 2016-02-01 23:27:36 +00:00
Makoto Onuki
d38308e4d0 Merge "Fix DPM unit tests" 2016-02-01 23:24:20 +00:00
Makoto Onuki
3f3657a61b Fix DPM unit tests
Bug 26911599

Change-Id: I874c9cd4f63c79bc984777ef3b1b654a414c4911
2016-02-01 15:21:49 -08:00
Arunesh Mishra
e909d94e03 Merge "Fix moduleProperties in SoundTriggerInternal." 2016-02-01 23:15:25 +00:00
Rob Carr
d7e4acba06 Merge "Ensure Surface matrix set even when size unchanged." 2016-02-01 23:12:14 +00:00
Rob Carr
d1a668fd9a Merge "Allow saving child surfaces." 2016-02-01 23:11:51 +00:00
Robert Carr
7098dbd4d6 Allow saving child surfaces.
We can and should save child surfaces as the client side window
state hasn't been torn down in the case where we would otherwise save.
So, if we destroy the Surface, the client will continue to render
and crash.

Bug: 26793431
Bug: 25780116
Bug: 26777815
Change-Id: Ia043b7af24b9370fc17a5b57226566f94c08ba4e
2016-02-01 23:09:16 +00:00
Rubin Xu
7e444c0059 Merge "Mask widgets for suspended packages." 2016-02-01 22:46:02 +00:00
Chong Zhang
6bdc7e1cdf Fix FLAG_ACTIVITY_CLEAR_TOP not working for aliased activities
bug: 26216591
Change-Id: I26528b7613bd8aa80fc7f4d6b64ea7bf639935d3
2016-02-01 14:33:53 -08:00
Jorim Jaggi
ccdab44d25 Merge changes Ie6c1ea33,Id1af37e6,I9c474f7a,I439c9b66
* changes:
  Reset create state in moveTaskToStack
  Divider tuning
  Fix transition to recents in docked mode
  Fix flicker and other weirdness
2016-02-01 22:18:21 +00:00
Arunesh Mishra
55a9b0089c Fix moduleProperties in SoundTriggerInternal.
Change-Id: Ie7ea74ca39894f78875768dbc3e504b32f262fe6
2016-02-01 14:14:06 -08:00
Rubin Xu
d09020576f Mask widgets for suspended packages.
Bug: 22776761
Change-Id: I271257e765a2297c780ac2bd37426d8fb451e5d9
2016-02-01 22:06:06 +00:00
Jorim Jaggi
9349e65a2d Reset create state in moveTaskToStack
One could call moveTaskToStack with DOCKED_STACK as argument. In that
case, we also need to set the create state so it resets it to
something sane.

Change-Id: Ie6c1ea33e4ec3c4cd2a935dc186d2b496289946f
2016-02-01 13:46:30 -08:00
Oleksandr Peletskyi
8e9316cdde Merge "Added restriction that disallows ability to set wallpaper. BUG: 24890474" 2016-02-01 21:30:43 +00:00
Fyodor Kupolov
c34c37f74f Merge "Synchronously finish boot when user starts in background" 2016-02-01 21:21:46 +00:00
Robert Carr
e1034cc39a Ensure Surface matrix set even when size unchanged.
Simple error preventing transform matrices from being
updated when the size isn't changed.

Bug: 26454664
Bug: 25287371
Change-Id: I0e1a71ceda725e26d49786593665cf0865213c91
2016-02-01 13:08:15 -08:00
Julia Reynolds
f1c00cf3d1 Merge "Send ranking update on importance change." 2016-02-01 20:59:06 +00:00
Julia Reynolds
3588e597d2 Merge "Re-SystemApi some fields/method that aren't in use." 2016-02-01 20:37:41 +00:00
Julia Reynolds
69766695c6 Send ranking update on importance change.
Bug: 26882239
Change-Id: Iae5703a5b024a75b8adc8c5c9c107bfa57013f5b
2016-02-01 15:35:08 -05:00
Jorim Jaggi
c6c89a8214 Fix transition to recents in docked mode
Transition for non-compatible apps will be handled in a separate CL.

Change-Id: I9c474f7aa394e4f3eacd1845c78bee5874bd8a59
2016-02-01 12:19:53 -08:00
Jorim Jaggi
e909802b41 Fix flicker and other weirdness
- When moving tasks to/from fullscreen <-> docked stack, don't
replace windows, but preserve them.
- Fix a bug where we didn't called prepareFreezingBounds which
caused the clip rect to be set to (0, 0, 0, 0) for one frame

Bug: 26070457
Change-Id: I439c9b6612367babfbf31899022209eeee3e1be1
2016-02-01 12:16:47 -08:00
Wale Ogunwale
cd872fb266 Merge "Improved logic for determining visiblility of activities in the home stack" 2016-02-01 19:10:22 +00:00
Wale Ogunwale
bc088392fc Merge "Allow activities without FLAG_ACTIVITY_NEW_TASK set to be home activities" 2016-02-01 19:09:27 +00:00
Oleksandr Peletskyi
f2519814cc Added restriction that disallows ability to set wallpaper.
BUG: 24890474

Change-Id: I424aa80d914e3b6f3f9eba8ccb4802bad6f54907
2016-02-01 20:00:25 +01:00
David Brazdil
8486786493 Merge "Add 'package compile' shell command" 2016-02-01 18:44:22 +00:00
David Brazdil
493411ace4 Add 'package compile' shell command
Bug: 26707406
Change-Id: I554969c9f3b3153179370d3d23a88fa7e8693885
2016-02-01 18:32:55 +00:00
Makoto Onuki
b4ec8aaaba Merge "Revert "Throw for unknown user restrictions."" 2016-02-01 18:26:08 +00:00
Makoto Onuki
2ec157d928 Revert "Throw for unknown user restrictions."
This reverts commit 3861bf7e73fab9e39e8d1f6e5194f3600ed929a0.

Bug 26896902

Change-Id: I26fa0159b5bb832048ccd013054a01f91b54947b
2016-02-01 18:23:55 +00:00
Julia Reynolds
a62496d8f7 Re-SystemApi some fields/method that aren't in use.
Bug: 26816334
Change-Id: Ib01e7856cd65e294c018017c600f8b3dce2be844
2016-02-01 12:55:39 -05:00
Filip Gruszczynski
3d7fdc1112 Ensure visibility of pinned activity when starting it.
Currently we depend on resuming focused activity within the focused
stack to make it visible. This doesn't work for pinned stack, because
neither the stack nor the activity are focused and as a result the
pinned activity doesn't get resumed and made visible. We need to
explicitly force visibility without focusing the stack.

This fixes two issues:
* pinned activity not showing up when launched from a different full
screen stack activity;
* no entry animation when launching the activity from another full
screen stack.

Bug: 26891834
Bug: 25672053
Change-Id: I83065e10a2d237f1a1f26115e94c6648570e1d7f
2016-02-01 09:17:03 -08:00
Jason Monk
c767a1f988 Merge "Add some cmds for statusbar" 2016-02-01 16:39:06 +00:00
Rubin Xu
cae0627461 Merge "Canel all work notification when the profile is turned off" 2016-02-01 16:32:21 +00:00
Rubin Xu
7eadc1bf68 Canel all work notification when the profile is turned off
When the work profile is turned off, all work apps are killed and the
profile marked as stopped. Cancel all pending work notifications
immediately in this case, with a new reason.

Bug: 22541941
Change-Id: I97935c3bac3eba1e9c38f7449ebcc182f6c66769
2016-02-01 16:13:45 +00:00
Dan Sandler
8766c398df Make color matrix parsing more robust.
Bug: 26880793
Change-Id: I95e1b24ed949c6b341ecee7de5732a286c674824
2016-02-01 16:13:15 +00:00
Shreyas Basarge
40a11e525c Merge "Updated Javadoc to reflect min period" 2016-02-01 16:07:21 +00:00
Shreyas Basarge
e96c3b7eff Updated Javadoc to reflect min period
Javadoc updated and logging added for
min period and min flex enforcements
in JobScheduler and SyncManager.

Bug: 26874152
Change-Id: Ifdd248b776a1bd04df21b7b9f0ac96bdef0f8bb6
2016-02-01 16:03:36 +00:00
Shreyas Basarge
a491c07f36 Merge "SyncManager on JobScheduler" 2016-02-01 15:32:58 +00:00
Matthew Williams
b053d468dc Merge "Revert "Bugfix for accountsUpdated receiver in SyncManager"" 2016-02-01 15:16:57 +00:00
Matthew Williams
e4d4435e23 Revert "Bugfix for accountsUpdated receiver in SyncManager"
Hastily submitted this patch which is already fixed in ag/846619
reverting for simplicity of merge
This reverts commit d9be7216fdfc8eeebb9090af8eacd327cc0d2e1a.

Change-Id: I799869c33f42044ee4e06477ee46b83a3436cc40
2016-02-01 15:16:14 +00:00
Matthew Williams
a26bd2ab99 Merge "Bugfix for accountsUpdated receiver in SyncManager" 2016-02-01 15:14:49 +00:00
Wale Ogunwale
3dcb080b4a Merge "Renamed Activity class multi-window APIs" 2016-02-01 15:04:48 +00:00
Wale Ogunwale
3b93a4d351 Renamed Activity class multi-window APIs
As requested by API council.

Bug: 26507736
Change-Id: I2a87c5eb3c1b48d52703103c2a4f72c250a9a827
2016-02-01 06:58:31 -08:00
Jason Monk
7e53f20c83 Add some cmds for statusbar
They will be used for tests?!

Also move around where some of the tile lifecycle happens so that
it can easily be shared with these commands.

Change-Id: I72386afce5a2d335df45ecc5946679efcd826bae
2016-02-01 09:55:28 -05:00
Nicolas Prévot
20a0e405aa Merge "Don't forward an intent if all handlers are suspended." 2016-02-01 14:52:03 +00:00
Shreyas Basarge
23b1de1122 Merge "Run PeriodicJobs only if constraints are satisfied" 2016-02-01 14:33:44 +00:00
Narayan Kamath
b368bb20a3 Merge "close file in PersistentDataBlockService jni" am: c71c44a524
am: 8e5a0d7da7

* commit '8e5a0d7da7f6df2c10d752b526a50ed4f5ade3fe':
  close file in PersistentDataBlockService jni
2016-02-01 11:42:45 +00:00
Narayan Kamath
8e5a0d7da7 Merge "close file in PersistentDataBlockService jni"
am: c71c44a524

* commit 'c71c44a524e3b5f1f6a9864a0f03b20acd153a6d':
  close file in PersistentDataBlockService jni
2016-02-01 11:38:27 +00:00
Lianwei Wang
5c74bb313f close file in PersistentDataBlockService jni
The opened file should be closed.

Change-Id: I8a43b338c5c9eb0a5b1b5329eec767c6395bc7eb
Signed-off-by: Lianwei Wang <lianwei.wang@gmail.com>
2016-02-01 11:31:12 +00:00
Rubin Xu
c3cd05f8a4 Add DevicePolicyManager APIs for process logging.
Add Device Owner APIs for controlling and retrieving the logs. Retrieving the
logs should be rate limited unless we are at the risk of losing logs due to
constrained buffer space.

Bug: 22860162
Change-Id: I80658f5a14e86d7cfd42402fbc5e98dc11698c0e
2016-02-01 10:28:24 +00:00
Erik Kline
4cc9ef8c74 Initial refactoring to group IP-related elements into an IpManager
am: a636761bd6

* commit 'a636761bd67963385397ee920dcf76ec7cf113fb':
  Initial refactoring to group IP-related elements into an IpManager
2016-02-01 10:08:40 +00:00