233887 Commits

Author SHA1 Message Date
Winson
931845fcb3 Dev preview changes for incompatible apps.
- Disable drop targets when picking up a task that can’t be docked, and
  show toast notifying user (for now)
- When a task is docked, update the task headers for non-dockable tasks
  to indicate that they don’t support multi window.  Update these 
  headers every time the multi window state changes.

Bug: 26774190
Change-Id: I020dcbac9b1230dba166eecaa12366986e684f9e
2016-02-25 14:16:23 -08:00
Pavel Zhamaitsiak
fbb584dfa0 Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev
am: d76b7ee263

* commit 'd76b7ee2636a9bc92d8e1e5fb5cb649e5bd67be9':
  Add registrationAssociatedUriChanged to ImsRegistrationListener
2016-02-25 19:46:20 +00:00
Pavel Zhamaitsiak
d76b7ee263 Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev 2016-02-25 19:43:31 +00:00
Selim Cinek
f045b5a61b Merge "Make group expanding nicer" into nyc-dev 2016-02-25 19:43:27 +00:00
Selim Cinek
dafa00cb98 Merge "Transforming notifications now based on the user dragging" into nyc-dev 2016-02-25 19:42:25 +00:00
Alan Viverette
fa5fa8f8a0 Merge "Always update drawable container source res" into nyc-dev 2016-02-25 19:38:26 +00:00
Xiaohui Chen
e90c2c5ae9 sysui: refactor for reuse
Bug: 27099709
Change-Id: I44d3abc7dbed0b655efeb1769fa6a2543bc8322e
2016-02-25 19:16:33 +00:00
Randy Pan
037dd4aea0 Retire ScanResult.autoJoinStatus
am: 366da67282

* commit '366da672828864fa166f184757e44f89e5139a31':
  Retire ScanResult.autoJoinStatus
2016-02-25 19:12:41 +00:00
Selim Cinek
42357e030c Make group expanding nicer
The group expanding now follows the finger.

Bug: 19437552
Change-Id: If85557bb75ea2f2e560cb28d62a06c217187c9c3
2016-02-25 11:02:34 -08:00
Selim Cinek
8f2f6a67fa Transforming notifications now based on the user dragging
The animation is not a canned animation anymore but base on
the finger movement of the user.

Bug: 19437552
Change-Id: I0f81ac2ff05a92673e3f3b9b72a5c2de238890d0
2016-02-25 11:02:30 -08:00
Fyodor Kupolov
e6ddf45e6b Merge "Call prepareAppDataAfterInstall without mPackages lock" into nyc-dev 2016-02-25 18:57:30 +00:00
Fyodor Kupolov
3fb5b5d29c Call prepareAppDataAfterInstall without mPackages lock
prepareAppDataAfterInstallInternal may call into ActivityManager which will
try to obtain a lock in a reversed order, which causes a deadlock.

Bug: 27336728
Change-Id: I91bb74cd06c6aa6cee057bab5972b0275d12125b
2016-02-25 10:56:16 -08:00
Pablo Ceballos
0f61ae26ce Merge "Add glReadPixels with buffer-offset argument" into nyc-dev 2016-02-25 18:54:18 +00:00
Jorim Jaggi
58d3f97002 Merge "Start with mHiddenForOtherReasons=true" into nyc-dev 2016-02-25 18:52:27 +00:00
Jeff Sharkey
019f6d9caa Merge "Fix JobSchedulerService FBE regression." into nyc-dev 2016-02-25 18:52:14 +00:00
Jorim Jaggi
1eb39b009e Start with mHiddenForOtherReasons=true
Initially a surface is hidden after creating, so reflect that fact
in mHiddenForOtherReasons, so it doesn't get shown before the correct
transformation is applied.

Bug: 27350530
Change-Id: Idfe8723195dd1488894da066fafee1f2c2afc12d
2016-02-25 13:50:22 -05:00
Shishir Agrawal
70d5c8d246 Merge "Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into nyc-dev 2016-02-25 18:49:48 +00:00
Adrian Roos
9046222cb2 Add logging to crash and anr dialog
Bug: 26760334
Change-Id: If81c7a6834e86f7390febef6767a07fa4caded4d
2016-02-25 18:41:01 +00:00
Jorim Jaggi
d7dbe7c486 Merge "Accessibility for split-screen divider" into nyc-dev 2016-02-25 18:40:22 +00:00
Jae Seo
12eb094232 Merge "TIF: Define activity action to set up channel sources" into nyc-dev 2016-02-25 18:37:34 +00:00
Ben Kwa
355d731ece Merge changes from topic 'dragon-drop' into nyc-dev
* changes:
  Clean up after a drop event.
  Enable dragon drop for touch.
2016-02-25 18:32:48 +00:00
Wale Ogunwale
a06c25534c Merge "Remove starting window whenever the acitvity is stopped" into nyc-dev 2016-02-25 18:29:39 +00:00
Jorim Jaggi
88afd020b6 Accessibility for split-screen divider
- Add label
- Add actions

Bug: 27274494
Bug: 26894949
Change-Id: I041c44f793f1ec86ec27951cc8e87868148b527d
2016-02-25 13:18:12 -05:00
Shishir Agrawal
3bf26b5605 Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.
All MSIM specific calls should not use a suffix/prefix.

Bug: 26772894
Change-Id: I49488dfc41bb7996a1a44447968ec11132e4dac7
2016-02-25 10:15:54 -08:00
Wale Ogunwale
9017ec0b15 Remove starting window whenever the acitvity is stopped
The main app window will never finish drawing at this point so there
is nothing to trigger the removal of the starting window.

Also, set ActivityRecord.mStartingWindowShown to true for some cases
where we were telling WM to show starting window but not setting the
flag that would later be used for clean-up.

Bug: 26659857
Change-Id: I7a8582521853f1f95b77d8b08f4dd0cf778f8cbf
2016-02-25 10:15:38 -08:00
Sunny Goyal
c1a3181d8d Merge "Fixing the parent check loop to allow RemoteViewsFrameLayout" into nyc-dev 2016-02-25 18:10:38 +00:00
Jeff Sharkey
822cbd130f Fix JobSchedulerService FBE regression.
Internally isReadyToBeExecutedLocked() needs to check if the target
service is actually present and runnable.  For example, when an FBE
device is locked, we need to keep any encryption-unaware jobs
pending until the device is later unlocked.

Bug: 26279465
Change-Id: I53ff4a2243ebe8a199d0e8dcf87dc3f5b06a2686
2016-02-25 11:09:57 -07:00
Chris Craik
dc32185b92 Merge "Cleanup vertex attrib management" into nyc-dev 2016-02-25 17:31:47 +00:00
Alan Viverette
2d3ca47ef8 Always update drawable container source res
Bug: 27349209
Change-Id: I3bb3d4862a03fd5ce0beeb2bf5208f2917ec9320
2016-02-25 12:27:02 -05:00
Alan Viverette
4d85985f80 Merge "Use correct index when obtaining unresolved attribute value" into nyc-dev 2016-02-25 17:25:39 +00:00
Sunny Goyal
b880d167a6 Fixing the parent check loop to allow RemoteViewsFrameLayout
Bug: 27328093
Change-Id: I0f6ae8e95f952d40589eafb912ba188d15d7624c
2016-02-25 09:07:37 -08:00
Adrian Roos
1c7c9d45b4 Merge "Fix anti falsing detection" into nyc-dev 2016-02-25 16:22:38 +00:00
Santos Cordon
256aa5afd7 Merge "Add APIs to support CDMA add-call limitations." into nyc-dev 2016-02-25 16:16:43 +00:00
Ben Kwa
1b685e5363 Clean up after a drop event.
- Clear the drop target highlight.
- Exit selection mode.

BUG=27296889

Change-Id: I869bd01cb49555b28b19164638b4c0af48ca8583
2016-02-25 07:44:58 -08:00
Ben Kwa
e3dfebf846 Enable dragon drop for touch.
- Start a drag when the user long-presses on an already-selected item.
- Start a drag when the user mouse-drags on an already-selected item.
- Add highlighting of drop targets.

BUG=20556237

Change-Id: I450fd6768eeb08906304227385476942d641fd11
2016-02-25 07:35:30 -08:00
Gustav Sennton
ef417514e7 Merge "Trigger the webview update logic when receiving PACKAGE_CHANGED intents." into nyc-dev 2016-02-25 15:34:24 +00:00
Gustav Sennton
1e5d803195 Trigger the webview update logic when receiving PACKAGE_CHANGED intents.
Since which WebView implementation we use depends on whether the
different webview packages are enabled or disabled we should listen to
changes to the enabled-state of our webview packages (to keep the
webview implementation up to date).

Bug: 27340150
Change-Id: Ie384a48424c9138150ddcc9f7bfaf7b82a911f16
2016-02-25 15:02:20 +00:00
Jaesung Chung
596e1d3b7a Merge "Revert "Revert "ExifInterface: switch from using jhead to java implementation""" into nyc-dev 2016-02-25 14:14:28 +00:00
Jaesung Chung
15ef59e081 Revert "Revert "ExifInterface: switch from using jhead to java implementation""
This reverts commit 3c233ee291cfe1b765184920b6b7a69cb1bb82d9.

Bug: 27349581
Change-Id: Ib9f687e79ec36692fa7505ba3852099eb3e44573
2016-02-25 14:13:10 +00:00
Gustav Sennton
d48a25b8e7 Merge "Don't run WebView-preparation during an encryption boot phase." into nyc-dev 2016-02-25 13:58:08 +00:00
Gustav Sennton
c7db48b0ca Don't run WebView-preparation during an encryption boot phase.
When a device is booting up in an encrypted state WebView won't find the
packages needed for loading WebView and might thus try to use incorrect
webview packages. This in itself might cause us to incorrectly change
the webview provider setting but also causes us to crash the system
server if we try to enabled/disable a package that cannot be seen by the
package manager.

Bug: 27353062
Change-Id: I9349778506e8bec1c56b9b786fe4ed15c7c3260d
2016-02-25 13:49:26 +00:00
Sungsoo Lim
b21622d477 Merge "Revert "ExifInterface: switch from using jhead to java implementation"" into nyc-dev 2016-02-25 11:50:43 +00:00
Sungsoo Lim
3c233ee291 Revert "ExifInterface: switch from using jhead to java implementation"
This reverts commit bf24c9fcb3e66b25c90c0cd51f8bf4f401f6c3d6.

Change-Id: Id278e831a9c03f615208fd6eab51c65f7bb019eb
2016-02-25 11:48:10 +00:00
Andrei Stingaceanu
86ea8f002c Suspend packages - decline suspending privileged apps
Because there is a high risk of making the system instable.

Bug: 22776761
Bug: 26949256
Bug: 26949428
Bug: 26683041
Change-Id: I73b3f05c13b5023db5176e709320ca6e2e5f6354
2016-02-25 11:20:18 +00:00
Donghyun Cho
f72ecded69 Merge "MediaSession: Add a way to get a calling package" into nyc-dev 2016-02-25 10:01:15 +00:00
Daichi Hirono
1bc289c92c Merge "Resolve unmapped document when the device is connected." into nyc-dev 2016-02-25 08:37:14 +00:00
Jaewan Kim
c92a7d12e3 PIP: Make PIPed activity to be focused from Recents
This makes PIPed activity to look like part of the Recents.

Bug: 26946155
Change-Id: Ic0ac441e57af5594c06701fa9d30400f0f7cc5a5
2016-02-24 23:59:27 -08:00
Seigo Nonaka
f7b2baa5ba Merge "Fix suggestion window issues." into nyc-dev 2016-02-25 06:16:37 +00:00
Seigo Nonaka
6d2b3ac67c Merge "Show selection handles at the correct position for view transformation" into nyc-dev 2016-02-25 05:59:19 +00:00
Seigo Nonaka
8187ac3365 Fix suggestion window issues.
- Unable to commit suggestion by tap at the right edge of the row.
  It turned out that the ListView doesn't fill the entire width of the
  window. Fix this issue by specifying match_parent instead of
  wrap_content. The Holo theme already has a match_parent attribute.

- Follow up of I03e0f602970b3b8f638f6c7b8cdff7be07ec17a6
  Unexpected trancation happens on Matrial suggestion window was fixed,
  but same issue happens on the Holo suggestion window. Fixing by
  removing ellipsize=marquee.

Bug: 15347319
Bug: 27341560
Change-Id: Ic8445022634e9130f9462e02bfb08d4877396ba3
2016-02-25 14:57:20 +09:00