120827 Commits

Author SHA1 Message Date
Gabriel Peal
4668f1ed0d am 8ee4491d: am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
* commit '8ee4491dc80943429cd79d0c7b87c28056067a58':
  Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-25 03:54:11 +00:00
Selim Cinek
7290b56b51 am 8ae8689d: am c41853ce: Fixed wallpaper bug where wrong size was taken when cropping
* commit '8ae8689d165299bd0bbd0e04bff987dad352c8f5':
  Fixed wallpaper bug where wrong size was taken when cropping
2014-03-25 03:46:27 +00:00
Gabriel Peal
8ee4491dc8 am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
* commit 'e05077d78c9abde054a754db53e71c647b9a705c':
  Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-25 03:46:17 +00:00
Koji Fukui
39f7068ed9 Don't wait for finishing animation when second display is disconnected
Basically WindowManagerService wait for finishing animation when
a window is removed. But when second display is disconnected, windows
on second display can't be shown even if animation is waited for.
On the contrary, it keeps on waiting for finishing the animation
in special case.

With this fix windows are immediately removed without waiting for
animation when second display is disconnected.

Change-Id: I1354c193c04db394a21a11c174e10c8e7da17a0e
2014-03-25 11:25:32 +09:00
Jens Gulin
6056e10271 Solve three memory leaks related to PatchCache
A Patch can be fairly large, holding bitmap data, but
is also frequently leaked which adds to the severity.
The feature is used in many important processes such
as Home, SystemUI and Chrome.

The following leaks are solved:

1. The Patch itself was not always freed.
PatchCache::removeDeferred() can mark patches to be
cared for by PatchCache::clearGarbage(). But
mCache.remove() would only destroy the container
and the pointer, not the Patch object itself.

2. The vertices stored in the Patch at Patch::createMesh()
would always leak. The empty/default destructor in Patch
would not properly destroy "vertices" since it's just a
pointer.

3. A BufferBlock that's added to the mFreeBlocks
in PatchCache could leak. The leak happened when a
patch later needed the entire free block, because the
object was removed from the list but never deleted
in PatchCache::setupMesh().

Change-Id: I41e60824479230b67426fc546d3dbff294c8891f
2014-03-25 09:37:02 +09:00
Chong Zhang
c4e6233b20 am b68d38e8: DO NOT MERGE change Surface constructor arg to 64bit
* commit 'b68d38e81fd779011e478dcf9911fbe77f71f20e':
  DO NOT MERGE change Surface constructor arg to 64bit
2014-03-25 00:20:03 +00:00
Ricardo Cervera
cd64a9ba96 am 399b9994: docs: Added release notes for Google APIs System Image v4.
* commit '399b99940e68eec11de1d0a23df67740ac3fdbd4':
  docs: Added release notes for Google APIs System Image v4.
2014-03-25 00:16:55 +00:00
Kenny Root
da776c872e Use X509ExtendedTrustManager and not Conscrypt
This allows the new X509ExtendedTrustManager to be used instead of
Conscrypt directly.

Bug: 13103812
Change-Id: I736f475342395f26657f2371828a6d3a0065a50a
2014-03-24 17:05:22 -07:00
Ricardo Cervera
399b99940e docs: Added release notes for Google APIs System Image v4.
Change-Id: Iac43dc318de44d19d48b0977c951cbc600b5c396
2014-03-24 17:01:35 -07:00
Matthew Williams
4701b51af2 am bb87ac7f: DO NOT MERGE: Downgrade expedited to normal on reschedule.
* commit 'bb87ac7f9733ca9b490cb34e8a675dba083a57b7':
  DO NOT MERGE: Downgrade expedited to normal on reschedule.
2014-03-24 22:39:21 +00:00
Scott Main
9d8184e790 am 779174ea: update wear homepage with layout fixes and replace GIFs with smaller versions
* commit '779174ea182908e18d821656fc408697485a1f7a':
  update wear homepage with layout fixes and replace GIFs with smaller versions
2014-03-24 22:14:29 +00:00
Matthew Williams
bb87ac7f97 DO NOT MERGE: Downgrade expedited to normal on reschedule.
bug: 12033540
Expedited was previously tracked by a redundant internal variable, ostensibly
as an optimisation. This variable could differ from the value in the bundle
depending on how the operation is initialised, which led to confusion. Now an
expedited sync will only be treated as such on its first execution.

Change-Id: Ibfc4e9e49b86c82f2364a6ef55f887705a053eb6
2014-03-24 14:42:06 -07:00
Ricardo Cervera
40594d9833 docs: Added release notes for Support Library 19.1.0
Change-Id: I622bf7644051a01a23f31058a860d5df206b3a84
2014-03-24 14:35:24 -07:00
Chong Zhang
b68d38e81f DO NOT MERGE change Surface constructor arg to 64bit
Bug: 12799017
Bug: 12799384
Change-Id: Ic16b4fa5394df38cee0378b6e00d1808b9c8cb94
(cherry picked from commit af608e81d450b962a443a21fb1a6feadeb355fe1)
2014-03-24 21:01:37 +00:00
Scott Main
779174ea18 update wear homepage with layout fixes and replace GIFs with smaller versions
Change-Id: I2e0b4efed83a4de7e095ece18d3c73634a23f964
2014-03-24 13:54:27 -07:00
Adam Lesinski
a6db4ab619 Fix issue with early service start
NotificationListener services would start too early
and crash due to system_server not being ready.

Bug: 13439345
Change-Id: I86ee93b50d016bfa0119e21a8cde8635212b16a4
2014-03-24 12:39:47 -07:00
John Spurlock
e2cae0a657 am 2b45d84e: Merge "Unhide Notification kind, rename to category." into klp-modular-dev
* commit '2b45d84e24946d0cbbcc577ca3e195c0db687c9a':
  Unhide Notification kind, rename to category.
2014-03-24 17:44:53 +00:00
John Spurlock
2b45d84e24 Merge "Unhide Notification kind, rename to category." into klp-modular-dev 2014-03-24 17:38:44 +00:00
Baligh Uddin
d3ff73381e Import translations. DO NOT MERGE
Change-Id: I2c8a0e45a30fdb43c65abce0a9db7eec1591363a
Auto-generated-cl: translation import
2014-03-24 09:48:18 -07:00
Baligh Uddin
077587fb50 Import translations. DO NOT MERGE
Change-Id: I0b32878886c66eb9fdd22bf332786e140d334533
Auto-generated-cl: translation import
2014-03-24 09:46:08 -07:00
Selim Cinek
8ae8689d16 am c41853ce: Fixed wallpaper bug where wrong size was taken when cropping
* commit 'c41853cee89b391cd2d4d93205ea69c746ccfa4c':
  Fixed wallpaper bug where wrong size was taken when cropping
2014-03-24 16:25:09 +00:00
Jose Lima
d13d701681 am eb2c85df: Merge "Added isGame application tag to the manifest" into klp-modular-dev
* commit 'eb2c85df4b2d8ea5dd3cd08cb0367d5ff666afe6':
  Added isGame application tag to the manifest
2014-03-24 15:53:24 +00:00
Jose Lima
eb2c85df4b Merge "Added isGame application tag to the manifest" into klp-modular-dev 2014-03-24 15:49:18 +00:00
Mark Renouf
3796594cd7 am a63cd9f4: Merge "Run finalizers before counting for StrictMode." into klp-modular-dev
* commit 'a63cd9f424d70a3f8ca059aa8f76b28be1f9fa07':
  Run finalizers before counting for StrictMode.
2014-03-24 15:27:45 +00:00
Mark Renouf
a63cd9f424 Merge "Run finalizers before counting for StrictMode." into klp-modular-dev 2014-03-24 15:22:55 +00:00
John Spurlock
cf44a124ab Unhide Notification kind, rename to category.
Change-Id: I8e6d5a30dff519d7ed4f38e018646dd2bc55db33
2014-03-24 11:02:36 -04:00
Craig Mautner
b98ee1eb50 am 103ed355: am 557a93e1: Merge "Set ScreenshotSurface secure if any secure content is shown."
* commit '103ed3558764f1fd41c9a5399e2030baa4110bfb':
  Set ScreenshotSurface secure if any secure content is shown.
2014-03-24 14:38:33 +00:00
Craig Mautner
103ed35587 am 557a93e1: Merge "Set ScreenshotSurface secure if any secure content is shown."
* commit '557a93e104f1fec69ed05b2d0ff26c78bca4c5d6':
  Set ScreenshotSurface secure if any secure content is shown.
2014-03-24 07:34:59 -07:00
Craig Mautner
557a93e104 Merge "Set ScreenshotSurface secure if any secure content is shown." 2014-03-24 14:31:38 +00:00
Selim Cinek
c41853cee8 Fixed wallpaper bug where wrong size was taken when cropping
When cropping, the selected area of the image was incorrectly
cropped to the size of the view instead of the size of the image

Bug: 13617446
Change-Id: If54a0891fa2cdeee70ba63752874f1543d401701
2014-03-24 13:53:06 +01:00
Narayan Kamath
02eb6bfd66 Fix scaleNinePatch.
Use yDivs for yDivs, and not xDivs.

bug: 13394494

(cherry picked from commit 42a51ae8812bccde7ff370cc2688f7955e489ad4)

Change-Id: Ia0a7d701a170945216ab247a483e7f972b6fe17e
2014-03-24 12:35:01 +00:00
Jinsuk Kim
3c34e5dbbb am c01e1aeb: Merge "Add HdmiCecManager" into klp-modular-dev
* commit 'c01e1aeb0d86bd626684c97d709d4a8e995fddfb':
  Add HdmiCecManager
2014-03-24 12:26:51 +00:00
Jinsuk Kim
c01e1aeb0d Merge "Add HdmiCecManager" into klp-modular-dev 2014-03-23 23:24:44 +00:00
Jinsuk Kim
fbcd503645 Add HdmiCecManager
Introduces HdmiCecManager/HdmiCecClient to provide apps/system components
with the way to access HdmiCecService via Context.getSystemService(HDMI_CEC_SERVICE).

Change-Id: I39da071a328074a4b7b049947943688bd7779c26
2014-03-24 08:19:39 +09:00
Craig Mautner
0392442de8 Allow FLAG_SHOW_WHEN_LOCKED to apply to dialogs
Previous fix to keep non-show-when-locked windows hid dialogs from
activities that had asked to be show-when-locked. That was too
restrictive.

Fixes bug 13225149.

Change-Id: I39ae9d7cbcc9b5109257f732d027bda3a2de65e4
2014-03-22 17:15:52 -07:00
Gabriel Peal
e05077d78c am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
* commit '83da75d938d519bbcffb9c3b52802fd2daad4aee':
  Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-22 23:35:00 +00:00
Gabriel Peal
83da75d938 Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
The first set of these APIs is for telephony:

Added some APIs to ITelephony and created a first party framework for them

toggleHold()
merge()
mute(boolean mute)
playDtmfTone(char digit, boolean timedShortCode)
stopDtmfTone()
swap()
addListener(ITelephonyListener listener)
removeListener(ITelephonyListener listener)

Bug: 13302451
Change-Id: Iefec5688c26a1b4fe77f5643eba6e1690a057ee6
2014-03-22 13:33:43 -07:00
quddusc
5771d42544 am 5b2e92e3: am 529d47ac: am e9863dbe: Merge "docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page." into klp-docs
* commit '5b2e92e37b41b1497b240d41df471081c9dfdc56':
  docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page.
2014-03-22 09:30:56 +00:00
quddusc
3ee70ca452 am 9c1eaeb0: am ff2599f9: am 0802b4fb: Merge "docs: Added Javadoc for Gcore Jarlsberg release." into klp-docs
* commit '9c1eaeb0b4f942b2163175c846e1c08ed4b14cbf':
  docs: Added Javadoc for Gcore Jarlsberg release.
2014-03-22 09:30:42 +00:00
quddusc
5b2e92e37b am 529d47ac: am e9863dbe: Merge "docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page." into klp-docs
* commit '529d47ace907c9d961e2c1fb2e4e68ff24833e72':
  docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page.
2014-03-22 04:09:04 +00:00
quddusc
9c1eaeb0b4 am ff2599f9: am 0802b4fb: Merge "docs: Added Javadoc for Gcore Jarlsberg release." into klp-docs
* commit 'ff2599f9b2f25179cad9631181216f2d24255901':
  docs: Added Javadoc for Gcore Jarlsberg release.
2014-03-22 04:08:59 +00:00
Igor Murashkin
965bed1c2c DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values
Bug: 12609188
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4da
2014-03-22 01:36:54 +00:00
quddusc
529d47ace9 am e9863dbe: Merge "docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page." into klp-docs
* commit 'e9863dbe0665d5ce6dd46d673034a488b7637aff':
  docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page.
2014-03-22 00:01:20 +00:00
quddusc
ff2599f9b2 am 0802b4fb: Merge "docs: Added Javadoc for Gcore Jarlsberg release." into klp-docs
* commit '0802b4fb391eecf37626d3d57f5e07eeb32a3185':
  docs: Added Javadoc for Gcore Jarlsberg release.
2014-03-22 00:01:16 +00:00
quddusc
e9863dbe06 Merge "docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page." into klp-docs 2014-03-21 23:55:43 +00:00
quddusc
0802b4fb39 Merge "docs: Added Javadoc for Gcore Jarlsberg release." into klp-docs 2014-03-21 23:55:34 +00:00
quddusc
e0f1fc8598 docs: Added feature highlights and related resources for Jarlsberg to Google Play services landing page.
Change-Id: Idc5dc716aa92c752b8dcd1967958d9d46521dfa6
2014-03-21 16:38:25 -07:00
Selim Cinek
d9e5761a4e am 04ea3ca0: am 50ac19e9: am ba126c09: Disable Set Wallpaper button while loading image
* commit '04ea3ca000312f4eccc44347c37c49471081b852':
  Disable Set Wallpaper button while loading image
2014-03-21 22:52:52 +00:00
Selim Cinek
04ea3ca000 am 50ac19e9: am ba126c09: Disable Set Wallpaper button while loading image
* commit '50ac19e9b8d3435eab44cacbb62c5081f44df910':
  Disable Set Wallpaper button while loading image
2014-03-21 22:46:33 +00:00
Selim Cinek
50ac19e9b8 am ba126c09: Disable Set Wallpaper button while loading image
* commit 'ba126c09a5c00cb0a96da6ece0b4ab4d7ed2d8cb':
  Disable Set Wallpaper button while loading image
2014-03-21 22:41:07 +00:00