101665 Commits

Author SHA1 Message Date
Jeff Sharkey
768c5c4d9d am 18dd9b94: Merge "Use enabled/enabledSetting from PackageParser." into jb-mr2-dev
* commit '18dd9b94150bf8960314aa52f2f05e31fd9a7432':
  Use enabled/enabledSetting from PackageParser.
2013-03-06 23:31:00 +00:00
Jeff Sharkey
18dd9b9415 Merge "Use enabled/enabledSetting from PackageParser." into jb-mr2-dev 2013-03-06 23:24:56 +00:00
Jeff Sharkey
94d7ddb4b5 Use enabled/enabledSetting from PackageParser.
PackageParser.updateApplicationInfo() has already interpreted the
various COMPONENT_ENABLED flags for us, no need to clobber them.

Bug: 8331767
Change-Id: If1363c5651a2f0326ee60e92517cfc0e6f256699
2013-03-06 15:10:57 -08:00
Michael Jurka
469007092f am 5b532abd: Merge "Fix bug where Recents wasn\'t always properly updated" into jb-mr2-dev
* commit '5b532abdc21eba53b41f50010ff773960ed53796':
  Fix bug where Recents wasn't always properly updated
2013-03-06 22:57:59 +00:00
Michael Jurka
5b532abdc2 Merge "Fix bug where Recents wasn't always properly updated" into jb-mr2-dev 2013-03-06 22:52:39 +00:00
Trevor Johns
58a54cb380 [docs] Fix issue #8288695: Typo in OAuth2 training
There's a typo in the "Authenticating to OAuth2 Services" training
class, under "Request an Auth Token... Again" (#RequestAgain).

The call to result.get() will fail, because AccountManagerFuture
doesn't support this method. Instead, getResult() needs to be
called first.

Change-Id: Ia25b9364cd14180cf7ddac50057a2ec03e01ed1f
2013-03-06 14:46:47 -08:00
Michael Jurka
0e7757b6a1 Fix bug where Recents wasn't always properly updated
Also fix bug where icons were sometimes missing

Change-Id: I98fb30242e0f1bbe4f3088b350bd808cd9c3ae67
2013-03-06 23:29:46 +01:00
Michael Jurka
497c3affe1 am 4aab3c8a: Merge "Fix Recents in RTL/landscape mode" into jb-mr2-dev
* commit '4aab3c8a78b492a679cc29037b544b4a5c97cf72':
  Fix Recents in RTL/landscape mode
2013-03-06 22:17:15 +00:00
Michael Jurka
4aab3c8a78 Merge "Fix Recents in RTL/landscape mode" into jb-mr2-dev 2013-03-06 22:11:58 +00:00
Dianne Hackborn
7caab0ff2d Add new sample code for writing a ViewGroup.
Change-Id: Id6714b062884c9ed60703e5c199f16683c00a800
2013-03-06 13:47:04 -08:00
Dianne Hackborn
95529f730c am f6fcea60: Merge "Fix issue #8325007: EyeEm app crashes on launch- NPE at..." into jb-mr2-dev
* commit 'f6fcea602750bbc0eb7d394f4daf3848ffaaed7d':
  Fix issue #8325007: EyeEm app crashes on launch- NPE at...
2013-03-06 21:44:09 +00:00
Dianne Hackborn
f6fcea6027 Merge "Fix issue #8325007: EyeEm app crashes on launch- NPE at..." into jb-mr2-dev 2013-03-06 21:40:56 +00:00
Michael Jurka
e9c90271ac Fix Recents in RTL/landscape mode
The normal LTR Recents interface in landscape
actually scrolls/behaves like a RTL interface,
so we hardcode the layout to stay the same in both
modes

Change-Id: I57e5e76de3260c6de1dd9e939797b7e1c23cca03
2013-03-06 22:04:05 +01:00
Michael Jurka
e60525181d am 652b7915: Merge "Improve swipe performance in Recents" into jb-mr2-dev
* commit '652b79153f78033494bd6c77e3418cefff2ff48a':
  Improve swipe performance in Recents
2013-03-06 21:03:10 +00:00
Michael Jurka
652b79153f Merge "Improve swipe performance in Recents" into jb-mr2-dev 2013-03-06 21:00:42 +00:00
Dianne Hackborn
474690caf8 Fix issue #8325007: EyeEm app crashes on launch- NPE at...
...android.view.ViewGroup.measureChildWithMargins

The app is doing grungy stuff with trying to insert its own
views inside the window decor.  This new custom layout of the
action bar was assuming it would get fitSystemWindows() called
at which point it would retrieve all of its child views...  but
with the app doing this, it blocks the call down to
fitSystemWindows() and breaks us.  So we now make the layout
manager more robust and ensure it has retrieved its children
when measuring.

Also fix an issue where the xlarge layouts were not updated.

Change-Id: I6c69f26f26b59a6aa8fa1e5788288ffce0b490ca
2013-03-06 11:33:26 -08:00
Craig Mautner
db6c556dae am cc947fdc: Merge "Add window leak check and possible recovery." into jb-mr2-dev
* commit 'cc947fdc2decb83a70484bd0f831c58cc0346657':
  Add window leak check and possible recovery.
2013-03-06 18:43:55 +00:00
Craig Mautner
cc947fdc2d Merge "Add window leak check and possible recovery." into jb-mr2-dev 2013-03-06 18:40:48 +00:00
Amith Yamasani
3eb3774f8e am 67df64b3: Shared accounts and sharing of apps
* commit '67df64b3a48a8157d08a98fa90135d0ac0ee621c':
  Shared accounts and sharing of apps
2013-03-06 18:36:10 +00:00
Craig Mautner
a99764e597 Add window leak check and possible recovery.
Search output for "!!! LEAK !!!"

For bug 8322020.

Change-Id: I6db572a1c7fe0e6b386ccb0dba08bc376659a75a
2013-03-06 10:22:16 -08:00
Amith Yamasani
67df64b3a4 Shared accounts and sharing of apps
API and preliminary implementation for sharing primary user accounts with a secondary user.
AbstractAccountAuthenticator has new methods to retrieve and apply a bundle of credentials
to clone an account from the primary to a restricted secondary user. The AccountManagerService
initiates the account clone when it starts up the user and detects that the user has
a shared account registered that hasn't been converted to a real account.

AccountManager also has new hidden APIs to add/remove/get shared accounts. There might be
further improvements to this API to make shared accounts hidden/visible to select apps.

AccountManagerService has a new table to store the shared account information.

Added ability in PackageManager to install and uninstall packages for a secondary user. This
is required when the primary user selects a few apps to share with a restricted user.

Remove shared accounts from secondary users when primary user removes the account.

Change-Id: I9378ed0d8c1cc66baf150a4bec0ede56f6f8b06b
2013-03-06 09:49:44 -08:00
Irfan Sheriff
ab359e9934 am 0ffc81c1: am 17d89636: am 011b8efc: Merge "frameworks/base: stop find before issuing wps pbc."
* commit '0ffc81c1ada65b4ef4febaacf044e9fa62309b87':
  frameworks/base: stop find before issuing wps pbc.
2013-03-06 17:47:06 +00:00
Irfan Sheriff
0ffc81c1ad am 17d89636: am 011b8efc: Merge "frameworks/base: stop find before issuing wps pbc."
* commit '17d89636530f4a5e4e77d3ae11e2e696a697cc64':
  frameworks/base: stop find before issuing wps pbc.
2013-03-06 17:44:42 +00:00
Michael Jurka
499293f096 Improve swipe performance in Recents 2013-03-06 18:08:45 +01:00
Irfan Sheriff
17d8963653 am 011b8efc: Merge "frameworks/base: stop find before issuing wps pbc."
* commit '011b8efce194529de82e94fd0c0bf29835b9f07a':
  frameworks/base: stop find before issuing wps pbc.
2013-03-06 08:54:49 -08:00
Baligh Uddin
de2192f2a7 Import translations. DO NOT MERGE
Change-Id: Iaa1f94fce177730ea1471a1361727012a4d11306
Auto-generated-cl: translation import
2013-03-06 08:53:51 -08:00
Przemyslaw Szczepaniak
e44534be87 am 7341786b: Forgot to rename constructor to match class name.
* commit '7341786b138cb52eac053108b524ea3296d40f6d':
  Forgot to rename constructor to match class name.
2013-03-06 16:48:26 +00:00
Przemyslaw Szczepaniak
e634d787e4 am fcf671be: Fix EBADF in TTS synthesizeToFile method.
* commit 'fcf671be890f9fb49067c5f86b182bf8b8e7b9c0':
  Fix EBADF in TTS synthesizeToFile method.
2013-03-06 16:48:20 +00:00
Mathias Agopian
563c374faf am f4d6f153: Merge "remove suppor for SurfaceControl.FX_SURFACE_SCREENSHOT" into jb-mr2-dev
* commit 'f4d6f153e66eb54f7da5f9bd8f5b6fcc25dfd919':
  remove suppor for SurfaceControl.FX_SURFACE_SCREENSHOT
2013-03-06 16:47:55 +00:00
Romain Guy
de6ce9c1fc am 78421f90: Merge "Take only the scale params into account to rasterize text" into jb-mr2-dev
* commit '78421f903342e5fbc43b162380a99351c27f4fb5':
  Take only the scale params into account to rasterize text
2013-03-06 16:47:49 +00:00
Dianne Hackborn
0141278021 am f217145b: Merge "A few small missing things from the custom action bar layout." into jb-mr2-dev
* commit 'f217145b56d8826aa47f33f6ff5afe484ba8db69':
  A few small missing things from the custom action bar layout.
2013-03-06 16:47:45 +00:00
Irfan Sheriff
011b8efce1 Merge "frameworks/base: stop find before issuing wps pbc." 2013-03-06 15:58:42 +00:00
Przemyslaw Szczepaniak
7341786b13 Forgot to rename constructor to match class name.
Change-Id: I7e66c3dd26ec7f8be381b0dfd87ac686665206cd
2013-03-06 10:04:07 +00:00
Przemyslaw Szczepaniak
fcf671be89 Fix EBADF in TTS synthesizeToFile method.
Recent TTS change altered how the TextToSpeech.synthesizeToFile method
operates. Previously, synthesis service was responsible for creating
output file. Now, client API creates a file and then sends opened file
descriptor using ParcelFileDescriptor.

On service side, I forgot to keep a reference to a ParcelFileDescriptor object.
When GC was removing it, it was closing underlying file descriptor, resulting
in a EBADF error for all following writes to the output file.

This change makes use of a ParcelFileDescriptor.AutoCloseOutputStream to keep a
reference to the ParcelFileDescriptor. It will be referenced until we are done
with writing.

Change-Id: I8327af0eaeabaebfbbd8816d959783e89086a7c5
2013-03-06 09:27:11 +00:00
Mathias Agopian
f4d6f153e6 Merge "remove suppor for SurfaceControl.FX_SURFACE_SCREENSHOT" into jb-mr2-dev 2013-03-06 03:52:50 +00:00
Scott Kennedy
8ad7fbae87 Specify the size of the Map in the constructor
Change-Id: Ie3325f387cec72216cb70c1b764370e6f3dd1a3e
2013-03-05 19:46:43 -08:00
Deepthi Gowri
575bb45e9d frameworks/base: stop find before issuing wps pbc.
Stop p2p find before issuing a PBC to avoid GO switching to other
channel leading connection failure.

Change-Id: I88906f944de1c85b143f96cb7b35724af19cd151
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
2013-03-06 08:24:03 +05:30
Romain Guy
78421f9033 Merge "Take only the scale params into account to rasterize text" into jb-mr2-dev 2013-03-06 02:43:45 +00:00
Dianne Hackborn
f217145b56 Merge "A few small missing things from the custom action bar layout." into jb-mr2-dev 2013-03-06 02:20:04 +00:00
Romain Guy
624234f69b Take only the scale params into account to rasterize text
This change extracts the scale parameters of the current transform
to pass then to the font renderer. Rotation and perspective are
applied to the generated mesh inside the vertex shader. This limits
the number of glyphs we have to create in the font cache and thus
reduces memory churn.

Change-Id: Ic5b3bae2b2b0e0250a8ee723b071a1709725c749
2013-03-05 18:12:35 -08:00
Dianne Hackborn
7cf71fbdc3 A few small missing things from the custom action bar layout.
Change-Id: I91e0b43ccf92d5c9541f80220922951acb0795e7
2013-03-05 18:00:12 -08:00
Victoria Lease
956e0df922 am 913f3c8f: am 263554ae: am 7d4e52ba: Merge "FIX Null Pointer Exception on dialog cancel"
* commit '913f3c8f17ddfcfe67b8deb054272da29b6cdd6d':
  FIX Null Pointer Exception on dialog cancel
2013-03-05 23:55:29 +00:00
Victoria Lease
ac112cace6 am b2f91e7b: am 8ef243cf: am f45efd27: Merge "Audio continue to played even if paused manually"
* commit 'b2f91e7b23031496082f4dc1f5f0efdbc22188ea':
  Audio continue to played even if paused manually
2013-03-05 23:55:26 +00:00
Victoria Lease
913f3c8f17 am 263554ae: am 7d4e52ba: Merge "FIX Null Pointer Exception on dialog cancel"
* commit '263554ae5f51fe1181c0c80123ec7f489e124f1a':
  FIX Null Pointer Exception on dialog cancel
2013-03-05 23:53:48 +00:00
Victoria Lease
b2f91e7b23 am 8ef243cf: am f45efd27: Merge "Audio continue to played even if paused manually"
* commit '8ef243cf861044eec35ee3d8207561251e34c77c':
  Audio continue to played even if paused manually
2013-03-05 23:53:46 +00:00
Victoria Lease
263554ae5f am 7d4e52ba: Merge "FIX Null Pointer Exception on dialog cancel"
* commit '7d4e52baee6fe269280dbb55abe9b4fa1a1c1d8b':
  FIX Null Pointer Exception on dialog cancel
2013-03-05 15:51:19 -08:00
Victoria Lease
8ef243cf86 am f45efd27: Merge "Audio continue to played even if paused manually"
* commit 'f45efd276c9b09adcb97ea43afc806731583aac7':
  Audio continue to played even if paused manually
2013-03-05 15:51:16 -08:00
Romain Guy
75a1b29419 am ebf213fc: Merge "Make glyph copies a little more cache friendly" into jb-mr2-dev
* commit 'ebf213fc38ff39c680e539479d164b54fc6b1bc4':
  Make glyph copies a little more cache friendly
2013-03-05 23:30:43 +00:00
Romain Guy
ebf213fc38 Merge "Make glyph copies a little more cache friendly" into jb-mr2-dev 2013-03-05 23:26:53 +00:00
Victoria Lease
7d4e52baee Merge "FIX Null Pointer Exception on dialog cancel" 2013-03-05 23:25:16 +00:00