18794 Commits

Author SHA1 Message Date
Dongwon Kang
10e9796ae9 am e12431bf: am 84745dd1: Merge "Disable TvInputManagerService on non-TV devices." into lmp-dev
* commit 'e12431bf0fde0cc9a26c9e501ae665b5b0afa500':
  Disable TvInputManagerService on non-TV devices.
2014-07-25 02:26:57 +00:00
Christopher Tate
cb6121dc48 am fcacf679: am 1cf19dc7: Turn on debugging override of idle time
* commit 'fcacf679871631ddc16381374becb5213b2ee2df':
  Turn on debugging override of idle time
2014-07-25 02:26:44 +00:00
Christopher Tate
b9583c9d93 Turn on debugging override of idle time
'adb shell am idle-maintenance' has traditionally been used to force
the system to consider itself to be in an "idle" state.  Unfortunately
the new Job Manager hadn't yet been aware of this.  Rectify the situation.

Also fixes a bug in debug logging that would cause a system server
crash under certain race circumstances.

Change-Id: I8a29bd7757924f8e464865235c344233fc03d8c3
2014-07-25 00:30:07 +00:00
Sreeram Ramachandran
2b1b96ba0f am 5641181d: am f5aef029: Merge "Don\'t create a ConnectivityManager when the service isn\'t ready yet." into lmp-dev
* commit '5641181dbaaad61b5cd584044ae85ccf0d436698':
  Don't create a ConnectivityManager when the service isn't ready yet.
2014-07-24 23:46:57 +00:00
Amith Yamasani
2423ad19b9 am 2ec5ef32: am 8fdfdbbb: Call PRE_BOOT_COMPLETED on starting any user
* commit '2ec5ef329f6e36a722f3cac1dac380d75889f603':
  Call PRE_BOOT_COMPLETED on starting any user
2014-07-24 23:46:35 +00:00
Prashant Malani
8ddba1e8e9 am 992f4dee: am 16d220d9: Merge "resolved conflicts for merge of bc3699b1 to lmp-dev" into lmp-dev
* commit '992f4dee4c7e7de7d659129c979187f7e3317607':
  Revert "Remove circular mask"
2014-07-24 23:36:50 +00:00
Robert Greenwalt
eeaea4f902 am 142fc0ca: am 457a09d5: Merge "Fix DUN-based tethering." into lmp-dev
* commit '142fc0ca3326c87b43f873e0a749be78436aa173':
  Fix DUN-based tethering.
2014-07-24 23:35:57 +00:00
Craig Mautner
b33ff85022 am 93853c4c: am b803a2be: Refactor screen blocking logic.
* commit '93853c4c341ebdc2a630fe76767cbd5d86c8249e':
  Refactor screen blocking logic.
2014-07-24 23:35:02 +00:00
Amith Yamasani
422570ea3f Call PRE_BOOT_COMPLETED on starting any user
Refactor PRE_BOOT_COMPLETED delivery code.
Continue to call it on all existing users on system update.
Call it on any user being started, as part of
initialization.

Change-Id: Ie188a823fb19afde3781d6c45ada55d6e92edfac
2014-07-24 23:24:38 +00:00
Craig Mautner
6714e86a54 Refactor screen blocking logic.
Because of the call to turn on the screen introduced in ag/495255
is now made earlier we may not have sent the wakeup broadcast by
the time the windows have all drawn. In such a case onScreenOn()
did not release the wakelock and the screen stayed off.

This change ensures that no matter the timing of onScreenOn()
the wakelock will be released but only for the onScreenOn()
called in response to the most recent screen on transition.

Fixes bug 16404078.

Change-Id: Ic1e3e61e16c1fc34d4ec657e0e53ac49a05ca6a4
2014-07-24 20:49:57 +00:00
Sreeram Ramachandran
ba6e4c60e7 Merge "Don't create a ConnectivityManager when the service isn't ready yet." into lmp-dev 2014-07-24 20:48:02 +00:00
Sreeram Ramachandran
62a61314bc Don't create a ConnectivityManager when the service isn't ready yet.
Bug: 16550853
Change-Id: Ib244c93dc982cbfe5d065a20e4b8f0aeefb15b8f
2014-07-24 16:26:59 -07:00
Prashant Malani
85d5144984 resolved conflicts for merge of bc3699b1 to lmp-dev
Change-Id: I1b219b5b48afb08ce3704a4f064a85652d2d9339
2014-07-24 15:29:27 -07:00
Nicolas Prevot
f2e791fcdd am 1b4a211d: am 4fe8fe2b: Merge "Making the clipboard work across users." into lmp-dev
* commit '1b4a211dc241c8d7275da97980dd6ea843f42933':
  Making the clipboard work across users.
2014-07-24 19:49:30 +00:00
Ji-Hwan Lee
a2ccc146ba am e24b1ccc: am fe199929: Merge "TIF: Handle null main session" into lmp-dev
* commit 'e24b1ccc00a79dec8de5d8b7e27477251b2aca02':
  TIF: Handle null main session
2014-07-24 19:49:15 +00:00
Ji-Hwan Lee
24445f62f8 am 8207fa19: am f9203497: Merge "TIF: Fix crash on setMainSession" into lmp-dev
* commit '8207fa194b9f0e2c126b7ee3978d34ba6ca15192':
  TIF: Fix crash on setMainSession
2014-07-24 19:49:07 +00:00
Ji-Hwan Lee
b398259496 am 1bcb91c1: am 22185ce0: TIF: Support HDMI-CEC active source management
* commit '1bcb91c19bfdc166ff4cacc1dc1569da5416b3fa':
  TIF: Support HDMI-CEC active source management
2014-07-24 19:48:59 +00:00
Terry Heo
b4862fa742 am 6933e350: am f71dcd8e: Merge "TIF: Enable capturing TV input of TvInputPassthroughWrapperService" into lmp-dev
* commit '6933e350e6eb1f866578e1f588284706b3401894':
  TIF: Enable capturing TV input of TvInputPassthroughWrapperService
2014-07-24 19:48:55 +00:00
Antoine Labour
6e753f8087 am f6ec140a: am 4a35f41a: Merge "WindowManager: fix clipping" into lmp-dev
* commit 'f6ec140ad67263061c6c9236e1c117c75c1a6dc0':
  WindowManager: fix clipping
2014-07-24 19:48:50 +00:00
Jungshik Jang
a81ca12dc3 am 13dcf17a: am 3b4dcfa8: Implement OneTouchRecordAction and stop one touch record.
* commit '13dcf17a859bb88569dc93287d69054d213a3e89':
  Implement OneTouchRecordAction and stop one touch record.
2014-07-24 19:48:03 +00:00
Terry Heo
8934fd5d64 am 5d41a6b0: am 4d85b87c: Merge "Add a frame capture API of TV input" into lmp-dev
* commit '5d41a6b0ca5f44d7eeca9d853a468a3a899f0c49':
  Add a frame capture API of TV input
2014-07-24 19:47:35 +00:00
Geoffrey Borggaard
832f82f9eb am 1b09c716: am d07b648b: Merge "Fixes setting password through DevicePolicyManager" into lmp-dev
* commit '1b09c716096ccada799c6fde6cb397b3e307b709':
  Fixes setting password through DevicePolicyManager
2014-07-24 19:46:46 +00:00
Matthew Williams
7d1081531d am 083e4b24: am 0e61a7c0: Merge "Fix JobScheduler race condition" into lmp-dev
* commit '083e4b24c978e380e6a7c864a00257f585eb51c7':
  Fix JobScheduler race condition
2014-07-24 19:46:20 +00:00
Prashant Malani
bc3699b1c3 am b4dcc64f: Merge "Revert "Remove circular mask"" into klp-modular-dev
* commit 'b4dcc64fe6314b139ac17aa296419bbf153df2f6':
  Revert "Remove circular mask"
2014-07-24 18:06:03 +00:00
Dongwon Kang
2380f36e67 Merge "Disable TvInputManagerService on non-TV devices." into lmp-dev 2014-07-24 16:05:03 +00:00
Robert Greenwalt
fab50167a8 Fix DUN-based tethering.
It was calling into dead ConnectivityService code rather than using
the new ConnectivityManager shim code.

bug:15221541
Change-Id: I1e3eea8a658a162ce36673ed1cf7b1e7e4372c42
2014-07-24 14:39:51 -07:00
Dongwon Kang
0fdcb74cc3 Disable TvInputManagerService on non-TV devices.
The block condition is based on FEATURE_LEANBACK instead of
FEATURE_TELEVISION which is deprecated in favor of FEATURE_LEANBACK.

Bug: 16497355
Change-Id: I433051362fe94ea453afe9344800fb4f8c7076a9
2014-07-24 16:28:35 +09:00
Ji-Hwan Lee
4c52697dbe TIF: Support HDMI-CEC active source management
Add system API TvView.setMain() and TvInputService.onSetMain().

Bug: 15994065
Change-Id: I60ac24659453ca616380993c4accd8c17e714639
2014-07-24 15:07:43 +09:00
Jungshik Jang
b6591b8e53 Implement OneTouchRecordAction and stop one touch record.
In addition to it, add api for clearTimerRecording as well.
Separately, I will replace logic for notifying message with callback
interface.

Bug: 16160962

Change-Id: I2368f7c697eb44ed4542c0ec4412c63a6ae41a5c
2014-07-24 11:11:38 +09:00
Prashant Malani
a04ea61db5 Revert "Remove circular mask"
This reverts commit 2e8b27e898af3af1165a79e7c5f8b59f63f20a2f.

It also makes the circularMask option configurable via overlay.
It is set to false by default.

An offset dimension entry is also provided, for displays which have
a "chin". This is set to 0 by default.

Bug: 16380982
Change-Id: I16ec3e8d8882a6683c9155055944e5c2f5cd781e
2014-07-23 17:26:08 -07:00
destradaa
7c469f1aec am 32acd391: am 87a50e32: Merge "Expose Gps Navigation Messages in the platform. b/16405976" into lmp-dev
* commit '32acd391035535ccec902458befd5353e7d1ec4b':
  Expose Gps Navigation Messages in the platform. b/16405976
2014-07-23 21:55:38 +00:00
Jeff Sharkey
ff33a988dd am af043268: am 7bf4f48f: Remove APK observers.
* commit 'af043268f0f27620be25de18109c7e1ba691906f':
  Remove APK observers.
2014-07-23 20:33:16 +00:00
Jeff Sharkey
84e71d1d61 Remove APK observers.
Most app installations have migrated to the new cluster-style layout
where each app is placed in a unique directory.  There are now two
general issues with these observers:

We can't know when a push/sync has finished delivering all splits
for an app.  Also, inotify isn't recursive, so we'd have to manage
watches for each app directory.

Change-Id: I3770fa9059ddf80f933a3804714f2e52591fce49
2014-07-23 20:25:24 +00:00
Gabriel Peal
e3daa56441 am 6aac8cf7: am f2b4f70b: Merge changes I925c8738,I1a8ad5c2 into lmp-dev
* commit '6aac8cf7bccf5ab47b89fa69d9963c123701bcbb':
  Added Action to PlaybackState
  Added QueueState, playUri, and playFromSearch.
2014-07-23 20:12:47 +00:00
Robert Greenwalt
22aab81e2c am 819917e3: am dc9d7aa7: Merge "Reenable logging." into lmp-dev
* commit '819917e3eb54dacba025c8516ed7d8b5eeaf419b':
  Reenable logging.
2014-07-23 19:53:51 +00:00
Ji-Hwan Lee
abca0ee794 TIF: Handle null main session
Change-Id: I5d9007e706d2adf4b559839c1db31221527214ec
2014-07-24 17:51:25 +09:00
Ji-Hwan Lee
982abe693f TIF: Fix crash on setMainSession
Change-Id: Iddf5032a99dbf855e418448b39ba66a68be8b07c
2014-07-24 17:11:03 +09:00
Terry Heo
a8177c8879 Merge "TIF: Enable capturing TV input of TvInputPassthroughWrapperService" into lmp-dev 2014-07-23 19:35:21 +00:00
Terry Heo
79124a717c TIF: Enable capturing TV input of TvInputPassthroughWrapperService
Also fixed usage of Log.e() in TvInputService to show stack trace.

Bug: 16441553
Change-Id: I5c160de4a628698907ffd00510d982d597c0ea01
2014-07-24 10:51:23 +09:00
Nicolas Prevot
f1939901d2 Making the clipboard work across users.
When copying from the parent: the ClipData can be pasted in the managed profile.
When copying from a managed profile: it can be pasted in the parent,
unless the policies says it's disabled. In which case, the clipboard of the parent becomes empty.
Supporting content uris.

BUG: 15186236

Change-Id: I522564a7c07ff21df137adcda980bb52e5739964
2014-07-24 10:25:57 +00:00
Terry Heo
c086a3df3b Add a frame capture API of TV input
- Added new permission CAPTURE_TV_INPUT

Bug: 15736756
Change-Id: I2ae8b2e3f5b1ad1d525854ed89ab2043cf66acbe
2014-07-24 10:08:45 +09:00
Craig Mautner
699a295bb8 am 41505285: am 59f55203: Disable back button goes to recents behavior
* commit '41505285136f349f281df0dade79f17b353971ff':
  Disable back button goes to recents behavior
2014-07-23 19:19:38 +00:00
Craig Mautner
0b633fc121 Disable back button goes to recents behavior
Using a static final boolean to do this so if policy is changed it
can be enabled easily.

Also fix fetching task from wrong list. Was causing
ActivityNotFoundExceptions.

Fixes bug 16512561.

Change-Id: I9b47a86fd740d45104aa14712e71df830218c5a7
2014-07-23 18:58:08 +00:00
Jason Monk
a979c5573b am 01f4253b: am 7143b71c: Merge "Make the \'locked\' lock task not lock keyguard on exit" into lmp-dev
* commit '01f4253b2d2d6e8e198f0adc57c9eb73ce8c136f':
  Make the 'locked' lock task not lock keyguard on exit
2014-07-23 18:56:27 +00:00
Antoine Labour
7699651ec4 Merge "WindowManager: fix clipping" into lmp-dev 2014-07-23 18:56:15 +00:00
Antoine Labour
7db8687d57 WindowManager: fix clipping
The animation code has some logic to avoid committing a new clip rect
when it hasn't changed. However, when we destroy the SurfaceControl and
recreate it later, we failed to reset the cached value, so if the clip
rect hasn't changed, we never set it on the new SurfaceControl.

This patch resets the cached value when creating the SurfaceControl.

Change-Id: I355576709834dd80994c7564330a234b182800e6
2014-07-23 21:15:48 -07:00
Gabriel Peal
b8cb6518d8 Merge changes I925c8738,I1a8ad5c2 into lmp-dev
* changes:
  Added Action to PlaybackState
  Added QueueState, playUri, and playFromSearch.
2014-07-23 18:56:15 +00:00
destradaa
ec80cd8e7c Merge "Expose Gps Navigation Messages in the platform. b/16405976" into lmp-dev 2014-07-23 18:50:38 +00:00
Robert Greenwalt
c827f813e1 Merge "Reenable logging." into lmp-dev 2014-07-23 18:50:38 +00:00
Robert Greenwalt
a7d31bf307 Reenable logging.
ConnectivityService has been rewritten for L and is in a stabilizing period.
We need the logging to track down bugs people report.
Restoring to Pre-L conditions.

If there's excess logging please report it - it probably indicates a bug.

Change-Id: I7baf891e3bf12e1545afeb92b8d5af0b01e12a7b
2014-07-23 12:42:47 -07:00