147104 Commits

Author SHA1 Message Date
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
Santos Cordon
7c7bc7f691 Add setConferenceable() API from ConnectionService to incall. (1/4)
Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
2014-08-06 03:36:09 -07:00
Jorim Jaggi
905857f1b8 Merge "Fix constant redrawing on Keyguard issue." into lmp-dev 2014-08-05 00:35:13 +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
Youngsang Cho
3d13aec546 Remove a Handler constructor parameter Looper in TIS
getMainLooper() returns null in the variable initialization phase.

Change-Id: Iebe52eac8955c0a8394501575f90ff6f2825451c
2014-08-06 15:44:35 +09:00
Youngsang Cho
ff04ae757a Add a method in TIS to relayout SurfaceView
Bug: 15389458
Change-Id: I7f740141e7cf59fea5d321099652e65bc9e5f7d1
2014-08-06 14:53:28 +09:00
Jungshik Jang
d57ba99a5a Merge "More tweaks for recording" into lmp-dev 2014-08-05 00:07:36 +00:00
Brian Carlstrom
40c89a087b Remove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e79763b7f4663
Change-Id: Ib01118d950e7cfe91c87a34489c51777262125bf
2014-08-05 21:09:29 -07:00
Jungshik Jang
e9e0f070e3 More tweaks for recording
1. Mask TimerClearedStatus message result.
2. Use proper mask for media info.

Change-Id: I7ed6f6839c333460a7bef5e5a84af2a9a34c6d97
2014-08-05 18:03:03 +09:00
Youngsang Cho
887ad97ebe Merge "Add a method in TIS to relayout SurfaceView" into lmp-dev 2014-08-05 00:03:09 +00:00
Jae Seo
9551e92507 TIF: Add explanation for TvView
Bug: 16801733
Change-Id: I8fa81a850d1e29f32fdb6caa4bd3dc4b2668e18a
2014-08-05 23:09:13 -07:00
Dongwon Kang
65dc05248e Merge "TIF: Add content rating system for Spain" into lmp-dev 2014-08-05 00:03:09 +00:00
Dongwon Kang
b1caf4d817 TIF: Add content rating system for Spain
References:
 - http://codigodeautorregulacion.rtve.es/senalizacion-de-los-programas/advertencias-opticas/
 - http://en.wikipedia.org/wiki/RTVE

Change-Id: Icdde8a7f8cfb07cc4f768f95ba764ae6a519e347
2014-08-06 11:48:45 +09:00
Aravind Akella
99fe165082 Sensor related changes for NDK.
i) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx
        methods.

Bug: 16399898
Change-Id: Icc252aad068fa337bef8b22f20584f98cd5a155d
2014-08-05 19:34:04 -07:00
Dongwon Kang
66b9e91801 TIF: make TvInputService.Session class static
This change would make the developers freely extend the Session class
out of the TvInputService class.

Change-Id: I7dc9501c771a6e4dcfcceeb1b294b95e612596eb
2014-08-06 11:15:30 +09:00
Michael Wright
3f145a2f95 Add supported refresh rate to displays
Change-Id: I51231dd6dd231d57dd1ac499349d6335121f07d5
2014-08-06 02:03:49 +00:00
Wonsik Kim
06c41a3e7f TIF: TvInputHardwareManager to listen to audio port changes
Bug: 16758816
Change-Id: I0c7ace661de1911a53f57e22898eccd7cca7a07d
2014-08-06 10:56:03 +09:00
Ihab Awad
5d0410fa7c Finalize implementation of Remote Connection Service (1/4)
Change-Id: I3788c9ab03a979f22ab628637adf6d520038cb6e
2014-08-05 18:21:26 -07:00
Youngsang Cho
55a684a82d Merge "Add system APIs to set Z-order of TvView" into lmp-dev 2014-08-05 00:07:36 +00:00
Youngsang Cho
bf0a4eb158 Add system APIs to set Z-order of TvView
Bug: 16723028
Change-Id: I43c840ca2065920360859f8814a0c76ab2937ac1
2014-08-06 10:01:08 +09:00
Jeff Sharkey
fa5ec770ec Use system collator for display names.
Continue sorting directory names first, but use system collator in
case-insensitive ordering.

Bug: 13545569
Change-Id: I24b314c9ef42f397bc96f474d9593bdefc0061d1
2014-08-06 00:56:45 +00:00
Adam Powell
11a6ddbb6e Merge "Fall-through for ActionModes with ToolbarActionBar" into lmp-dev 2014-08-05 00:15:52 +00:00
Adam Powell
1dcedbac34 Fall-through for ActionModes with ToolbarActionBar
When using ToolbarActionBar simply fall through to the default window
decor behavior for showing action modes.

Bug 16660506

Change-Id: Ib90282287b2af48f39f9d9ace296581565431eed
2014-08-05 16:38:53 -07: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
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
Shishir Agrawal
d3541e5b86 Merge "Return APDU status code on tramsit channel command failure." into lmp-dev 2014-08-05 00:34:22 +00:00
Winson Chung
cdcd487aba Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)
- Also fixes issue with the Recents hide message being clobbered
2014-08-06 01:02:15 +00:00
Shishir Agrawal
43d94347a6 Return APDU status code on tramsit channel command failure.
Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
2014-08-05 17:06:51 -07:00
Michael Wright
46db93404b Ensure backup schedule file is closed.
Change-Id: Ie4a62cda74815c67c62fb08e8df25a71d6102d4c
2014-08-05 19:58:27 +00:00
Eric Laurent
40b8ef99a5 Merge "SoundTrigger API update." into lmp-dev 2014-08-05 00:34:22 +00:00
ztenghui
af8a8f3a7d Update the system linear progress bar
bug:14622065

Change-Id: Ic08022d934763ba0cc6067af3e50c4afeb8a0e9e
2014-08-05 19:46:36 +00:00
Jorim Jaggi
488b792eee Fix not being able to dismiss panel with single tap
Bug: 16562847
Change-Id: Ic409b9dd23df7e79a20b83a8a63eaaf1f76b3dd0
2014-08-05 19:26:13 +00:00
Jorim Jaggi
dd5b88684d Navbar scrim when in QS
Bug: 16644711
Change-Id: I91d823671919068500a29878f3dfe9b481000a58
2014-08-05 19:22:53 +00:00
Craig Mautner
1c8eb5e3d0 Use actual number of packages rather than getCount()
The ResolverActivity method getCount() returns the number of
entries below the default entry, not the total number of entries.
But the onCreate() method expected the getCount() method to
return the total number of entries. This change provides the total
to onCreate().

Fixes bug 16800358.

Change-Id: I3915c3d5ad642e31d7248226fc91bd4047f16b2d
2014-08-05 19:11:59 +00:00
Santos Cordon
6c8aecd3f2 Merge "Revert "Make Connection threadsafe"" into lmp-dev 2014-08-05 00:34:22 +00:00
Santos Cordon
d34e5713c9 Revert "Make Connection threadsafe"
This reverts commit 53488bf3d152eb0ecacca5716c763e8cd7ab28ae.

Change-Id: Ia13c510279e600e8bd1445fd63e2cd6503f4077e
2014-08-05 18:54:03 +00:00
Jorim Jaggi
781c29c9a8 Show bouncer if secure camera would show chooser.
Bug: 16570873
Change-Id: I2a86fb3a823d5255c0c35a78c1832c273e3a1578
2014-08-05 18:47:54 +00:00
Jeff Sharkey
ab1e9bddd8 Scan after writing external storage files.
Kicks off media scanner after files are written.

Bug: 13557203
Change-Id: I61613f28e07b068573079cc1e362fd3fe135684e
2014-08-05 18:34:37 +00:00
Jason Monk
966e258396 Merge "Disable heads up when DISABLE_NOTIFICATION_ALERT" into lmp-dev 2014-08-05 00:15:52 +00:00