90810 Commits

Author SHA1 Message Date
Dianne Hackborn
23307cbb6b am e0a676a3: Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev
* commit 'e0a676a3bb0e7b9aced9359a021e4c5d2ffef752':
  Fix issue #7649590: Background windows sometimes not being hidden for secondary users
2012-12-03 15:54:34 -08:00
Dianne Hackborn
e0a676a3bb Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev 2012-12-03 15:51:47 -08:00
Scott Main
9857e24612 am cd6ffc82: am a06c2941: docs: revisions to GPS Setup page w/ note about emulator
* commit 'cd6ffc82ef248dc0260f2b5fb615d0ae727664b9':
  docs: revisions to GPS Setup page w/ note about emulator
2012-12-03 15:48:51 -08:00
Scott Main
cd6ffc82ef am a06c2941: docs: revisions to GPS Setup page w/ note about emulator
* commit 'a06c294152bbf2a82161ad778b991d4ffa9ac2a4':
  docs: revisions to GPS Setup page w/ note about emulator
2012-12-03 15:46:26 -08:00
Scott Main
a06c294152 docs: revisions to GPS Setup page w/ note about emulator
Change-Id: I19400813a0220892654e38fa5142d9f8526a639c
2012-12-03 15:34:51 -08:00
Amith Yamasani
3533ea3bbb am 844884d8: Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev
* commit '844884d82e1b2339cdbf43f64445c5d550c4691c':
  Fix remote views cache to avoid lockscreen widget crosstalk
2012-12-03 15:12:38 -08:00
Amith Yamasani
844884d82e Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev 2012-12-03 15:09:36 -08:00
Dianne Hackborn
bb4ca5271a Fix issue #7649590: Background windows sometimes not being hidden for secondary users
There are two things going on here:

(1) In secondary users, some times theme information such as whether
the window is full screen opaque was not being retrieved, so the window
manager didn't know that it could hide the windows behind the app.
This would just be a performance problem, except that:

(2) There appear to be a number of applications that declare that they
are full screen opaque, when in fact they are not.  Instead they are
using window surfaces with an alpha channel, and setting some pixels
in their window to a non-opaque alpha level.  This will allow you to
see whatever is behind the app.  If the system happens to completely
remove the windows behind the app, and somebody is filling the frame
buffer with black, then you will see what the app intends -- those
parts of its UI blended with black.  If one of those cases doesn't
hold (and though we have never guaranteed they would, in practice this
is generally what happens), then you will see something else.

At any rate, if nothing else than for performance reasons, we need to
fix issue #1.

It turns out what is happening here is that the AttributeCache used
by the activity manager and window manager to retreive theme and other
information about applications has not yet been updated for multi-user.

One of the things we retrieve from this is the theme information telling
the window manager whether an application's window should be treated
as full screen opaque, allowing it to hide any windows behind it.  In
the current implementation, the AttributeCache always retrieves this
information about the application as the primary user (user 0).

So, if you have an application that is installed on a secondary user but
not installed on the primary user, when the AttributeCache tries to retrieve
the requested information for it, then from the perspective of the primary user
it considers the application not installed, and is not able to retrieve that
info.

The change here makes AttributeCache multi-user aware, keeping all of its
data separately per-user, and requiring that callers now provide the user
they want to retrieve information for.  Activity manager and window manager
are updated to be able to pass in the user when needed.  This required some
fiddling of the window manager to have that information available -- in
particular it needs to be associated with the AppWindowToken.

Change-Id: I4b50b4b3a41bab9d4689e61f3584778e451343c8
2012-12-03 14:09:06 -08:00
Amith Yamasani
ac2e6dd590 Fix remote views cache to avoid lockscreen widget crosstalk
Bug: 7660973

RemoteViewsAdapter will now store the userId as part of the cache key
when caching remote views to optimize for orientation changes.

Change-Id: I7c4e52b3995d4f56ebfa35aa9516327e182ad892
2012-12-03 13:41:16 -08:00
Scott Main
a9c3d81f02 am ae5b07ca: am 2db56dda: Merge "docs: udpate for google service landing page and capitalize GPS in titles" into jb-mr1-dev
* commit 'ae5b07cac9d395d0454152d0f8141d162753d6a4':
  docs: udpate for google service landing page and capitalize GPS in titles
2012-12-03 13:07:14 -08:00
Scott Main
ae5b07cac9 am 2db56dda: Merge "docs: udpate for google service landing page and capitalize GPS in titles" into jb-mr1-dev
* commit '2db56ddaee71f33f65fe246309531a66bf1d4374':
  docs: udpate for google service landing page and capitalize GPS in titles
2012-12-03 13:04:53 -08:00
Scott Main
3fea139d07 am 4d1d0304: am e38980a7: Merge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev
* commit '4d1d03042110092d658b7b53565be881364b34b5':
  docs: update dashboard for 12/1, plus misc fixes
2012-12-03 13:04:31 -08:00
Scott Main
4d1d030421 am e38980a7: Merge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev
* commit 'e38980a767ae8e13214f8ed00629ebb454157d46':
  docs: update dashboard for 12/1, plus misc fixes
2012-12-03 13:02:07 -08:00
Scott Main
2db56ddaee Merge "docs: udpate for google service landing page and capitalize GPS in titles" into jb-mr1-dev 2012-12-03 13:01:19 -08:00
Robert Ly
0fba90c980 am 413a208a: am 555c93b2: docs: refresh gms and gcm javadocs
* commit '413a208a7b1dcba4679573ca85a22a466b790de5':
  docs: refresh gms and gcm javadocs
2012-12-03 13:00:48 -08:00
Scott Main
03c172e222 docs: udpate for google service landing page and capitalize GPS in titles
Change-Id: I8cff9c5bc6eee7a60bc5db88763ad57eb63c7e7d
2012-12-03 13:00:09 -08:00
Robert Ly
413a208a7b am 555c93b2: docs: refresh gms and gcm javadocs
* commit '555c93b2a726d53c70e99835d74d9246dff2206d':
  docs: refresh gms and gcm javadocs
2012-12-03 12:59:27 -08:00
Scott Main
e38980a767 Merge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev 2012-12-03 12:58:59 -08:00
Robert Ly
555c93b2a7 docs: refresh gms and gcm javadocs
Change-Id: I5532eb9f87e2ab87488884e70102e8b4cbadf255
2012-12-03 12:34:42 -08:00
Zhihai Xu
fb9947ad77 am 40973c53: Merge "BT is still on after enable flight mode, and reboot the DUT" into jb-mr1.1-dev
* commit '40973c53acc86b576081fb720d7d6b23c55202ad':
  BT is still on after enable flight mode, and reboot the DUT
2012-12-03 11:50:25 -08:00
Zhihai Xu
40973c53ac Merge "BT is still on after enable flight mode, and reboot the DUT" into jb-mr1.1-dev 2012-12-03 11:47:34 -08:00
Jeff Sharkey
1f8f283975 am ed3fba65: Merge "Avoid null mobile interfaces." into jb-mr1.1-dev
* commit 'ed3fba653864101d3dd335941f082104aad8f532':
  Avoid null mobile interfaces.
2012-12-03 11:38:31 -08:00
Zhihai Xu
401202b5fe BT is still on after enable flight mode, and reboot the DUT
bug 7275625
Change-Id: I4f8952a06152eb5f5775c1f616f6383e4f20e352
2012-12-03 11:36:21 -08:00
Jeff Sharkey
ed3fba6538 Merge "Avoid null mobile interfaces." into jb-mr1.1-dev 2012-12-03 11:32:51 -08:00
Scott Main
aaaa15653b docs: update dashboard for 12/1, plus misc fixes
Change-Id: I7f06b6c66476aee2bd69b8017b5707c483b252b7
2012-12-03 11:28:23 -08:00
Matthew Xie
b8e80eb566 am 4fd38e8d: Merge "Clean up debug messages" into jb-mr1.1-dev
* commit '4fd38e8d13697cd1b169487719982f32cc5fb425':
  Clean up debug messages
2012-12-03 11:26:38 -08:00
Matthew Xie
4fd38e8d13 Merge "Clean up debug messages" into jb-mr1.1-dev 2012-12-03 11:23:57 -08:00
Guang Zhu
8732bee8d1 am fdc0d929: Merge "app launch test fixes and improvements" into jb-mr1.1-dev
* commit 'fdc0d9295fbe855b14e1730447b079191f2a4f8c':
  app launch test fixes and improvements
2012-12-03 11:19:50 -08:00
Guang Zhu
fdc0d9295f Merge "app launch test fixes and improvements" into jb-mr1.1-dev 2012-12-03 11:17:25 -08:00
Daniel Sandler
99931d97f7 am f8748809: Merge "Show alarm tile for the current user." into jb-mr1.1-dev
* commit 'f87488095e49028eb3be5a8a53a372e38eba537c':
  Show alarm tile for the current user.
2012-12-03 10:23:08 -08:00
Daniel Sandler
f87488095e Merge "Show alarm tile for the current user." into jb-mr1.1-dev 2012-12-03 10:21:15 -08:00
Daniel Sandler
0f92a8083d Show alarm tile for the current user.
We were already refreshing the tile on user switch, but we
were only pulling the information (and observing changes)
for the owner.

Bug: 7596329
Change-Id: I33959af405bc79037b5b1321631d993bea65772f
2012-12-03 12:59:26 -05:00
Marco Nelissen
eff8dadcbd am f688ee5d: Merge "Change the text color of timer in MediaController" into jb-mr1.1-dev
* commit 'f688ee5dcce1c30a0fd2092722bbbfc99ed9d445':
  Change the text color of timer in MediaController
2012-12-03 08:22:01 -08:00
Marco Nelissen
f688ee5dcc Merge "Change the text color of timer in MediaController" into jb-mr1.1-dev 2012-12-03 08:19:51 -08:00
Daniel Sandler
56f0d47ed8 am 025b43cd: Merge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev
* commit '025b43cd51580701221ad74d24276498418fce37':
  Fix rounding error when drawing panel handles.
2012-12-03 07:04:01 -08:00
Daniel Sandler
025b43cd51 Merge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev 2012-12-03 07:00:59 -08:00
Scott Main
ba7d95ae3b am 16cf6436: am fbcb624b: Merge "docs: update reference links and misc revisions" into jb-mr1-dev
* commit '16cf643694194176954b709e5ee4dfcb711f2a57':
  docs: update reference links and misc revisions
2012-12-03 00:27:29 -08:00
Scott Main
16cf643694 am fbcb624b: Merge "docs: update reference links and misc revisions" into jb-mr1-dev
* commit 'fbcb624be82e184482b547b09765a03db2305039':
  docs: update reference links and misc revisions
2012-12-03 00:25:11 -08:00
Scott Main
fbcb624be8 Merge "docs: update reference links and misc revisions" into jb-mr1-dev 2012-12-03 00:22:23 -08:00
Scott Main
97fab2ca02 am b86695d6: am b00e37de: docs: update location/maps doc with info for maps api
* commit 'b86695d699bf8058466fe56994c8232cab0a8f33':
  docs: update location/maps doc with info for maps api
2012-12-03 00:16:36 -08:00
Scott Main
b86695d699 am b00e37de: docs: update location/maps doc with info for maps api
* commit 'b00e37de181dc2f816962bc9301f64dd2a773c2a':
  docs: update location/maps doc with info for maps api
2012-12-03 00:14:11 -08:00
Scott Main
b00e37de18 docs: update location/maps doc with info for maps api
Change-Id: I793f47791883efe88ff0d6c8effe0787d9654a88
2012-12-02 19:00:48 -08:00
Robert Ly
5820bf97d6 am 92e0b07f: am d81751fa: Merge "docs: add javadocs for gcm" into jb-mr1-dev
* commit '92e0b07fd25a43e0fd816c68ead335b8740989ed':
  docs: add javadocs for gcm
2012-12-02 18:24:30 -08:00
Robert Ly
92e0b07fd2 am d81751fa: Merge "docs: add javadocs for gcm" into jb-mr1-dev
* commit 'd81751facb585e678ae0a85fc8a0d144d615e7e6':
  docs: add javadocs for gcm
2012-12-02 18:22:24 -08:00
Robert Ly
d81751facb Merge "docs: add javadocs for gcm" into jb-mr1-dev 2012-12-02 18:20:15 -08:00
Scott Main
44292d5924 am 223ef52a: am 1a9e7a61: docs: add sdk manager launch info for eclipse
* commit '223ef52aa1df95b73e04dc5269082117e9b9f95d':
  docs: add sdk manager launch info for eclipse
2012-12-02 18:08:32 -08:00
Scott Main
223ef52aa1 am 1a9e7a61: docs: add sdk manager launch info for eclipse
* commit '1a9e7a61e4cab8a857e1184c6205c8866ccab367':
  docs: add sdk manager launch info for eclipse
2012-12-02 18:06:24 -08:00
Scott Main
1a9e7a61e4 docs: add sdk manager launch info for eclipse
Change-Id: I91f23456fd57afa3cf55cba6ed63d746fb94f2fd
2012-12-02 18:01:07 -08:00
Robert Ly
4779ffa728 docs: add javadocs for gcm
Change-Id: I6c4c0990f1a9eec51cc2bf0fd857607b90ac184e
2012-12-02 17:52:29 -08:00
Dirk Dougherty
3f4e938e0a am fda0b508: am c7fe9fd4: Merge "Doc change: remove old version of gcm javadoc and misc files." into jb-mr1-dev
* commit 'fda0b508b08e2718ac8552db198b6f902a3c605c':
  Doc change: remove old version of gcm javadoc and misc files.
2012-12-02 17:47:44 -08:00