OSDN Git Service

Preventing crash when attempting to move un-resizeable task to FF stack.
authorWinson <winsonc@google.com>
Thu, 7 Jan 2016 21:13:52 +0000 (13:13 -0800)
committerWinson Chung <winsonc@google.com>
Fri, 8 Jan 2016 00:06:57 +0000 (00:06 +0000)
Bug: 26405612
Change-Id: I44e3472e45f8201ee0186d07bad6212916405a08

packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java

index ca50fc5..dfcf41b 100644 (file)
@@ -468,7 +468,7 @@ public class SystemServicesProxy {
 
         try {
             mIam.positionTaskInStack(taskId, stackId, 0);
-        } catch (RemoteException e) {
+        } catch (RemoteException | IllegalArgumentException e) {
             e.printStackTrace();
         }
     }