Commit Graph

43363 Commits

Author SHA1 Message Date
Adam Lesinski
448c076d33 am 806d4cfb: am 521edf85: Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
* commit '806d4cfb2a06a01be4a58ff25a55797d9140b917':
  Have R classes generate their own reference rewrite logic
2014-08-26 18:42:24 +00:00
Winson Chung
c46977c508 am 77b91f7d: am 319b4b57: Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
* commit '77b91f7d87a9994348364a912d3127be2595d5ed':
  Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
2014-08-26 18:42:19 +00:00
Adam Lesinski
3aa6076083 Merge "Have R classes generate their own reference rewrite logic" into lmp-dev 2014-08-26 18:23:57 +00:00
Winson Chung
5c1b42e4f5 Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev 2014-08-26 18:23:10 +00:00
Adam Lesinski
6d41a45679 am 1d3ecf16: am 1c959e92: Merge "Introduce anydpi density resource qualifier" into lmp-dev
* commit '1d3ecf16766d92ef3d847f1420b9a622e871f6cd':
  Introduce anydpi density resource qualifier
2014-08-26 17:23:35 +00:00
Adam Lesinski
d691f31e51 Merge "Introduce anydpi density resource qualifier" into lmp-dev 2014-08-26 17:03:44 +00:00
Vinod Krishnan
f5f502b2db am 13f71ede: am dfde8600: Merge "Fwk: Adding an ECG hardware feature" into lmp-dev
* commit '13f71edefa81364525c78b1c02993f5366c9da30':
  Fwk: Adding an ECG hardware feature
2014-08-26 17:02:04 +00:00
Vinod Krishnan
51f6f52d9d Merge "Fwk: Adding an ECG hardware feature" into lmp-dev 2014-08-26 16:37:33 +00:00
Esteban Talavera
1a4b59960b am 4835644c: am 14dcf0ff: Merge "Revert API constants to previous value to match hardcoded value in google3 apps" into lmp-dev
* commit '4835644c3bff5b0906789a746a14b6b24f3d375f':
  Revert API constants to previous value to match hardcoded value in google3 apps
2014-08-26 16:17:40 +00:00
Esteban Talavera
fbb28dfb95 Revert API constants to previous value to match hardcoded value in google3 apps
Revert value of DevicePolicyManager constants that were hardcoded in dmagent. See previous change I6f60a43fe23526cfe855d81015feb759cf643926.

Bug: 17275391,17005622
Change-Id: I606b010eb0399f7b34b59c99f96549949410bafc
2014-08-26 15:38:44 +01:00
Jungshik Jang
eecb0a1a0a am a707633d: am 25d6a1e6: Fix several bugs in HdmiControlService.
* commit 'a707633db594b85604a2bddb0cfac333232ce0ad':
  Fix several bugs in HdmiControlService.
2014-08-26 11:29:02 +00:00
Jungshik Jang
339227da7c Fix several bugs in HdmiControlService.
1. Fix HdmniLogger null pointer exception
2. Should check arc enabled port for arc requests
3. Disallow ARC action coming from indirect AVR device.
4. Check original opcode of feature action
5. Add bitmasking to all parameters of cec message.

Bug: 17243701, Bug: 17238394, Bug: 17241401
Change-Id: Iff0da78b0de9a29fb00e683c261528e0baea66af
2014-08-26 14:13:57 +09:00
Dan Sandler
bea0a29c25 am d25fdb22: am 9255b9f4: Allow listeners to fetch current notifications by key.
* commit 'd25fdb22b80bfc987423e65d1a4da933229ea2c2':
  Allow listeners to fetch current notifications by key.
2014-08-26 05:07:58 +00:00
Adam Powell
94dab8cf72 am f0b3161f: am 44c81774: Merge "Add state save/restore for Toolbar" into lmp-dev
* commit 'f0b3161f44379e2c11b9e3108b4dd2f2e54a8b00':
  Add state save/restore for Toolbar
2014-08-26 04:56:59 +00:00
Robert Greenwalt
2738aafa20 am 79338c75: am e252f526: Merge "Update VPN whitelist/blacklist api docs." into lmp-dev
* commit '79338c75223dfd62f867193888ccccad082375e9':
  Update VPN whitelist/blacklist api docs.
2014-08-26 04:56:50 +00:00
Craig Mautner
ea3b4f84bd am 7e587f00: am dbbb7951: Merge "Update API per council requests" into lmp-dev
* commit '7e587f00bda01bd0cc814385c863b56e641f0670':
  Update API per council requests
2014-08-26 04:56:25 +00:00
Chris Craik
c53e7c8578 am b0640084: am 6210c6dc: Merge "Create z reordering boundaries around dispatchDraw" into lmp-dev
* commit 'b06400847cdfae6da8d3d4d5b52e2ff29d06cb7a':
  Create z reordering boundaries around dispatchDraw
2014-08-26 04:56:01 +00:00
Dianne Hackborn
e98a423e40 am 2e4f0834: am 8db0a171: Merge "Fix issue #16366571: UIDs for work and normal Chrome processes are the same" into lmp-dev
* commit '2e4f0834b4630484fa42d2ab6f0c59752d845a22':
  Fix issue #16366571: UIDs for work and normal Chrome processes are the same
2014-08-26 04:55:56 +00:00
Nancy Chen
bca396d5e1 am 2ac6146c: am f9317703: Merge "API review PhoneManager -> TelecommManager. Rename methods (6/6)" into lmp-dev
* commit '2ac6146c31e2f4798b66b7fa2abdb8e853592686':
  API review PhoneManager -> TelecommManager. Rename methods (6/6)
2014-08-26 04:55:24 +00:00
Adam Lesinski
6f858c1496 am 114978fd: am 874d4c00: Merge "PM: Load all splits when parsing an app manifest" into lmp-dev
* commit '114978fd6aac8015306e7dc54e4d7accd39d7cf6':
  PM: Load all splits when parsing an app manifest
2014-08-26 04:53:53 +00:00
Paul Lawrence
a0280916d3 am b0714550: am 518fc438: Merge "Show PIN screen with all PINs, not just simple ones" into lmp-dev
* commit 'b0714550209241bb7740ea3cee09faf2cbefd4ef':
  Show PIN screen with all PINs, not just simple ones
2014-08-26 04:52:40 +00:00
Paul Jensen
105ea0bd9d am f6479a6e: am fa1893b4: Merge "Remove captive portal sign-in actions." into lmp-dev
* commit 'f6479a6ed5b3e7438a81eca4912f744eb2d6876a':
  Remove captive portal sign-in actions.
2014-08-26 04:52:34 +00:00
Dan Sandler
ea75fddbb4 Allow listeners to fetch current notifications by key.
Bug: 16574195
Change-Id: I269dbcc7fc8912d84229f6a3d950b0015625ae7a
2014-08-26 04:24:10 +00:00
Adam Lesinski
1e466385d4 Have R classes generate their own reference rewrite logic
Change-Id: I0e5b8311fc3479d966a49f9acf0d4c32a6a024d3
2014-08-25 20:04:07 -07:00
Winson Chung
a4ccb86ddc Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
- Reverting changes to the existing thumbnail transition to prevent breaking applications
  that currently depend on that transition.  As a result, we need to create a new, hidden,
  aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
  recents header so that we don't have to wait to do that inside the Recents activity.

  In order for this to work, we also have to ensure that the thumbnail surface destruction
  is synchronized with the application that is currently closing (when going down to
  recents) or opening (when coming back up).  The current thumbnail is destroyed when the
  animation ends, but that can be at least 1 frame before the surface for the animating
  window is destroyed.  We change this by deferring destruction of this thumbnail window
  to the animation that is being closed.

  Especially on the way up, not having to wait for us to hide the header before doing the
  transition up can save us the duration of that first animation (> 100ms).

- Other optimizations:
  * No longer creating a new stack view on each transition to calculate the target rect
  * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
    window does its own animation.
  * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
    and caching the activity label and icon (and task description icon).  These caches
    follow the same eviction schemes as the thumbnail and icon cache.

- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
  tapping on home (Bug 17109581)

Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
2014-08-25 18:52:32 -07:00
Adam Powell
b79a70ab71 Merge "Add state save/restore for Toolbar" into lmp-dev 2014-08-26 01:29:15 +00:00
Adam Powell
31c91c8179 Add state save/restore for Toolbar
Save and restore the menu state for Toolbars. This will make sure that
we remember expanded action views and opened overflow menus across
state save/restore.

Remove an extra event post involved in the initial population of
action bar menus. Apparently at some point an extra level of this was
added that isn't necessary. Process any pending menu invalidations
immediately when we perform window state restoration. This makes sure
individual bits of state in action views, etc. are also restored
properly.

Bug 12005461

Change-Id: Icf905698576b11a59641bc319adc62300857906f
2014-08-25 18:25:54 -07:00
Robert Greenwalt
ad3fc40737 Merge "Update VPN whitelist/blacklist api docs." into lmp-dev 2014-08-26 00:58:51 +00:00
Robert Greenwalt
fc4f721a87 Update VPN whitelist/blacklist api docs.
Addressing what happens to unwhitelisted or blacklisted apps.

bug:17206162
Change-Id: I0b863946de277e6528675cc5412267a03f7b6841
2014-08-25 17:55:28 -07:00
Adam Lesinski
31245b4f06 Introduce anydpi density resource qualifier
This is meant to be used with scaleable vector
drawables, and are chosen as the best match unless
there is a configuration that matches the density
requested exactly.

Bug:17007265
Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32
2014-08-25 17:47:30 -07:00
Craig Mautner
1adbf22861 Merge "Update API per council requests" into lmp-dev 2014-08-26 00:00:18 +00:00
Chris Craik
366b4234ea Merge "Create z reordering boundaries around dispatchDraw" into lmp-dev 2014-08-25 23:26:19 +00:00
Dianne Hackborn
4cce1de9fe Merge "Fix issue #16366571: UIDs for work and normal Chrome processes are the same" into lmp-dev 2014-08-25 23:21:48 +00:00
Chris Craik
8afd0f245c Create z reordering boundaries around dispatchDraw
bug:16012254

This means rendernodes with a Z will no longer be drawn at the end of
their parent's DisplayList, but at the end of the associated reorder
region (DisplayListData::Chunk).

Change-Id: Ia033fee9d9a4db567b2a8d5e90fc57a4d0a64544
2014-08-25 15:35:40 -07:00
Nancy Chen
e4b1d57dfd Merge "API review PhoneManager -> TelecommManager. Rename methods (6/6)" into lmp-dev 2014-08-25 22:24:09 +00:00
Adam Lesinski
6b2416492e Merge "PM: Load all splits when parsing an app manifest" into lmp-dev 2014-08-25 21:41:22 +00:00
Vinod Krishnan
1ab7689ce8 Fwk: Adding an ECG hardware feature
Change-Id: I77e36b010a8ff0cce89a419b64a24f16d7e68caf
2014-08-25 14:32:38 -07:00
Craig Mautner
3b2cd1d59f Update API per council requests
launchTaskBehindBackgroundAnimation => launchTaskBehindTargetAnimation
visibilityMode => transitionVisiblityMode
makeLaunchTaskBehindAnimation => makeTaskLaunchBehind
launch_task_behind_background = launch_task_behind_target

Fixes bug 16958544.

Change-Id: I3b7c791fc0671b8071a5377cf6fa878bd5861f70
2014-08-25 14:25:54 -07:00
Paul Lawrence
4412e5c033 Merge "Show PIN screen with all PINs, not just simple ones" into lmp-dev 2014-08-25 18:53:28 +00:00
Paul Jensen
177cd38b00 Merge "Remove captive portal sign-in actions." into lmp-dev 2014-08-25 18:52:32 +00:00
Paul Lawrence
396ac76fd3 Show PIN screen with all PINs, not just simple ones
Bug: 17194645
Change-Id: I8b8ccd2b7cf6dbfac567492387d4f4fd61258a34
2014-08-25 11:13:46 -07:00
Svet Ganov
c14c828fcd am 43e9ef49: am bd394c7a: Merge "RemoteViews service not unbound." into lmp-dev
* commit '43e9ef4959f1dda00bfcb14a18afa7684ba2b485':
  RemoteViews service not unbound.
2014-08-25 18:09:58 +00:00
Sandeep Siddhartha
d1e0b3d74a am 61ae93d3: am 8da4d313: Remove the old API for creating hotword detector
* commit '61ae93d3231f70e660b50e431ab981ad3dd3a495':
  Remove the old API for creating hotword detector
2014-08-25 17:57:32 +00:00
Nancy Chen
0eb1e402c7 API review PhoneManager -> TelecommManager. Rename methods (6/6)
PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both

Bug: 16960458

Change-Id: I7d573e27ed093f2ddb7849703cc62f9916835393
2014-08-25 10:50:44 -07:00
Svet Ganov
f2a778683d Merge "RemoteViews service not unbound." into lmp-dev 2014-08-25 17:48:06 +00:00
Sandeep Siddhartha
07b4a6f42d Remove the old API for creating hotword detector
To be submitted only when the prebuilts have been updated

Change-Id: I7136b6a492610e4673f005b2d1682ce90ddb43a5
2014-08-25 10:34:07 -07:00
Sandeep Siddhartha
dbffa09f63 am b6943e7b: am fe3a5e88: Merge "Fix conversion of locale from BCP47 language tag" into lmp-dev
* commit 'b6943e7be6ce533d490009a5efe1264e1fd9ce46':
  Fix conversion of locale from BCP47 language tag
2014-08-25 16:45:21 +00:00
Sandeep Siddhartha
4b4d7efe52 Merge "Fix conversion of locale from BCP47 language tag" into lmp-dev 2014-08-25 16:18:55 +00:00
Svet Ganov
5771ad7bc7 RemoteViews service not unbound.
We are checking whether an app can access an app widget
based on the calling uid and the package name. The package
is mostly to make sure that hosts in different apps do
not accidentally interfere whereas the security is enforced
by the uid.

When remote views adapter binds and unbinds to a remote
views serivce it was passing the package of the context we
create to load resources for the widget instead the package
of the host. Now it is passing the host package and also
we are checking if the caller of bind remove serivce API
is in uid that has the host package - this makes it
consistent with elsewhere.

bug:17226052

Change-Id: I2b0b6669e3dc027037b7481c2871cedabd642433
2014-08-24 20:02:47 -07:00
Wei Wang
8159074f3f am 549f92b1: am 3952e39c: Merge "Fix API council review comments. Also hide certain APIs(1/3)." into lmp-dev
* commit '549f92b1135b5141918c13ddde6ba45db646b0cf':
  Fix API council review comments. Also hide certain APIs(1/3).
2014-08-24 23:19:05 +00:00