147139 Commits

Author SHA1 Message Date
Nicolas Prevot
f300babd25 Validate that the authority of incoming uris matches.
BUG: 16864837

Change-Id: I2d4473985777b9525b101c1b02ad2395342b9722
2014-08-08 18:27:00 +01:00
Robin Lee
faa4b3cb06 Disallow switching managed profile to foreground
Another check in the ActivityManager to stop us from getting into an
invalid state by a fat-fingered 'am switch' etc.

@bug 16814252

Change-Id: Id65ab647d5a535cc2f965139a1b717cf65aa7e69
2014-08-07 10:15:45 +01:00
Yuncheol Heo
7dea98f6f9 Allow to use device's own physical address.
- Fixed JavaDoc.

Change-Id: I6fdbf6596b5f2e41a238b36e128ba0889725c813
2014-08-07 17:58:59 +09:00
Yuncheol Heo
2849b7ccd1 Go to nap when receiving <Active Source> for the other devices.
- Previously, it went to sleep when it got <Active Source>, but this
  causes the other side-effects like can't-wake-up when changing to HDMI
  port directly.

Bug: 15578870
Change-Id: I0ca5bd2372c9e5e7446592d66483900eeba75500
2014-08-07 17:30:08 +09:00
Terry Heo
df9f0a321e TIF: Add system API 'isSingleSessionActive()'
Bug: 16498558
Change-Id: I4f815f431051dbf786216d2b04e9737be451a508
2014-08-07 08:07:17 +00:00
Brian Carlstrom
ce5bbbea08 Move image classes options from art to AndroidRuntime [frameworks/base]
Bug: 15165413

(cherry picked from commit 108166c749f0418d45f220419a9611c4afec1311)

Change-Id: Ib0d638ac3ca6668a5be04cdbdfd46740dabeceaa
2014-08-06 22:25:01 -07:00
Brian Carlstrom
0d8fb01963 Disable compilation based on vold.decrypt. [frameworks/base]
Bug: 15165413

(cherry picked from commit 4fd561637a173c7fa6a1d71e9115db1db90514ff)

Change-Id: I2a13b63f9d4a7ffd69a8d21666c6dce84739c6ed
2014-08-06 22:25:01 -07:00
Brian Carlstrom
3fbfbb4ade Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/base]
This will allow us to conditionally change the compiler-filter based on other properties.

Bug: 15165413

(cherry picked from commit f60d3a4702f6d00d7edb5d348c53b9b03ae16b76)

Change-Id: I293c81ba817e9abbf9c05b3fb554ef2f0ad0c4ed
2014-08-06 22:25:00 -07:00
Alex Light
a25dc2bbe7 resolved conflicts for merge of 37651b60 to lmp-dev-plus-aosp
Change-Id: I1fe0e64d2069b7424014bd3ff0bf6f80b439220d
(cherry picked from commit 1faf2d0d25550dc759481fd523456711808e8251)
2014-08-06 22:25:00 -07:00
Jungshik Jang
7bbf9e720d Merge "Use message validator for sending message." into lmp-dev 2014-08-04 23:56:40 +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
5f75cbd859 Use message validator for sending message.
Change-Id: I2ff82c5596e8c78c24189199ede66ee9905b95f5
2014-08-07 12:02:29 +09:00
Jungshik Jang
14b7c54eea Merge "Rename FeatureAction into HdmiCecFeatureAction" into lmp-dev 2014-08-04 23:56:40 +00:00
Jungshik Jang
b509c2ecd9 Rename FeatureAction into HdmiCecFeatureAction
Change-Id: I92ca11e513f8cf520e84399fe688397f2d9f714a
2014-08-07 13:58:02 +09:00
Matthew Williams
be0c417539 JobScheduler idle mode not being properly triggered
Issue with how the pending intent was being created -
the component name being explicitly set on the intent somehow
caused the intent to not be delivered.
Fix: no longer set the component name on the intent.
BUG: 16798118

Change-Id: I86b08b2a47067dc9b8da8b85450bc338e0826aca
2014-08-07 04:50:47 +00:00
John Spurlock
3f14df5c9d Merge "Common shade width across devices." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
7e6809ad64 Common shade width across devices.
Use 400dp as the visual width of the shade across all devices
and orientations, except small device portrait.

Since the width is now dynamic across orientations, update the
necessary views in SystemUI on rotate.

Remove obsolete styles + resources.

Set max QS columns to 3 on all devices, due to the newer shade
width.

Bug:16825515
Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
2014-08-06 23:33:53 -04:00
Paul Jensen
8f333f1922 Switch CaptivePortalLogin app to use theme like Settings UI.
The theme is switched to Theme.Material.Settings.  The progress bar
window feature is not supported in Material (b/16652978) so I added
a progress bar to the layout.  The Theme.Material.Setting's accent
color is set such that ProgressBars are indistinguishable, so accent
color is reset back to the parent's setting.

bug:15409354
Change-Id: Ic2862b8439be8591ec426f3d4dffad72179b2539
2014-08-07 02:49:24 +00:00
Santos Cordon
7c7bc7f691 Add setConferenceable() API from ConnectionService to incall. (1/4)
Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
2014-08-06 03:36:09 -07:00
Jungshik Jang
9b5bd967e4 Merge "Rename HdmiCecDeviceInfo into HdmiDeviceInfo." into lmp-dev 2014-08-04 23:56:40 +00:00
Paul Jensen
eec75412a9 Stop ConnectivityService from talking to netd about uncreated networks.
This avoids logged netd errors that are red-herrings.

bug:16667349
Change-Id: I5d6f1681f1d38dab0af4c535573a0c45c0216603
2014-08-07 02:44:51 +00:00
Jungshik Jang
61f4fbd2e8 Rename HdmiCecDeviceInfo into HdmiDeviceInfo.
In order to include mhl device info to device info,
rename HdmiCecDeviceInfo into HdmiDeviceInfo.

BUG: 16215362

Change-Id: I30fb0216061fbbdd6fdc1b82c63af83f1b678597
2014-08-07 11:14:15 +09:00
Paul Jensen
8043df68bf Merge "Flush DNS cache when routes change." into lmp-dev 2014-08-06 21:46:55 +00:00
Paul Jensen
5fb2c6ffe7 Flush DNS cache when routes change.
We used to do this but the change got lost in the NetworkAgent
upgrade.  This brings it back.  ConnectivityService has netd do
the actual flushing.

bug:16549455
Change-Id: I11ddd55fcb9d1ed1d2c6a9be7eb8c57e41bdbdb8
2014-08-06 22:39:40 -04:00
Paul Jensen
b69a3a8eaa Revert DNS cache flush command deletion from "Cleanup: Delete dead code."
This reverts part of commit 7a161c535104555890fa78b99faf1f414fc03e85.
The DNS cache flushing code needs to be called when routes change.

Change-Id: I20d39eabfa088deeeeeff0c3292b1910fd948b0d
bug:16549455
2014-08-06 15:34:26 -04:00
Paul Jensen
306f1a45c6 Add back in ACTION_NETWORK_CONDITIONS_MEASURED broadcast.
This broadcast used to be sent out by the now defunct CaptivePortalTracker.
Begin sending it out again from the NetworkMonitor who now tests for
captive portals.

Change-Id: Ia33beb04e78cfc4fc042c3b999a3d4e2f9ba4c96
2014-08-06 15:22:02 -04:00
Paul Jensen
e547ff2810 Use OkHTTP instead of my home-made HTTP, for network validation.
The home-made version was only done because there was no previous way to
perform network-specific HTTP.  The home-made version has already shown
incompatibility, see linked bug.

bug:16316314
Change-Id: Ic9e50174552d1466eb1ff59ff9d28e18035cc3e0
2014-08-06 15:17:54 -04:00
Svetoslav
dd712a70c8 Merge "Fix NPE in device policy manager service." into lmp-dev 2014-08-05 00:35:13 +00:00
Svetoslav
318f91b784 Fix NPE in device policy manager service.
Change-Id: I796359f903077eb0ef825ed926557f1a13b2e4c4
2014-08-06 19:05:57 -07: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
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
Jorim Jaggi
5557e65b20 Merge "Fix hints for tablet lockscreen." into lmp-dev 2014-08-06 23:49:14 +00:00
Jorim Jaggi
62defa3a87 Fix hints for tablet lockscreen.
Change-Id: I5f304e2da36467bee8306f611adda30f6dc34b3c
2014-08-07 02:25:37 +02: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
Jorim Jaggi
0b75f83f14 Fix constant redrawing on Keyguard issue.
Change-Id: I48d7d746a6f4e737c0292e9f1d4becc5eb6d6294
2014-08-07 02:20:27 +02:00
Adam Lesinski
14e15fe4ab Merge "Modify base Configuration used for aapt dump badging" into lmp-dev 2014-08-06 21:46:55 +00:00
Youngsang Cho
5caf1e8dda Make caption setting consistent across sessions
Change-Id: I7cb8ab109188b9f78cceb1025339bce98c776052
2014-08-07 00:48:50 +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
Jorim Jaggi
905857f1b8 Merge "Fix constant redrawing on Keyguard issue." into lmp-dev 2014-08-05 00:35:13 +00:00
Paul Jensen
6ac5db5777 Merge "Revert DNS cache flush command deletion from "Cleanup: Delete dead code."" into lmp-dev 2014-08-05 00:19:02 +00:00
Paul Jensen
0a9aae3e29 Merge "Add back in ACTION_NETWORK_CONDITIONS_MEASURED broadcast." into lmp-dev 2014-08-05 00:35:13 +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
Paul Jensen
e6499b7921 Merge "Use OkHTTP instead of my home-made HTTP, for network validation." into lmp-dev 2014-08-05 00:19:02 +00:00
Jinsuk Kim
58956a5569 Merge "CEC: Hide CEC devices behind non-CEC switch" into lmp-dev 2014-08-05 00:07:36 +00:00
Jinsuk Kim
4fdd0f47bc CEC: Hide CEC devices behind non-CEC switch
CEC devices connected to a non-CEC switch are not under full control
of TV. Will be filtered out from the list of devices provided to TIF.

Bug: 16797838
Change-Id: I8f8ff3a33ddeeb0a2877ca0e596a24096e648879
2014-08-07 10:36:30 +09:00
Alan Viverette
ec9d464a59 Update branding colors
BUG: 16845793
BUG: 16851916
Change-Id: I79a15752b5dda8f3c9f159826c61e3d2a6c8bd48
2014-08-07 01:13:23 +00:00
Sungsoo Lim
022e7cc298 Merge "TIF: Add content ratings for Australia" into lmp-dev 2014-08-04 23:56:40 +00:00
Sungsoo Lim
1fd38bd996 TIF: Add content ratings for Australia
Reference: http://www.classification.gov.au/

Change-Id: I79a85124df7e06418ff95ca39ef1db98a83c5af1
2014-08-06 15:11:26 +09:00
Youngsang Cho
ac8c3d3358 Merge "Remove a Handler constructor parameter Looper in TIS" into lmp-dev 2014-08-05 00:07:36 +00:00