88591 Commits

Author SHA1 Message Date
Adam Cohen
ff06719077 Making sure to clear state related to views that are being recycled (issue 7650538)
Change-Id: I5161ac261f963789537d2066a472cd3036c218aa
2012-12-06 11:01:09 -08:00
Scott Main
fff0fb8727 am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
* commit '82e1d979ff7d6571f124b00d4354d40aa8757664':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
2012-12-04 16:42:23 -08:00
Scott Main
82e1d979ff update building first app class with some changes to eclipse workflow
and account for small differences when using an IDE other than eclipse

Change-Id: I1ea8a00cd3d03623a43d6b5f75234095130c0aa3
2012-12-04 16:38:18 -08:00
Victoria Lease
82a76800ad Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev 2012-12-04 15:59:56 -08:00
Scott Main
3b08bb9d08 am f9861221: docs: delete gps overview page
* commit 'f98612213ce70fbb34062db2b5d27d9622d9d3f3':
  docs: delete gps overview page
2012-12-04 15:46:03 -08:00
Scott Main
f98612213c docs: delete gps overview page
Change-Id: Ie2dbc4755ba0b16c730ee86646babcdc8edd3dc2
2012-12-04 15:43:16 -08:00
Victoria Lease
e0fa1b387f DO NOT MERGE Notify provider when disposing last UpdateRecord
Cherry-pick of Id48151eb7de40164258cde7da220a4d6bb34b89a

Location providers were not being notified of the change in status
when the last UpdateRecord was removed due to numUpdates exhaustion
or request expiry. Oops! Enjoy some free battery life!

Bug: 7611837
Change-Id: I66303b355be4e4a56a81efb5406c9353b2588595
2012-12-04 15:42:22 -08:00
Raph Levien
a7acb4b9cd Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev 2012-12-04 15:21:08 -08:00
Sascha Prueter
652d8fc944 Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev 2012-12-04 15:13:17 -08:00
Guang Zhu
4eab3d88a2 Merge "more app launch test tweaks" into jb-mr1.1-dev 2012-12-04 14:55:35 -08:00
Scott Main
22ab700f3e am beb08896: docs: add backup service to gp docs
* commit 'beb0889671697d5b5e5c57629bbdd7829883960a':
  docs: add backup service to gp docs
2012-12-04 14:45:25 -08:00
Guang Zhu
13f7734977 more app launch test tweaks
to get closer to the previous harness:
* sleep 750ms after launch then press HOME
* force close app after launch
* sleep 2s then move to next app

Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319
2012-12-04 14:40:30 -08:00
Winson Chung
ca83e1d541 Merge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)" into jb-mr1.1-dev 2012-12-04 14:38:54 -08:00
Raph Levien
ab815a701e Fix for bug 7467609 Bad rendering of Telugu text
This change moves Telugu back before the fallback font. Previously it
had been moved to after it because it contained incorrect mappings of a
number of characters, including U+2212 and U+FFFD. These fonts have now
been fixed. When placed after the Droid Sans Fallback font, the glyph
count for complex script shaping exceeded the 2^16 limit, causing
incorrect rendering.

This patch depends on the fix for the Lohit-Telugu font.

Change-Id: Ib1bc665a246c4ad65a0dea1c261df5696b440344
2012-12-04 14:33:45 -08:00
Scott Main
beb0889671 docs: add backup service to gp docs
Change-Id: Ic87f18f791b98fc3438bc79e6ae95de86f1cc8fc
2012-12-04 14:16:45 -08:00
Raph Levien
49ed5da31d Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev 2012-12-04 14:11:56 -08:00
Daniel Sandler
526fa0e6d5 PRIORITY_MIN notifications should be truly ambient.
If your notification is set to MIN priority, it will never
attempt to interrupt the user, either by an icon (already
implemented), or (new in this patch) by LED, vibration, or
sound.

Bug: 7648785
Change-Id: Ia0f8e010e62029d8d8ef1955dd20b7c79fb68398
2012-12-04 17:01:12 -05:00
John Spurlock
33669f35e4 Merge "Kill dreams that do not create a timely service connection." into jb-mr1.1-dev 2012-12-04 13:45:50 -08:00
Jim Miller
80a90efcbf Merge "Fix ring volume issue by addressing focus regression in keyguard." into jb-mr1.1-dev 2012-12-04 12:29:16 -08:00
John Spurlock
006f567c21 Kill dreams that do not create a timely service connection.
Implement a timeout between when the dream binds and
when the dream creates the service connection.  If
the connection is not created within a certain amount of
time, stop the dream.

This fixes the current bug where a dream that crashes in
onCreate (or the ctor) can put the dream controller in a
bad state until the screen is turned off.

The timeout is equal to the service restart delay in
activity manager (ActiveServices) to avoid restarting
(and recrashing).

Bug:7596707
Change-Id: I3e11efc6af0b79ec4cb0fbc94e4e109c7602ddac
2012-12-04 15:10:04 -05:00
Matthew Xie
b6b4f171ff Merge "Change getName and getAddress permission to BLUETOOTH" into jb-mr1.1-dev 2012-12-04 11:21:55 -08:00
Daniel Sandler
d8cb8fa463 Merge "Revised language for notification ringtone picker." into jb-mr1.1-dev 2012-12-04 11:01:04 -08:00
Matthew Xie
af5ddbfcf5 Change getName and getAddress permission to BLUETOOTH
The permissions were set as BLUETOOTH_ADMIN by mistake. Correct them
bug 7665249

Change-Id: Ic1bdbeb25e8f55d886f9a8d38920cbb769dd38ca
2012-12-04 10:47:43 -08:00
Daniel Sandler
aa9c5b6e9f Revised language for notification ringtone picker.
Bug: 7659273
Change-Id: I5cb94a24b8ebff96ab5b567efc39a780300ee7ee
2012-12-04 09:06:21 -05:00
Daniel Sandler
9f2532bf12 Merge "Reduce false swipe-closed gestures in status bar panels." into jb-mr1.1-dev 2012-12-04 05:33:16 -08:00
Baligh Uddin
8ef5660e3c Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev 2012-12-03 21:11:52 -08:00
Baligh Uddin
d8567b661c am 47ae0b93: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '47ae0b93c3a3b4fcb32cd46ad3b8313959344912':
  Import translations. DO NOT MERGE
2012-12-03 21:09:55 -08:00
Baligh Uddin
47ae0b93c3 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-12-03 21:04:42 -08:00
Jim Miller
147f9568af Fix ring volume issue by addressing focus regression in keyguard.
This fixes a regression where ring volume can be changed in keyguard.
Because KeyguardHostView is now being re-created in onScreenTurnedOff(),
it loses focus and the volume keys get handled by the fallback handler.

The fix is to ensure at least one child under KeyguardHostView has focus
whenever we re-create it.

Fixes bug 7546960

Change-Id: I34b7db402401a824f463d35d7546c05dc2979243
2012-12-03 18:48:52 -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
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
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
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
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
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
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
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
4fd38e8d13 Merge "Clean up debug messages" into jb-mr1.1-dev 2012-12-03 11:23:57 -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
f87488095e Merge "Show alarm tile for the current user." into jb-mr1.1-dev 2012-12-03 10:21:15 -08:00
Baligh Uddin
ed4cedc41c Import translations. DO NOT MERGE
Change-Id: I24d5d4cd1f633d3a1a981991f28c83e1bf44d5e7
Auto-generated-cl: translation import
2012-12-03 10:17:30 -08:00