3560575009291245fcf106d1e45a722a968d0494 |
|
31-Aug-2015 |
Vadim Tryshev <vadimt@google.com> |
Implementing app-centric Shelf. We finally get a UX decision for the Shelf. Shelf won't have 2 parts - pinned and recents; it will have only 1 list where all pinned and recent activities of the same kind are grouped under a single icon. Clicking at that icon activates the latest running activity if it's present, or starts a new one otherwise. The above part is implemented in this CL. I removed stuff related to the separate Recents pane, and moved surviving code to NavigationBarApps. Later, we'll have menus popping up from the icon, which will allow pinning and unpinning, and choosing a concrete activity to activate. Bug: 20024603 Change-Id: Ia08fe62939f92c7ee4f102c07a31e7168a11f010
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppInfo.java
|
39810767b05b777321d0b6cc947748b419cafaa2 |
|
20-Aug-2015 |
Vadim Tryshev <vadimt@google.com> |
Using actual users in more places. Fixing an issue when installed apps in Guest user were treated incorrectly. This happened because we used APIs using the systemui current user (0), not the app's user. Also, switching AppInfo from user's serial numbers to UserHandle. Earlier, I declared that user ids (not serials) is the "lingua franca" between different classes, so, this move is along these lines. In addition, this is simply more convenient. Bug: 20024603 Change-Id: I749d900aa17083a41e4215c6587ae5ccaa31f5eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppInfo.java
|
e983fd88b4b738f820e0f51d3595937bd7dce782 |
|
12-Aug-2015 |
Vadim Tryshev <vadimt@google.com> |
Eliminating “-1” user serial numbers. These users required special treatment and complicated code development. Now simply always using the actual value. Bug: 22609426 Change-Id: Ife44de442de455248ae7a8ebf8655ddbc4c289d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppInfo.java
|
c5f860cea05bb3294b0a68ea954097eb819535b4 |
|
23-Jul-2015 |
Vadim Tryshev <vadimt@google.com> |
Storing and using user id for pinned shelf apps. We need this to differentiate between starting apps for the primary and managed users. This in particular solves the issue when apps were executed as Owner while we are in Guest account (see the bug). Valid user ids for a shelf app are either primary or a managed (work) user for the profile. Launcher allows mixing apps for for primary and the managed users on its home screen. Apps for the managed user are marked with a suitcase badge. Launcher includes a user id in the drag and drop info that it sends to SystemUI, as “profile” extra added to the intent. Shelf now stores this user id and uses it to start apps. Bug: 22609426 Change-Id: Id4c6c1ac8617a83f4484f78db578955699d1a888
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/AppInfo.java
|