OSDN Git Service

android-x86/frameworks-base.git
11 years agoFix issue #7649590: Background windows sometimes not being hidden for secondary users
Dianne Hackborn [Mon, 3 Dec 2012 22:09:06 +0000 (14:09 -0800)]
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

11 years agoMerge "Show alarm tile for the current user." into jb-mr1.1-dev
Daniel Sandler [Mon, 3 Dec 2012 18:21:15 +0000 (10:21 -0800)]
Merge "Show alarm tile for the current user." into jb-mr1.1-dev

11 years agoShow alarm tile for the current user.
Daniel Sandler [Mon, 3 Dec 2012 17:33:41 +0000 (12:33 -0500)]
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

11 years agoMerge "Change the text color of timer in MediaController" into jb-mr1.1-dev
Marco Nelissen [Mon, 3 Dec 2012 16:19:50 +0000 (08:19 -0800)]
Merge "Change the text color of timer in MediaController" into jb-mr1.1-dev

11 years agoMerge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev
Daniel Sandler [Mon, 3 Dec 2012 15:00:58 +0000 (07:00 -0800)]
Merge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev

11 years agoam fbcb624b: Merge "docs: update reference links and misc revisions" into jb-mr1-dev
Scott Main [Mon, 3 Dec 2012 08:25:11 +0000 (00:25 -0800)]
am fbcb624b: Merge "docs: update reference links and misc revisions" into jb-mr1-dev

* commit 'fbcb624be82e184482b547b09765a03db2305039':
  docs: update reference links and misc revisions

11 years agoMerge "docs: update reference links and misc revisions" into jb-mr1-dev
Scott Main [Mon, 3 Dec 2012 08:22:23 +0000 (00:22 -0800)]
Merge "docs: update reference links and misc revisions" into jb-mr1-dev

11 years agoam b00e37de: docs: update location/maps doc with info for maps api
Scott Main [Mon, 3 Dec 2012 08:14:11 +0000 (00:14 -0800)]
am b00e37de: docs: update location/maps doc with info for maps api

* commit 'b00e37de181dc2f816962bc9301f64dd2a773c2a':
  docs: update location/maps doc with info for maps api

11 years agodocs: update location/maps doc with info for maps api
Scott Main [Mon, 3 Dec 2012 03:00:48 +0000 (19:00 -0800)]
docs: update location/maps doc with info for maps api

Change-Id: I793f47791883efe88ff0d6c8effe0787d9654a88

11 years agoam d81751fa: Merge "docs: add javadocs for gcm" into jb-mr1-dev
Robert Ly [Mon, 3 Dec 2012 02:22:24 +0000 (18:22 -0800)]
am d81751fa: Merge "docs: add javadocs for gcm" into jb-mr1-dev

* commit 'd81751facb585e678ae0a85fc8a0d144d615e7e6':
  docs: add javadocs for gcm

11 years agoMerge "docs: add javadocs for gcm" into jb-mr1-dev
Robert Ly [Mon, 3 Dec 2012 02:20:15 +0000 (18:20 -0800)]
Merge "docs: add javadocs for gcm" into jb-mr1-dev

11 years agoam 1a9e7a61: docs: add sdk manager launch info for eclipse
Scott Main [Mon, 3 Dec 2012 02:06:24 +0000 (18:06 -0800)]
am 1a9e7a61: docs: add sdk manager launch info for eclipse

* commit '1a9e7a61e4cab8a857e1184c6205c8866ccab367':
  docs: add sdk manager launch info for eclipse

11 years agodocs: add sdk manager launch info for eclipse
Scott Main [Mon, 3 Dec 2012 02:01:07 +0000 (18:01 -0800)]
docs: add sdk manager launch info for eclipse

Change-Id: I91f23456fd57afa3cf55cba6ed63d746fb94f2fd

11 years agodocs: add javadocs for gcm
Robert Ly [Mon, 3 Dec 2012 01:24:48 +0000 (17:24 -0800)]
docs: add javadocs for gcm

Change-Id: I6c4c0990f1a9eec51cc2bf0fd857607b90ac184e

11 years agoam c7fe9fd4: Merge "Doc change: remove old version of gcm javadoc and misc files...
Dirk Dougherty [Mon, 3 Dec 2012 01:45:39 +0000 (17:45 -0800)]
am c7fe9fd4: Merge "Doc change: remove old version of gcm javadoc and misc files." into jb-mr1-dev

* commit 'c7fe9fd4e02bcb8a1c4eab2b61ec85b3a8e05eca':
  Doc change: remove old version of gcm javadoc and misc files.

11 years agoMerge "Doc change: remove old version of gcm javadoc and misc files." into jb-mr1-dev
Dirk Dougherty [Mon, 3 Dec 2012 01:43:11 +0000 (17:43 -0800)]
Merge "Doc change: remove old version of gcm javadoc and misc files." into jb-mr1-dev

11 years agodocs: update reference links and misc revisions
Scott Main [Mon, 3 Dec 2012 00:07:30 +0000 (16:07 -0800)]
docs: update reference links and misc revisions

Change-Id: Id198d04a4feaf9a3bdee82f1093edabed1c561d2

11 years agoDoc change: remove old version of gcm javadoc and misc files.
Dirk Dougherty [Mon, 3 Dec 2012 01:33:08 +0000 (17:33 -0800)]
Doc change: remove old version of gcm javadoc and misc files.

Change-Id: Icbc0345e04432af97fb859be8787741b7e979c1b

11 years agoam f3dda724: Merge "Doc change: updating lib links" into jb-mr1-dev
Katie McCormick [Mon, 3 Dec 2012 00:50:46 +0000 (16:50 -0800)]
am f3dda724: Merge "Doc change: updating lib links" into jb-mr1-dev

* commit 'f3dda7243c267a807d11a120219478f3a98f0275':
  Doc change: updating lib links

11 years agoMerge "Doc change: updating lib links" into jb-mr1-dev
Katie McCormick [Mon, 3 Dec 2012 00:48:14 +0000 (16:48 -0800)]
Merge "Doc change: updating lib links" into jb-mr1-dev

11 years agoam 80aab876: move Setup link for play services
Scott Main [Mon, 3 Dec 2012 00:02:14 +0000 (16:02 -0800)]
am 80aab876: move Setup link for play services

* commit '80aab87653aa6089e89039b74530073202f4c355':
  move Setup link for play services

11 years agoDoc change: updating lib links
Katie McCormick [Sat, 1 Dec 2012 03:06:35 +0000 (19:06 -0800)]
Doc change: updating lib links

Bug # 7038255

Change-Id: I702aeaed5fcbf7a9cb46b2ccd0e7baff53e48dab

11 years agomove Setup link for play services
Scott Main [Sat, 1 Dec 2012 04:25:38 +0000 (20:25 -0800)]
move Setup link for play services

Change-Id: I436abf4929e2d69c5f9fadca0f79321d069618ea

11 years agoam 5f7b668c: misc changes for landing pages
Scott Main [Sat, 1 Dec 2012 04:11:04 +0000 (20:11 -0800)]
am 5f7b668c: misc changes for landing pages

* commit '5f7b668c966a886d5893ff89af59785fab9523f9':
  misc changes for landing pages

11 years agomisc changes for landing pages
Scott Main [Sat, 1 Dec 2012 00:50:00 +0000 (16:50 -0800)]
misc changes for landing pages

Change-Id: I4eff32dccbb111b419bb733035c7a145ac3944b6

11 years agoFix crosstalk between users for widgets hosted in lockscreen
Amith Yamasani [Fri, 30 Nov 2012 23:26:21 +0000 (15:26 -0800)]
Fix crosstalk between users for widgets hosted in lockscreen

This was initially about the Clock widget crashing repeatedly on some
devices with multiple users. Turned out that there were race conditions
when switching users that could result in remote views of one user calling
back to the RemoteViewsAdapter in keyguard that in turn sent an incorrect widget id
to a different user's widget, resulting in a crash.

Since KeyguardHostView is instantiated in the same process for different users,
it needs to carry a user identity to pass along to AppWidgetService so that
remote views services were bound to the correct user and callbacks were attached and
detached properly.

Added some aidl calls that take the userId to do the binding properly. A more
complete fix might be needed in the future so that all calls from Keyguard carry
the user id.

Also, there was a problem in comparing host uid for secondary users, since Settings
for a secondary user has a different uid than keyguard. Not an issue on single-user
systems. Changed the host.uid comparison to accomodate for the secondary user.

Bug: 7450247
Change-Id: Idbc36e3c60023cac74174f6cb7f2b2130dd3052c

11 years agoam 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev
Fabrice Di Meglio [Sat, 1 Dec 2012 01:17:03 +0000 (17:17 -0800)]
am 1e761ded: Merge "Fix typos in LinearLayout comments" into jb-mr1-dev

* commit '1e761ded55695a9d76a6f00ee9504625581e8d3a':
  Fix typos in LinearLayout comments

11 years agoMerge "Fix typos in LinearLayout comments" into jb-mr1-dev
Fabrice Di Meglio [Sat, 1 Dec 2012 01:14:11 +0000 (17:14 -0800)]
Merge "Fix typos in LinearLayout comments" into jb-mr1-dev

11 years agoam 404eeee1: Merge "docs: gcm navtree" into jb-mr1-dev
Scott Main [Sat, 1 Dec 2012 01:07:11 +0000 (17:07 -0800)]
am 404eeee1: Merge "docs: gcm navtree" into jb-mr1-dev

* commit '404eeee14521e8b181a9ed28c2291e9389dcf3b1':
  docs: gcm navtree

11 years agoMerge "docs: gcm navtree" into jb-mr1-dev
Scott Main [Sat, 1 Dec 2012 01:04:31 +0000 (17:04 -0800)]
Merge "docs: gcm navtree" into jb-mr1-dev

11 years agodocs: gcm navtree
Robert Ly [Sat, 1 Dec 2012 01:02:22 +0000 (17:02 -0800)]
docs: gcm navtree

Change-Id: Ie20a0cc7caf8e0b5ff2a6f56ddc3932f25768fa3

11 years agoam 51f5bcac: Merge "docs: Fixed typo in android tool syntax." into jb-mr1-dev
Quddus Chong [Sat, 1 Dec 2012 00:41:49 +0000 (16:41 -0800)]
am 51f5bcac: Merge "docs: Fixed typo in android tool syntax." into jb-mr1-dev

* commit '51f5bcac5269b44cd312d16569357416da7b3a82':
  docs: Fixed typo in android tool syntax.

11 years agoMerge "docs: Fixed typo in android tool syntax." into jb-mr1-dev
Quddus Chong [Sat, 1 Dec 2012 00:38:50 +0000 (16:38 -0800)]
Merge "docs: Fixed typo in android tool syntax." into jb-mr1-dev

11 years agoMerge "Include child windows when looking for insertion point." into jb-mr1.1-dev
Craig Mautner [Sat, 1 Dec 2012 00:38:36 +0000 (16:38 -0800)]
Merge "Include child windows when looking for insertion point." into jb-mr1.1-dev

11 years agoMerge "Fix bug #7651552 resetRtlProperties() is called way too often" into jb-mr1...
Fabrice Di Meglio [Sat, 1 Dec 2012 00:36:57 +0000 (16:36 -0800)]
Merge "Fix bug #7651552 resetRtlProperties() is called way too often" into jb-mr1.1-dev

11 years agoam 037b7944: Merge "docs: update javadocs with gcm @value stuff" into jb-mr1-dev
Robert Ly [Sat, 1 Dec 2012 00:36:05 +0000 (16:36 -0800)]
am 037b7944: Merge "docs: update javadocs with gcm @value stuff" into jb-mr1-dev

* commit '037b7944bdd5909c503cdc959b0105ebb0ecca92':
  docs: update javadocs with gcm @value stuff

11 years agoMerge "docs: update javadocs with gcm @value stuff" into jb-mr1-dev
Robert Ly [Sat, 1 Dec 2012 00:33:51 +0000 (16:33 -0800)]
Merge "docs: update javadocs with gcm @value stuff" into jb-mr1-dev

11 years agodocs: Fixed typo in android tool syntax.
Quddus Chong [Sat, 1 Dec 2012 00:26:35 +0000 (16:26 -0800)]
docs: Fixed typo in android tool syntax.

Change-Id: Ic40f10e3f6b7c052dc40cb723f40956a750544e8

11 years agodocs: update javadocs with gcm @value stuff
Robert Ly [Sat, 1 Dec 2012 00:15:46 +0000 (16:15 -0800)]
docs: update javadocs with gcm @value stuff

Change-Id: I837a1734e00d61f74cf8faac78f75258d66b6d05

11 years agoInclude child windows when looking for insertion point.
Craig Mautner [Sat, 1 Dec 2012 00:14:45 +0000 (16:14 -0800)]
Include child windows when looking for insertion point.

After finding a window in the window list we turn around and look in
the AppWindowToken.windows list for it. If it is a child of a window
in that list we should use the parent windows index as the search
result. Instead we gave up and ended up inserting the window at the
beginning of the windows list.

Bug 7357465 fixed.

Change-Id: If77f343b8597bfbb0b7fa41dedf7972d78d03020

11 years agoMerge "Add logging to try and track down bug 7643792" into jb-mr1.1-dev
Jim Miller [Fri, 30 Nov 2012 23:57:45 +0000 (15:57 -0800)]
Merge "Add logging to try and track down bug 7643792" into jb-mr1.1-dev

11 years agoAdd logging to try and track down bug 7643792
Jim Miller [Fri, 30 Nov 2012 23:42:18 +0000 (15:42 -0800)]
Add logging to try and track down bug 7643792

Fix whitespace & log message.

Change-Id: I9d241365503a6a9b02d3155dbb06ddb82065b375

11 years agoam 23b4e5b1: Merge "Doc change: add SMP Primer for Android. Support a new "article...
Dirk Dougherty [Fri, 30 Nov 2012 23:38:19 +0000 (15:38 -0800)]
am 23b4e5b1: Merge "Doc change: add SMP Primer for Android. Support a new "article" toc style in training." into jb-mr1-dev

* commit '23b4e5b1b5c3af565f2af87be243e7b455002ae7':
  Doc change: add SMP Primer for Android. Support a new "article" toc style in training.

11 years agoMerge "Doc change: add SMP Primer for Android. Support a new "article" toc style...
Dirk Dougherty [Fri, 30 Nov 2012 23:35:47 +0000 (15:35 -0800)]
Merge "Doc change: add SMP Primer for Android. Support a new "article" toc style in training." into jb-mr1-dev

11 years agoDoc change: add SMP Primer for Android. Support a new "article" toc style in training.
Dirk Dougherty [Thu, 29 Nov 2012 02:53:10 +0000 (18:53 -0800)]
Doc change: add SMP Primer for Android. Support a new "article" toc style in training.

Change-Id: I75826e12bb255e1fe85822b8c51e750ada01dfc5

11 years agoFix bug #7651552 resetRtlProperties() is called way too often
Fabrice Di Meglio [Fri, 30 Nov 2012 23:32:56 +0000 (15:32 -0800)]
Fix bug #7651552 resetRtlProperties() is called way too often

- remove unnecessary calls to resetRtlProperties().
- now reset of RTL properties will only be done when adding a View
(and no more when removing it)

Change-Id: I0d42128c9f7df6085fb92bb5af5c9bd4d1ba88a3

11 years agoam 759c1005: Merge "Fix some typos and missing @param in android.os.Bundle" into...
Nicolas Klein [Fri, 30 Nov 2012 22:54:50 +0000 (14:54 -0800)]
am 759c1005: Merge "Fix some typos and missing @param in android.os.Bundle" into jb-mr1-dev

* commit '759c1005b3f96ea8bbf59192d206aacece315655':
  Fix some typos and missing @param in android.os.Bundle

11 years agoMerge "Fix some typos and missing @param in android.os.Bundle" into jb-mr1-dev
Nicolas Klein [Fri, 30 Nov 2012 22:50:37 +0000 (14:50 -0800)]
Merge "Fix some typos and missing @param in android.os.Bundle" into jb-mr1-dev

11 years agoFix some typos and missing @param in android.os.Bundle
Nicolas Klein [Fri, 30 Nov 2012 22:41:46 +0000 (14:41 -0800)]
Fix some typos and missing @param in android.os.Bundle

getChar(String) and getChar(String, char) had wrong description in their
javadoc.
Also most of the get methods with default value were missing the corresponding
@param tag for the default value parameter.

Change-Id: I0f38b3caacf9cabd70e0c1ada36af3662f5566d0

11 years agoam 648de548: Merge "docs: gms fixes" into jb-mr1-dev
Robert Ly [Fri, 30 Nov 2012 22:35:48 +0000 (14:35 -0800)]
am 648de548: Merge "docs: gms fixes" into jb-mr1-dev

* commit '648de5483b20bd80bda267a4430daca2ae0b089a':
  docs: gms fixes

11 years agoMerge "docs: gms fixes" into jb-mr1-dev
Robert Ly [Fri, 30 Nov 2012 22:31:42 +0000 (14:31 -0800)]
Merge "docs: gms fixes" into jb-mr1-dev

11 years agoMerge "Only show camera widget to setup users." into jb-mr1.1-dev
John Spurlock [Fri, 30 Nov 2012 21:20:09 +0000 (13:20 -0800)]
Merge "Only show camera widget to setup users." into jb-mr1.1-dev

11 years agoFix rounding error when drawing panel handles.
Daniel Sandler [Fri, 30 Nov 2012 21:14:21 +0000 (16:14 -0500)]
Fix rounding error when drawing panel handles.

Bug: 7649037
Change-Id: If8d9fa5f3852729207c31c95cfd68ef54ff47d7d

11 years agoMerge "Add constant for Daydream settings." into jb-mr1.1-dev
Daniel Sandler [Fri, 30 Nov 2012 21:03:07 +0000 (13:03 -0800)]
Merge "Add constant for Daydream settings." into jb-mr1.1-dev

11 years agoChange the text color of timer in MediaController
Roger Chen [Fri, 16 Nov 2012 04:37:39 +0000 (12:37 +0800)]
Change the text color of timer in MediaController

The color of timer and backgroud in MediaController
are too closer to distinguish.

Change-Id: Id60ecbc26233857c7ef291ef891c9d4720309dfa
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Cherrypicked from external contribution.
b/7648349

11 years agoam 2dd93e22: Merge "docs: add correct toc for google reference" into jb-mr1-dev
Robert Ly [Fri, 30 Nov 2012 20:40:43 +0000 (12:40 -0800)]
am 2dd93e22: Merge "docs: add correct toc for google reference" into jb-mr1-dev

* commit '2dd93e22b6504eda5fb35f8f9e58ddb3f4a22fea':
  docs: add correct toc for google reference

11 years agoam 24963e1f: Merge "Revert "docs: gms javadocs"" into jb-mr1-dev
Robert Ly [Fri, 30 Nov 2012 20:40:40 +0000 (12:40 -0800)]
am 24963e1f: Merge "Revert "docs: gms javadocs"" into jb-mr1-dev

* commit '24963e1f7b7ba2712618b8c0ff1750c47ad1c789':
  Revert "docs: gms javadocs"

11 years agoam 438a3b35: Merge "Cannot move edit text cursor to first position using character...
Svetoslav Ganov [Fri, 30 Nov 2012 20:40:37 +0000 (12:40 -0800)]
am 438a3b35: Merge "Cannot move edit text cursor to first position using character granularity." into jb-mr1-dev

* commit '438a3b35f7a6184a19919de90f733be82e21a84c':
  Cannot move edit text cursor to first position using character granularity.

11 years agoFix sample code issues
Jason Sams [Fri, 30 Nov 2012 03:02:18 +0000 (19:02 -0800)]
Fix sample code issues

Correct min SDK.
Correct file extension on mandelbrot

Change-Id: I508c22c382f1a930b27d8c5f4414cac3a990a332

11 years agoMerge "docs: add correct toc for google reference" into jb-mr1-dev
Robert Ly [Fri, 30 Nov 2012 20:12:32 +0000 (12:12 -0800)]
Merge "docs: add correct toc for google reference" into jb-mr1-dev

11 years agodocs: add correct toc for google reference
Robert Ly [Fri, 30 Nov 2012 19:58:19 +0000 (11:58 -0800)]
docs: add correct toc for google reference

Change-Id: I594794b8d7ed5c52acdc37d5a4eddd2fdd229bcd

11 years agoMerge "Revert "docs: gms javadocs"" into jb-mr1-dev
Robert Ly [Fri, 30 Nov 2012 19:52:43 +0000 (11:52 -0800)]
Merge "Revert "docs: gms javadocs"" into jb-mr1-dev

11 years agoMerge "Cannot move edit text cursor to first position using character granularity...
Svetoslav Ganov [Fri, 30 Nov 2012 19:43:54 +0000 (11:43 -0800)]
Merge "Cannot move edit text cursor to first position using character granularity." into jb-mr1-dev

11 years agoMerge "Allow the NFC process to call Bluetooth APIs." into jb-mr1.1-dev
Martijn Coenen [Fri, 30 Nov 2012 19:07:53 +0000 (11:07 -0800)]
Merge "Allow the NFC process to call Bluetooth APIs." into jb-mr1.1-dev

11 years agoMerge "Maybe fix issue #7596986: Frequent runtime restarts; IAE at..." into jb-mr1...
Dianne Hackborn [Fri, 30 Nov 2012 18:41:47 +0000 (10:41 -0800)]
Merge "Maybe fix issue #7596986: Frequent runtime restarts; IAE at..." into jb-mr1.1-dev

11 years agoam 6643ea82: resolved conflicts for merge of 011132a7 to jb-mr1-dev
Nick Kralevich [Fri, 30 Nov 2012 18:35:44 +0000 (10:35 -0800)]
am 6643ea82: resolved conflicts for merge of 011132a7 to jb-mr1-dev

* commit '6643ea823bf8b0726da0518ffecfcc7a9f60f87d':
  Secure a handful of framework broadcasts

11 years agoresolved conflicts for merge of 011132a7 to jb-mr1-dev
Nick Kralevich [Fri, 30 Nov 2012 18:23:56 +0000 (10:23 -0800)]
resolved conflicts for merge of 011132a7 to jb-mr1-dev

Change-Id: I304ef91eef99526dec348a59b12c0934173bcfcb

11 years agoam b8da0376: Secure a handful of framework broadcasts
Robert Greenwalt [Fri, 30 Nov 2012 18:05:33 +0000 (10:05 -0800)]
am b8da0376: Secure a handful of framework broadcasts

* commit 'b8da0376f2d50fdb2ee58deacc6d2041689e36d1':
  Secure a handful of framework broadcasts

11 years agoMerge "Suppress quick settings if setup has not been completed." into jb-mr1.1-dev
Daniel Sandler [Fri, 30 Nov 2012 18:05:01 +0000 (10:05 -0800)]
Merge "Suppress quick settings if setup has not been completed." into jb-mr1.1-dev

11 years agoam 580aa579: Merge "docs: gms and gcm javadocs" into jb-mr1-dev
Scott Main [Fri, 30 Nov 2012 17:59:42 +0000 (09:59 -0800)]
am 580aa579: Merge "docs: gms and gcm javadocs" into jb-mr1-dev

* commit '580aa579080b5f4ccddb31964bc0caa76ee73a7a':
  docs: gms and gcm javadocs

11 years agoMerge "docs: gms and gcm javadocs" into jb-mr1-dev
Scott Main [Fri, 30 Nov 2012 17:56:48 +0000 (09:56 -0800)]
Merge "docs: gms and gcm javadocs" into jb-mr1-dev

11 years agoam b74844cd: docs: revise doc titles
Scott Main [Fri, 30 Nov 2012 17:49:51 +0000 (09:49 -0800)]
am b74844cd: docs: revise doc titles

* commit 'b74844cd87160a21a77cdc1c35b3d19ce9f47249':
  docs: revise doc titles

11 years agodocs: revise doc titles
Scott Main [Fri, 30 Nov 2012 05:13:30 +0000 (21:13 -0800)]
docs: revise doc titles

Change-Id: I7a11aabd90df758a5118730fe2d1b6c4f4e6ecfd

11 years agoMerge "Remove unused IExtendedNetworkService" into jb-mr1.1-dev
Makoto Onuki [Fri, 30 Nov 2012 17:33:09 +0000 (09:33 -0800)]
Merge "Remove unused IExtendedNetworkService" into jb-mr1.1-dev

11 years agoMerge "AudioService: improve initial safe volume delay" into jb-mr1.1-dev
Eric Laurent [Fri, 30 Nov 2012 17:26:30 +0000 (09:26 -0800)]
Merge "AudioService: improve initial safe volume delay" into jb-mr1.1-dev

11 years agoMerge "Only show "charging" if the battery is really charging." into jb-mr1.1-dev
Daniel Sandler [Fri, 30 Nov 2012 15:27:36 +0000 (07:27 -0800)]
Merge "Only show "charging" if the battery is really charging." into jb-mr1.1-dev

11 years agoOnly show camera widget to setup users.
John Spurlock [Fri, 30 Nov 2012 14:20:43 +0000 (09:20 -0500)]
Only show camera widget to setup users.

And remove misspelled and unused field in KeyguardHostView.

Bug:7645811
Change-Id: I3d6ceae8d25d0af7b504b4c22782611d25462a62

11 years agodocs: gms and gcm javadocs
Robert Ly [Fri, 30 Nov 2012 12:02:04 +0000 (04:02 -0800)]
docs: gms and gcm javadocs

Change-Id: I93fe06983e42cb21d05d020e84cafe31792a9c8e

11 years agodocs: gms fixes
Robert Ly [Fri, 30 Nov 2012 11:07:11 +0000 (03:07 -0800)]
docs: gms fixes

Change-Id: I197678e85ea2d11f35ccecdd7abc9564035acad4

11 years agoRevert "docs: gms javadocs"
Robert Ly [Fri, 30 Nov 2012 08:18:20 +0000 (00:18 -0800)]
Revert "docs: gms javadocs"

This reverts commit 830b23b76676542cbcb5ef3c60c869460d4c5466

Change-Id: I75a9d4f6aa424ed4439b4415d575716a40b75343

11 years agoam 49be1ef3: Merge "Doc change: cleanup filtering sidebars and api level table. Chang...
Dirk Dougherty [Fri, 30 Nov 2012 05:15:04 +0000 (21:15 -0800)]
am 49be1ef3: Merge "Doc change: cleanup filtering sidebars and api level table. Changes links pointing to billing and other play docs that have moved." into jb-mr1-dev

* commit '49be1ef39cfa2c718cb56dee088338ea97019c11':
  Doc change: cleanup filtering sidebars and api level table. Changes links pointing to billing and other play docs that have moved.

11 years agoMerge "Doc change: cleanup filtering sidebars and api level table. Changes links...
Dirk Dougherty [Fri, 30 Nov 2012 05:11:24 +0000 (21:11 -0800)]
Merge "Doc change: cleanup filtering sidebars and api level table. Changes links pointing to billing and other play docs that have moved." into jb-mr1-dev

11 years agoDoc change: cleanup filtering sidebars and api level table. Changes links pointing...
Dirk Dougherty [Fri, 30 Nov 2012 01:25:09 +0000 (17:25 -0800)]
Doc change: cleanup filtering sidebars and api level table. Changes links pointing to billing and other play docs that have moved.

Change-Id: I5528e82a6f97eb25f2ec2db5dfe1e178d9580f3c

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Fri, 30 Nov 2012 05:05:08 +0000 (21:05 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoam 2138e5c0: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 30 Nov 2012 05:06:04 +0000 (21:06 -0800)]
am 2138e5c0: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit '2138e5c0f6b78e0e248945da498bd716c928505f':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 30 Nov 2012 05:02:54 +0000 (21:02 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoam 9748abb6: docs: add maps v2 announcement
Scott Main [Fri, 30 Nov 2012 03:05:20 +0000 (19:05 -0800)]
am 9748abb6: docs: add maps v2 announcement

* commit '9748abb66865849840f9d36d7ab68eae0ce7357c':
  docs: add maps v2 announcement

11 years agodocs: add maps v2 announcement
Scott Main [Thu, 29 Nov 2012 22:28:44 +0000 (14:28 -0800)]
docs: add maps v2 announcement

Change-Id: Ibf9b7ac02ffc8f70b48bcede4df929ec089108c5

11 years agoMerge "Don't apply transformation fudge when not rotating." into jb-mr1.1-dev
Dianne Hackborn [Fri, 30 Nov 2012 01:53:47 +0000 (17:53 -0800)]
Merge "Don't apply transformation fudge when not rotating." into jb-mr1.1-dev

11 years agoDon't apply transformation fudge when not rotating.
Dianne Hackborn [Fri, 30 Nov 2012 01:51:24 +0000 (17:51 -0800)]
Don't apply transformation fudge when not rotating.

There is this stupid fudge factor applied to window transformations
when doing a screen rotation animation.  We need this when rotating,
but when not rotating it causes very visible artifacts.  Historically
the non-rotation case only happened due to configuration changes, so
wasn't that big a deal.  Now however that we use this when switching
users, it is more annoying.  So get rid of it for such cases.

Change-Id: I6b343866c1bad9b16984b4a629917c2f1bb37b9e

11 years agoAudioService: improve initial safe volume delay
Eric Laurent [Thu, 29 Nov 2012 20:48:18 +0000 (12:48 -0800)]
AudioService: improve initial safe volume delay

AudioService relies on a valid mmc in order to enforce the headset
volume limitation or not. There is a timeout to enforce the limitation
if no mcc is configured after boot.
Until this timeout is reached or a valid SIM is detected the headset
volume is not limited.

This change makes that the last known volume limitation state (enforced or
not) is persisted so that next time we boot, last known state is applied until
a new mcc is configured if any. In most cases, the mcc does not change from one
boot to the next and we do the right thing. If teh mcc does change, the correct
policy will be enforced when the mcc is detected or after the timeout.

Also fix a bug where the volume panel was not displayed if the limitation mechanism
is triggered at the first press on VOL+ key.

Bug 7455275.

Change-Id: Id0f2996d893d38c6a14f4f9e4a0e9e3be17ef127

11 years agoMerge "Always report user switched after unfreezing screen." into jb-mr1.1-dev
Dianne Hackborn [Fri, 30 Nov 2012 00:38:22 +0000 (16:38 -0800)]
Merge "Always report user switched after unfreezing screen." into jb-mr1.1-dev

11 years agoMaybe fix issue #7596986: Frequent runtime restarts; IAE at...
Dianne Hackborn [Fri, 30 Nov 2012 00:18:01 +0000 (16:18 -0800)]
Maybe fix issue #7596986: Frequent runtime restarts; IAE at...

...android.os.Parcel.nativeAppendFrom(Native Method)

The failing stack trace is:

11-20 20:29:04.365 19154 19170 E AndroidRuntime: java.lang.IllegalArgumentException
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.nativeAppendFrom(Native Method)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.appendFrom(Parcel.java:428)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Bundle.writeToParcel(Bundle.java:1613)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeBundle(Parcel.java:605)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.location.Location.writeToParcel(Location.java:903)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeParcelable(Parcel.java:1254)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeValue(Parcel.java:1173)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeMapInternal(Parcel.java:591)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Bundle.writeToParcel(Bundle.java:1619)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeBundle(Parcel.java:605)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.location.Location.writeToParcel(Location.java:903)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeParcelable(Parcel.java:1254)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeValue(Parcel.java:1173)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeMapInternal(Parcel.java:591)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Bundle.writeToParcel(Bundle.java:1619)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.os.Parcel.writeBundle(Parcel.java:605)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.content.Intent.writeToParcel(Intent.java:6660)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at android.app.ApplicationThreadProxy.scheduleReceiver(ApplicationThreadNative.java:763)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at com.android.server.am.BroadcastQueue.processCurBroadcastLocked(BroadcastQueue.java:230)
11-20 20:29:04.365 19154 19170 E AndroidRuntime:        at com.android.server.am.BroadcastQueue.processNextBroadcast(BroadcastQueue.java:777)

This is odd because where we do Bundle.writeToParcel(), we are just writing the Parcel
we have with its current length.  There is no way this should be able to fail like this...
unless the Bundle is changed while we are running?

Hm.

It looks like the location manager is holding on to Location objects which have a
Bundle of extras.  It is that Bundle of extras that the crash is happening on.
And the bundle extras can be changed as it operates.  And there are places where
the raw Location object is returned from the location manager, which means the
caller can be olding on to a Location object whose extras can be changed at any
time by other threads in the location manager.

So that seem suspicious.

This change should take care of all these places in the location manager, by
making sure to copy the location object before it goes out of the location
manager.

In addition, add some code to the activity manager to not bring down the entire
system if there is a problem trying to send one of these broadcasts.  There is
no need, we can just skip the broadcast as bad.

Change-Id: I3043c1e06f9d2931a367f831b6a970d71b0d0621

11 years agoMerge " BluetoothManagerService call should allow SYSTEM_UID" into jb-mr1.1-dev
Zhihai Xu [Fri, 30 Nov 2012 00:03:46 +0000 (16:03 -0800)]
Merge " BluetoothManagerService call should allow SYSTEM_UID" into jb-mr1.1-dev

11 years agoMerge "Fixing issue where you can still click on a widget on a side page. (Bug 756841...
Winson Chung [Thu, 29 Nov 2012 23:59:40 +0000 (15:59 -0800)]
Merge "Fixing issue where you can still click on a widget on a side page. (Bug 7568412)" into jb-mr1.1-dev

11 years agoMerge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev
Michael Jurka [Thu, 29 Nov 2012 23:51:13 +0000 (15:51 -0800)]
Merge "Disable adding keyguard widgets until setup is done" into jb-mr1.1-dev

11 years ago BluetoothManagerService call should allow SYSTEM_UID
Zhihai Xu [Thu, 29 Nov 2012 23:41:04 +0000 (15:41 -0800)]
 BluetoothManagerService call should allow SYSTEM_UID

bug 7561429

Change-Id: I1483bfe1361f71c7ae3529ea496b33504b95413e

11 years agoAlways report user switched after unfreezing screen.
Dianne Hackborn [Thu, 29 Nov 2012 23:10:18 +0000 (15:10 -0800)]
Always report user switched after unfreezing screen.

Change-Id: I58172896892a07e72a3430e56e4d2944d388c7c9

11 years agoam 830b23b7: docs: gms javadocs
Robert Ly [Thu, 29 Nov 2012 22:22:13 +0000 (14:22 -0800)]
am 830b23b7: docs: gms javadocs

* commit '830b23b76676542cbcb5ef3c60c869460d4c5466':
  docs: gms javadocs

11 years agoam aae17137: docs: update gms toc and landing pages
Robert Ly [Thu, 29 Nov 2012 22:17:31 +0000 (14:17 -0800)]
am aae17137: docs: update gms toc and landing pages

* commit 'aae171371b044d4efe4b58589f3b04f000016cec':
  docs: update gms toc and landing pages