Commit Graph

39426 Commits

Author SHA1 Message Date
Svetoslav
2657a6775c am 67ed0367: am 2b2e19fd: am 903f1840: Fix cross-user talk.
* commit '67ed03675961971052c93a2918adaf88e2a70203':
  Fix cross-user talk.
2014-08-07 05:28:19 +00:00
Svetoslav
985e566cec Fix cross-user talk.
An app can access widgets hosted or provided by its uid and package.
Access is also allowed if the caller has the bind app widgets permission
but this caller can be in the wrong user. Now the caller should not
only have the bind app widget permission but also be in the same user
as the host or the provider of the widget.

bug:16834230

Change-Id: I5ddb6309f63f2b4ba95360446c2b9584350fb66f
2014-08-07 05:14:36 +00:00
Jungshik Jang
2fb84d2ef4 am 09aa014e: am 09ae74da: am f3d00918: Merge "Rename HdmiCecDeviceInfo into HdmiDeviceInfo." into lmp-dev
* commit '09aa014e09870fc6f6e15e105d3b43d6371edd25':
  Rename HdmiCecDeviceInfo into HdmiDeviceInfo.
2014-08-07 02:56:05 +00:00
Paul Jensen
e8f0ddc5a9 am a3b258aa: am 3539fbed: am f98c63e9: Merge "Revert DNS cache flush command deletion from "Cleanup: Delete dead code."" into lmp-dev
* commit 'a3b258aa389c7ecf2f3aa7acb4fa9b619b26afd4':
  Revert DNS cache flush command deletion from "Cleanup: Delete dead code."
2014-08-07 02:46:48 +00:00
Paul Jensen
183d81679a am 6d5b3718: am d2ff5f51: am 776f1902: Remove dead CaptivePortalTracker.
* commit '6d5b3718bb5b5bb9aeac3cf92c6fbc730c1021a6':
  Remove dead CaptivePortalTracker.
2014-08-07 02:46:37 +00:00
Paul Jensen
ab14df37ab Remove dead CaptivePortalTracker.
Captive portals are now detected by the NetworkMonitor.

Change-Id: Ibfb04bf83b1028231397a577468f110d7ab1dc06
2014-08-07 02:32:54 +00:00
Alan Viverette
62add8db0f am 583db6d3: am d840c144: am cb0fc1e5: Preserve surface insets when view layout is updated
* commit '583db6d3f6965fe1a3ca840d2024c18be3733792':
  Preserve surface insets when view layout is updated
2014-08-07 01:17:27 +00:00
Svet Ganov
3d2838fa88 am e7066052: am fbbd64aa: am 7efdcd46: Merge "Fix regression in remote views." into lmp-dev
* commit 'e7066052a3b517652222107602a1b8d33dc5aee3':
  Fix regression in remote views.
2014-08-07 01:17:21 +00:00
Alan Viverette
dbed893ba8 Preserve surface insets when view layout is updated
Also makes canvas save & restore in threaded renderer a little safer.

BUG: 16654228
Change-Id: Ie0d49450ed408cffd0b859c08e524b6f904c77ca
2014-08-07 01:01:17 +00:00
Adam Powell
60530c3602 am e1684099: am cf87332f: am f735b695: Have TextView editors use the Menu context for action mode icons
* commit 'e1684099140d48733b69efeab0999efac70bc057':
  Have TextView editors use the Menu context for action mode icons
2014-08-07 00:56:25 +00:00
Jeff Sharkey
89a8afe6ea am 59eeb5fa: am 744e367e: am 197ec8d3: Surface user action events when un/installing.
* commit '59eeb5fa26c0bb7eee513170ccc53d0d040f9d4e':
  Surface user action events when un/installing.
2014-08-07 00:44:22 +00:00
Jungshik Jang
a3a310fb9e am ace5759f: am e0ab5efa: am 75119bcb: Merge "Prevent hot plug detection action from multiple device polling" into lmp-dev
* commit 'ace5759ffa591941600ce8375ec51b3be4804944':
  Prevent hot plug detection action from multiple device polling
2014-08-07 00:39:45 +00:00
Svetoslav
d97d65900a am a13e3ab6: am 3892dcfb: am f287eb85: Polish of the app widgets cross-profiles feature.
* commit 'a13e3ab6c7621ba7d02941bfd001baa9400af56b':
  Polish of the app widgets cross-profiles feature.
2014-08-07 00:39:40 +00:00
Adam Powell
098e7fb587 Have TextView editors use the Menu context for action mode icons
Using the TextView's context instead when resolving these icons from
the theme causes issues if a dark action bar theme is in use.

Bug 16686041

Change-Id: I44cb4a83516d8610103b6ebaf604860b67ac84dd
2014-08-06 17:35:17 -07:00
Jeff Sharkey
fbd0e9fa37 Surface user action events when un/installing.
This will be used shortly to connect up with permissions
confirmation UI.

Bug: 16515814
Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
2014-08-07 00:23:54 +00:00
Svetoslav
c71c42fdb2 Polish of the app widgets cross-profiles feature.
1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
   returning a badged drawable. The methods to load the icon and the
   preview are now just making it easier for a developer to get the
   drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
   is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
   package name and having code paths where the cached value was not
   populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
2014-08-07 00:12:27 +00:00
Alan Viverette
c1b3ef4b3f am efb01783: am ddd01c25: am bfe4d0e8: Merge "Separate tint and tintMode properties" into lmp-dev
* commit 'efb01783a6c02b3ca7c49b32523a0f7a9e248178':
  Separate tint and tintMode properties
2014-08-07 00:07:29 +00:00
Igor Murashkin
8767a98367 am b026a7ca: am 1bf5f63f: am a56c39d8: Merge "camera2: (legacy) Support awb mode, test mode metadata keys" into lmp-dev
* commit 'b026a7ca44811499a4bfa537a55d1c1a8e069923':
  camera2: (legacy) Support awb mode, test mode metadata keys
2014-08-06 23:03:02 +00:00
Chet Haase
669eca2176 am c9ec035b: am 2622629f: am 9033d798: Fix Scroller interpolation
* commit 'c9ec035b9291055db6fc6def5b1310274d192c2b':
  Fix Scroller interpolation
2014-08-06 23:01:26 +00:00
Chet Haase
54b9e5baa3 Fix Scroller interpolation
The ViscousFluid interpolator simply returns the input value and not the
interpolation of that value.

Issue #16815073 Scroller.ViscousFluidInterpolator short circuited

Change-Id: Ifa189026c1396a42a2348260a2a54cf0c3caad08
2014-08-06 19:34:56 +00:00
Dan Sandler
3f9021b7b9 am 93815ea3: am d14deeb8: am 0de274ff: Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
* commit '93815ea33a3d15fe555539e3a93eb5662f329f3c':
  Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
2014-08-06 18:17:08 +00:00
Dan Sandler
52e5701eea Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
2014-08-06 18:00:53 +00:00
Alan Viverette
a426445dfd Separate tint and tintMode properties
BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
2014-08-06 15:42:10 -07:00
Igor Murashkin
5bd43d7145 Merge "camera2: (legacy) Support awb mode, test mode metadata keys" into lmp-dev 2014-08-06 17:19:40 +00:00
Igor Murashkin
733341bf0d camera2: (legacy) Support awb mode, test mode metadata keys
Change-Id: Ic013aa820bbea02a662d546eb9f70baa20c0136e
2014-08-06 14:35:40 -07:00
Alexandra Gherghina
ce5be58a85 am 2656f743: am 6a0d4fbd: am 00aeefd2: Add hidden API for removing cross-profile package filters
* commit '2656f743456b6792309a2d37c30db412df748b4b':
  Add hidden API for removing cross-profile package filters
2014-08-06 17:40:16 +00:00
Chet Haase
9fe7da70b3 am 5e067e5f: am 83e20b0d: am 51a8880d: Actually set the internal modal value in ListPopupWindow.setModal()
* commit '5e067e5f03efe1819e8e2786ab038a097d52b9dd':
  Actually set the internal modal value in ListPopupWindow.setModal()
2014-08-06 17:40:02 +00:00
Jungshik Jang
6c6b7ee5c0 am aff0bea4: am efca8d3c: am 924057dc: Merge "More tweaks for recording" into lmp-dev
* commit 'aff0bea4187395761c6d7ff6072826bd6a64cda7':
  More tweaks for recording
2014-08-06 17:39:01 +00:00
Michael Wright
88f3fbe801 am 9cb04b0f: am 0842ce85: am 104bc43d: Add supported refresh rate to displays
* commit '9cb04b0fd623d43a03f014556d5430394b931b66':
  Add supported refresh rate to displays
2014-08-06 17:38:09 +00:00
Amith Yamasani
01fa2ec823 am 604af1a6: am a41b17ac: am 41179448: Merge "Allow phone UID to export singleton providers" into lmp-dev
* commit '604af1a6212ccfe1deb7cb4c2cb1cb13154cf255':
  Allow phone UID to export singleton providers
2014-08-06 17:35:29 +00:00
Michael Wright
814228c186 am 0a00c223: am 23ffdccf: am 0bfcf09a: Mark all Meta combos as system combos
* commit '0a00c22343aa305a91199c733c34c79d16369bed':
  Mark all Meta combos as system combos
2014-08-06 17:35:15 +00:00
Sandeep Siddhartha
1ea615c8df am dfa94cdc: am e1516d4d: am d5099116: Merge "Use @IntDef for manage actions" into lmp-dev
* commit 'dfa94cdcec692ccc911a1c416e4c4a98db84c3c4':
  Use @IntDef for manage actions
2014-08-06 17:34:29 +00:00
Alexandra Gherghina
e41ce995a0 Add hidden API for removing cross-profile package filters
Bug: 16646591
Change-Id: Iaf6837fe4390ac1018c49df366ea434776ed7244
2014-08-06 14:52:50 +00:00
Chet Haase
e04499ad93 Actually set the internal modal value in ListPopupWindow.setModal()
The current code ignores the parameter and sets the internal modal
value to true. This has probably gone unnoticed because all framework
usage of this method calls it with 'true', except for one case where
it sets it to 'false' temporarily, and then to 'true'.

Issue #16815832 ListPopupWindow setModal broken

Change-Id: I4ac7ab31b4ab91c9959efd4ccf2264a8e381708f
2014-08-06 14:45:30 +00:00
Michael Wright
3f145a2f95 Add supported refresh rate to displays
Change-Id: I51231dd6dd231d57dd1ac499349d6335121f07d5
2014-08-06 02:03:49 +00:00
Michael Wright
ce0c13a169 Mark all Meta combos as system combos
Also make a meta-tab a recents accelerator.

Bug: 14066931
Change-Id: Iac6aab276e4e16d5f70c92a5a03172bd81559afa
2014-08-05 23:01:15 +00:00
Svet Ganov
67739a3a19 Merge "Fix regression in remote views." into lmp-dev 2014-08-05 00:35:13 +00:00
Svet Ganov
0da85b6c90 Fix regression in remote views.
Now remote views contain the application info for the app on whose
behalf they should show content. The application info contains the
user id and the package name which makes it unique in the multi
user environment. If the app which creates the remote views does
not have the same package as the one passed in the contructor of
the remote views, we lookup the app info for the target package.
There is a special hidden overload that allows creating a remote
views instance that represents an app in given package and user
(requires interact across users) permission. The latter is used
by SystemUi when creating remote views for apps that posted a
notification.

bug:16838651

Change-Id: I2daa974629f89a2446848e59300d994dadcf4439
2014-08-07 00:30:44 +00:00
Michael Wright
62c06ecb66 am 0aade803: am e94f3851: am c9938987: Add resize method for virtual displays
* commit '0aade8038390179070bf94683fb20ff797db1adf':
  Add resize method for virtual displays
2014-08-06 12:10:01 +00:00
Svetoslav
39999cf026 Allow adding widgets from user profiles.
The goal of this change is to enable support for appwidget from
user profiles to the user main profile. A user profile is a user
which is associated as a child of the main user profile. For example,
a user may have a personal (parent) and corporate (child) profile.
The device policy should be able to control whether adding a widget
from a child profile and given packages is allowed. This change
assumes that all packages from managed profiles are white listed.
Another change will add the device policy changes.

(cherrypicked 8cd27c3c to work around Gerrit issue)

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
2014-08-06 11:01:36 +01:00
Eric Laurent
60b4966aba am d18d2782: am 238de6e0: am 7b8c0c55: Merge "SoundTrigger API update." into lmp-dev
* commit 'd18d2782e97dad42ec54962ff006d1710a5b28ab':
  SoundTrigger API update.
2014-08-06 01:47:36 +00:00
Chris Craik
419a01227f am cc8a7796: am c49c19cd: am c48b90be: Move clip bound execution into drawChild()
* commit 'cc8a779654963674fe07cb2b6fee219a10fcc145':
  Move clip bound execution into drawChild()
2014-08-06 01:46:21 +00:00
Michael Wright
01e840ff94 Add resize method for virtual displays
Change-Id: I2632fc56c2d2cba356379e42f5c1a3e283b11d1e
2014-08-05 21:10:03 +00:00
Chris Craik
e4cf152cb7 Move clip bound execution into drawChild()
bug:15698973

This makes native and java implementations match up in the sequence of
clip vs applying other properties / draw calls.

Change-Id: Ia75e00c5b42f81ecd516722ef1c5233d483e0c97
2014-08-05 18:01:53 +00:00
Jeff Sharkey
32cc18722c am 008545ea: am 262667e3: am 7c1ad552: Stronger constraints around install session IDs.
* commit '008545ea426b4578e305c79edb52b04dd36a7263':
  Stronger constraints around install session IDs.
2014-08-05 17:59:06 +00:00
Jeff Sharkey
f174c6e6de Stronger constraints around install session IDs.
Generate positive, non-zero session IDs, and don't recycle them
within a given boot.  Guard against ID starvation by crazy apps.

Bug: 16792837
Change-Id: I6035afe4d942d358b5ca12b4f818c55885b74aba
2014-08-05 17:46:05 +00:00
Nicolas Prevot
ed4a38c9a6 am c26ea53a: am 4bdd413f: am 95559c12: Merge "Security fixes related to cross-user content." into lmp-dev
* commit 'c26ea53a82db6fb9448a7832388d777bca0a225d':
  Security fixes related to cross-user content.
2014-08-05 17:25:00 +00:00
Andre Eisenbach
ed22e7d3d0 am 29a47839: am 6580603d: am 790eede3: Add transport parameter to createBond() function (4/4)
* commit '29a47839411b3323a8c2e021e335d6c098a9e1c3':
  Add transport parameter to createBond() function (4/4)
2014-08-05 17:16:27 +00:00
Andre Eisenbach
57210c7a1a Add transport parameter to createBond() function (4/4)
Bug: 14063256
Change-Id: I096248b60752992aa23ce5bfbfc47fda95773db2
2014-08-05 17:01:13 +00:00
Torne (Richard Coles)
0bc0c4d853 am fe475a93: am b397f3e5: am 9d52e5f1: Merge "Log the version of the WebView package used." into lmp-dev
* commit 'fe475a938db73fbd79223733d98587ac48276da7':
  Log the version of the WebView package used.
2014-08-05 16:17:53 +00:00