OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Fix ALSA initialized wait for input-only USB Audio devices" into lmp-dev
Paul McLean [Thu, 14 Aug 2014 20:13:07 +0000 (20:13 +0000)]
Merge "Fix ALSA initialized wait for input-only USB Audio devices" into lmp-dev

10 years agoMerge "Show checkmarks at the start of material AlertDialog list items" into lmp-dev
Adam Powell [Thu, 14 Aug 2014 20:13:04 +0000 (20:13 +0000)]
Merge "Show checkmarks at the start of material AlertDialog list items" into lmp-dev

10 years agoShow checkmarks at the start of material AlertDialog list items
Adam Powell [Tue, 12 Aug 2014 00:30:19 +0000 (17:30 -0700)]
Show checkmarks at the start of material AlertDialog list items

Also fix a bug in parsing CheckedTextView tinting attributes

Bug 16552638

Change-Id: I20d41b6f6d418fdc115108d31f4f463e371794d2

10 years agoDeprecate InputMethodService.enableHardwareAcceleration()
Alan Viverette [Thu, 14 Aug 2014 02:13:54 +0000 (19:13 -0700)]
Deprecate InputMethodService.enableHardwareAcceleration()

BUG: 16951553
Change-Id: I126ea823eb2eeabb29d30999dec9c9411b33b315

10 years agoFix ALSA initialized wait for input-only USB Audio devices
Paul McLean [Wed, 13 Aug 2014 22:45:52 +0000 (15:45 -0700)]
Fix ALSA initialized wait for input-only USB Audio devices

Bug 17012266

Change-Id: I09427bb924f895bf66af9ef7ad4f0882746d03c4

10 years agoMerge "Make sure we're obtaining themed drawables correctly" into lmp-dev
Alan Viverette [Thu, 14 Aug 2014 20:10:46 +0000 (20:10 +0000)]
Merge "Make sure we're obtaining themed drawables correctly" into lmp-dev

10 years agoMake sure we're obtaining themed drawables correctly
Alan Viverette [Thu, 14 Aug 2014 19:59:10 +0000 (12:59 -0700)]
Make sure we're obtaining themed drawables correctly

Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85

10 years agoFix listening states for two-finger and fast-double swipe
Jorim Jaggi [Thu, 14 Aug 2014 19:44:23 +0000 (21:44 +0200)]
Fix listening states for two-finger and fast-double swipe

Bug: 16655660
Change-Id: I46d826edc901e08eb1513fe87de2f63228581617

10 years agoMerge "Switch exiting screen pinning to recents+back" into lmp-dev
Jason Monk [Thu, 14 Aug 2014 20:09:25 +0000 (20:09 +0000)]
Merge "Switch exiting screen pinning to recents+back" into lmp-dev

10 years agoSwitch exiting screen pinning to recents+back
Jason Monk [Tue, 12 Aug 2014 21:26:36 +0000 (17:26 -0400)]
Switch exiting screen pinning to recents+back

When accessibility is on, still use just recents.

While here fix strings to be less wrong.  Still need finalization.

Bug: 16649417
Change-Id: I94debe9471d5132f1f662543cc98cbde638c758d

10 years agoMerge "Prevent SwitchPreference widget from receiving a11y focus" into lmp-dev
Alan Viverette [Thu, 14 Aug 2014 20:07:33 +0000 (20:07 +0000)]
Merge "Prevent SwitchPreference widget from receiving a11y focus" into lmp-dev

10 years agoPrevent SwitchPreference widget from receiving a11y focus
Alan Viverette [Thu, 14 Aug 2014 01:57:39 +0000 (18:57 -0700)]
Prevent SwitchPreference widget from receiving a11y focus

Has no effect on behavior when explore by touch is turned off.

BUG: 16961152
Change-Id: I1e494d6a86f261d22d551afc43fe9e499907df6f

10 years agoDon't scale notifications on Keyguard for devices < xxhdpi
Jorim Jaggi [Wed, 13 Aug 2014 16:27:47 +0000 (18:27 +0200)]
Don't scale notifications on Keyguard for devices < xxhdpi

Bug: 16824061
Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403

10 years agoMerge "Disable DragDownHelper in QS" into lmp-dev
Jorim Jaggi [Thu, 14 Aug 2014 19:15:50 +0000 (19:15 +0000)]
Merge "Disable DragDownHelper in QS" into lmp-dev

10 years agoDisable DragDownHelper in QS
Jorim Jaggi [Thu, 14 Aug 2014 18:57:42 +0000 (20:57 +0200)]
Disable DragDownHelper in QS

Leads to a weird state and doesn't really make sense.

Bug: 16824757
Change-Id: I8a213d8151b58027309e79e5c010ff11946b7ca1

10 years agoNo need for drawing caches on notifications.
Dan Sandler [Wed, 13 Aug 2014 15:42:38 +0000 (11:42 -0400)]
No need for drawing caches on notifications.

They just chew up memory.

Bug: 10918599
Change-Id: I99761846e88b7ea25270d7a70d118963b1d72e5f

10 years agoLabel user switcher button for accessibility
Adrian Roos [Tue, 12 Aug 2014 13:10:19 +0000 (15:10 +0200)]
Label user switcher button for accessibility

Bug: 15692931
Change-Id: I4add4c21fd0ed95cc3a49e2841173589f37db08a

10 years agoMerge "Pipe caller's identity through volume methods" into lmp-dev
RoboErik [Thu, 14 Aug 2014 18:05:19 +0000 (18:05 +0000)]
Merge "Pipe caller's identity through volume methods" into lmp-dev

10 years agoFix bug #16957601 Stability: ISE in Settings: Observer com.android.settings.
Fabrice Di Meglio [Wed, 13 Aug 2014 17:41:40 +0000 (10:41 -0700)]
Fix bug #16957601 Stability: ISE in Settings: Observer com.android.settings.
SettingsPreferenceFragment$1@273c8fdb was not registered

- add onUnbindPreferences() call to match onBindPreferences()
- this new method is @hide so it does not impact the APIs

Change-Id: Iee0ab8a4ecc2046f89fb96cc52af150e835f658c

10 years agoPipe caller's identity through volume methods
RoboErik [Tue, 12 Aug 2014 22:48:49 +0000 (15:48 -0700)]
Pipe caller's identity through volume methods

setStreamVolume and adjustStreamVolume were always being called
from the session service's uid/package. This adds the plumbing to
allow the original app's info to be passed in to the audio service
when volume is changed.

Change-Id: Ib36639dab1e518b435161dc453c8ba9351df3e9b

10 years agoMerge "Anchoring the front most task to make the dismiss animation more stable. ...
Winson Chung [Thu, 14 Aug 2014 17:59:22 +0000 (17:59 +0000)]
Merge "Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)" into lmp-dev

10 years agoMerge "TIF: fix IOException at PersistentDataStore.save()" into lmp-dev
Jae Seo [Thu, 14 Aug 2014 17:39:43 +0000 (17:39 +0000)]
Merge "TIF: fix IOException at PersistentDataStore.save()" into lmp-dev

10 years agoTIF: fix IOException at PersistentDataStore.save()
Wonsik Kim [Thu, 14 Aug 2014 07:32:37 +0000 (16:32 +0900)]
TIF: fix IOException at PersistentDataStore.save()

Bug: 17018435
Change-Id: Ic999aaf59ae942ee8279576ec1e2ce2fa62bd6e0

10 years agoAnchoring the front most task to make the dismiss animation more stable. (Bug 16939699)
Winson Chung [Tue, 12 Aug 2014 20:56:03 +0000 (13:56 -0700)]
Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)

Change-Id: I49aa14bbc7fdb2fb0884a8255af385dbbbe656f8

10 years agoMerge "TIF: Rename R.attr.contentRatingSystemXml and fix documentation" into lmp-dev
Jae Seo [Thu, 14 Aug 2014 17:29:26 +0000 (17:29 +0000)]
Merge "TIF: Rename R.attr.contentRatingSystemXml and fix documentation" into lmp-dev

10 years agoTIF: Rename R.attr.contentRatingSystemXml and fix documentation
Jae Seo [Thu, 14 Aug 2014 00:49:55 +0000 (17:49 -0700)]
TIF: Rename R.attr.contentRatingSystemXml and fix documentation

- Rename contentRatingSystemXml to tvContentRatingDescription.
- Change docs to indicate this is a reference to an XML document that
  describes TV content rating, not a component name.
- Replace the DTD with an XML example.

Bug: 16960702
Change-Id: Iea985e9847ee5af0f745e896c498792234308b12

10 years agoMerge "Post MediaSessionManager callbacks to the caller's thread" into lmp-dev
RoboErik [Thu, 14 Aug 2014 17:10:36 +0000 (17:10 +0000)]
Merge "Post MediaSessionManager callbacks to the caller's thread" into lmp-dev

10 years agoMerge "Add an onSessionDestroyed callback to MediaController.Callback" into lmp-dev
RoboErik [Thu, 14 Aug 2014 17:03:19 +0000 (17:03 +0000)]
Merge "Add an onSessionDestroyed callback to MediaController.Callback" into lmp-dev

10 years agoMerge "Fix dates on copywrite in new test code" into lmp-dev
RoboErik [Thu, 14 Aug 2014 17:02:01 +0000 (17:02 +0000)]
Merge "Fix dates on copywrite in new test code" into lmp-dev

10 years agoMake TranslucentConversionListener a SystemApi
Jose Lima [Thu, 14 Aug 2014 16:14:12 +0000 (09:14 -0700)]
Make TranslucentConversionListener a SystemApi

Change-Id: I59a93e1e040fdbaa9ef108b31e08e4553ba82ae1

10 years agoAdd an onSessionDestroyed callback to MediaController.Callback
RoboErik [Wed, 13 Aug 2014 22:00:21 +0000 (15:00 -0700)]
Add an onSessionDestroyed callback to MediaController.Callback

Callbacks on the controller need to know when the session ceases
to exist.

bug:17009030
Change-Id: I0f1c1cfc51f7dd2203955287cc269667d3765ee4

10 years agoFix dates on copywrite in new test code
RoboErik [Wed, 13 Aug 2014 20:54:49 +0000 (13:54 -0700)]
Fix dates on copywrite in new test code

Some of the copywrites in the new browser test code still had 2010
as the year instead of 2014.

Change-Id: I33d19b1ad7f4bbbc8f93d9fb6acc8a92db401807

10 years agoMerge "Store the WebView's package info." into lmp-dev
Torne (Richard Coles) [Thu, 14 Aug 2014 16:10:10 +0000 (16:10 +0000)]
Merge "Store the WebView's package info." into lmp-dev

10 years agoFix javadoc on PROTECTION_FLAG_APPOP.
Jeff Sharkey [Wed, 13 Aug 2014 21:16:50 +0000 (14:16 -0700)]
Fix javadoc on PROTECTION_FLAG_APPOP.

Change-Id: I36e339ac2c6e6842441fd2572b0b8cda24bd34ca

10 years agoStore the WebView's package info.
Torne (Richard Coles) [Thu, 14 Aug 2014 15:43:18 +0000 (16:43 +0100)]
Store the WebView's package info.

When loading the WebView, save the PackageInfo for the package so that
it can be retrieved later to access the package name, version data, etc.
This will be used to detect WebView downgrades that may affect an app's
saved WebView-related data.

Bug: 16724751
Change-Id: I05ce469308cc87f79c73206327f43b76b1bab222

10 years agoMerge "Adding scrim to task views. (Bug 15704955)" into lmp-dev
Winson Chung [Wed, 13 Aug 2014 23:07:43 +0000 (23:07 +0000)]
Merge "Adding scrim to task views. (Bug 15704955)" into lmp-dev

10 years agoAdding scrim to task views. (Bug 15704955)
Winson Chung [Tue, 12 Aug 2014 23:33:32 +0000 (16:33 -0700)]
Adding scrim to task views. (Bug 15704955)

- Fixing issue with focus animations not happening for new views

Change-Id: I3134f25becf06db343aa30ea80cb33514cd99d06

10 years agoClean up app following death when creating service
Craig Mautner [Wed, 13 Aug 2014 17:49:26 +0000 (10:49 -0700)]
Clean up app following death when creating service

If an app has died, run through the cleanup before relaunching its
service.

Also a little simplifying refactor.

Fixes bug 16979752.

Change-Id: I376cbef2ea00fc626588386317f092cc6dea0bdc

10 years agoMerge "Implement MHL RAP transmission." into lmp-dev
Yuncheol Heo [Thu, 14 Aug 2014 10:01:20 +0000 (10:01 +0000)]
Merge "Implement MHL RAP transmission." into lmp-dev

10 years agoFixed unnecessary layouting on wifi signal changes
Selim Cinek [Wed, 13 Aug 2014 16:20:54 +0000 (18:20 +0200)]
Fixed unnecessary layouting on wifi signal changes

This could cause a layout every few hundred ms, even
when the QS panel was closed.

Bug: 17001532
Change-Id: I3f2b9b9621dced7f5b6fff67d24efc7444b0a9ad

10 years agoImplement MHL RAP transmission.
Yuncheol Heo [Wed, 13 Aug 2014 07:31:50 +0000 (16:31 +0900)]
Implement MHL RAP transmission.

- The creation of this action will be integrated later after the device-id is ready.

Bug: 16966458
Change-Id: I7bf46a8570534e2b021afea613b355a55e9f549f

10 years agoProtect from malformed advt with invalid manf_id/data combo
Prerepa Viswanadham [Wed, 13 Aug 2014 23:52:55 +0000 (16:52 -0700)]
Protect from malformed advt with invalid manf_id/data combo

Bug: 16979645
Change-Id: Ie7ea00ed20cbad1120c7582bb2bafd44b4295052

10 years agoPrevent crash in Gatt service due to null pointer in
Prerepa Viswanadham [Wed, 13 Aug 2014 21:46:58 +0000 (14:46 -0700)]
Prevent crash in Gatt service due to null pointer in
BluetoothGattCharacteristic from framework

Bug 16899517

Change-Id: Ib30ddefee07c2953f9a7faeb4eaa823feeebdc8f

10 years agoMerge "media: release allocated strings on error" into lmp-dev
Lajos Molnar [Thu, 14 Aug 2014 07:37:32 +0000 (07:37 +0000)]
Merge "media: release allocated strings on error" into lmp-dev

10 years agoMerge "Clean up advertise and scan clients upon bluetooth down." into lmp-dev
Wei Wang [Thu, 14 Aug 2014 04:53:40 +0000 (04:53 +0000)]
Merge "Clean up advertise and scan clients upon bluetooth down." into lmp-dev

10 years agoTIF: resolve SecurityException on loadCustomLabel().
Dongwon Kang [Wed, 13 Aug 2014 21:37:04 +0000 (14:37 -0700)]
TIF: resolve SecurityException on loadCustomLabel().

Bug: 17001118
Change-Id: I357ac2506562c028116c3e4f6dd611ef2b744d28

10 years agoClean up advertise and scan clients upon bluetooth down.
Wei Wang [Wed, 13 Aug 2014 05:16:32 +0000 (22:16 -0700)]
Clean up advertise and scan clients upon bluetooth down.

Fixes b/16528460

This allows Advertiser and Scanner to be reused after bluetooth recycle,
which follows same behavior for BluetoothAdapter.

Also prints manufacturer data array for ScanRecord.

Change-Id: I78bca40ac294433782a054bf2a00a775dac02d96

10 years agoMerge "Update Java doc for TV Rating system" into lmp-dev
Sungsoo Lim [Thu, 14 Aug 2014 03:42:19 +0000 (03:42 +0000)]
Merge "Update Java doc for TV Rating system" into lmp-dev

10 years agoUpdate Java doc for TV Rating system
Sungsoo Lim [Thu, 14 Aug 2014 01:55:01 +0000 (10:55 +0900)]
Update Java doc for TV Rating system

Bug: 17007100
Change-Id: Idb3f2184ea6d0421875ccd1e10b7539b3c17080a

10 years agoMade AlarmClockInfo a nested class in AlarmManager
Jose Lima [Wed, 13 Aug 2014 19:50:01 +0000 (12:50 -0700)]
Made AlarmClockInfo a nested class in AlarmManager

Bug: 16959028
Change-Id: I150eaaff765d1e214c3621c1bf50162ec0dac8ec

10 years agoRenamed "media playing" APIs to "visible behind"
Jose Lima [Wed, 13 Aug 2014 00:41:12 +0000 (17:41 -0700)]
Renamed "media playing" APIs to "visible behind"

   - Request from API Review: rename the media playing APIs to a more
     generic name, reflecting the background visibility feature these
     methods actually control.
   - Made the new isActivityVisibleBehind().
   - Changed convertFromTranslucent() and convertToTranslucent() to be
     SystemApi.

Bug: 16959028
Change-Id: I526eac22f44273b3254dd6201f89194d13e597e2

10 years agoLog who is calling goToSleep().
Jeff Brown [Thu, 14 Aug 2014 01:52:25 +0000 (18:52 -0700)]
Log who is calling goToSleep().

Change-Id: Ibae61c90ee115735835e878bb3bf79eedaa0ae44

10 years agoTIF: Change data type of custom labels and hide inputs
Jaewan Kim [Wed, 13 Aug 2014 13:24:01 +0000 (22:24 +0900)]
TIF: Change data type of custom labels and hide inputs

Change-Id: I2783245671a2a2a5500c6f97acf6375f44db8bf4

10 years agoMerge "Fix singleInstance usage when singleTop intended" into lmp-dev
Dianne Hackborn [Thu, 14 Aug 2014 01:10:58 +0000 (01:10 +0000)]
Merge "Fix singleInstance usage when singleTop intended" into lmp-dev

10 years agoFix singleInstance usage when singleTop intended
Craig Mautner [Wed, 13 Aug 2014 23:41:36 +0000 (16:41 -0700)]
Fix singleInstance usage when singleTop intended

In ag/499591 launchSingleInstance was mistakenly used to replace
r.launchMode==ActivityInfo.LAUNCH_SINGLE_TOP. This fixes that
and...

fixes bug 16898764.

Change-Id: I0c0cc3b67eda69276dbe1dd5da4f17556651b1ff

10 years agoFix detail header padding
Adrian Roos [Wed, 13 Aug 2014 20:24:22 +0000 (22:24 +0200)]
Fix detail header padding

Bug: 17007279
Change-Id: If0d20f69306a7c0cee89cc0c9a1fb81e7d0bf3c0

10 years agoDisable call log for users with DISALLOW_OUTGOING_CALLS restriction
Yorke Lee [Wed, 13 Aug 2014 21:14:29 +0000 (14:14 -0700)]
Disable call log for users with DISALLOW_OUTGOING_CALLS restriction

Bug: 16217514
Change-Id: Iacd5699d0a540ca0e5a678662379bf8c611f7462

10 years agoMerge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into lmp-dev
Dianne Hackborn [Thu, 14 Aug 2014 01:09:45 +0000 (01:09 +0000)]
Merge "Fix issue #16794553: Duplicate ArrayMap entries in Bundle..." into lmp-dev

10 years agoFix issue #16794553: Duplicate ArrayMap entries in Bundle...
Dianne Hackborn [Wed, 13 Aug 2014 22:39:50 +0000 (15:39 -0700)]
Fix issue #16794553: Duplicate ArrayMap entries in Bundle...

...can lead to launching of un-exported activities

We now validate the array map after unparcelling to make sure there
are no duplicate keys.

And to make up for the performance overhead this introduces, I switched
the parcelling/unparcelling code to write keys as explicit string
objects rather than generic values.  There was no reason to use generic
values since the write method itself only accepts an array map with
String keys.

Change-Id: I57bda9eb79ceaaa9c1b94ad49d9e462b52102149

10 years agoMerge "Don't send NetworkMonitor bcast until systemReady" into lmp-dev
Robert Greenwalt [Wed, 13 Aug 2014 23:23:04 +0000 (23:23 +0000)]
Merge "Don't send NetworkMonitor bcast until systemReady" into lmp-dev

10 years agoDon't send NetworkMonitor bcast until systemReady
Robert Greenwalt [Wed, 13 Aug 2014 20:43:32 +0000 (13:43 -0700)]
Don't send NetworkMonitor bcast until systemReady

bug:16913951
Change-Id: I26c5c3353c2d8821452f81765875958d5b9d385b

10 years agoCEC: Remove timeout from deviceSelect processing
Jinsuk Kim [Tue, 12 Aug 2014 09:10:21 +0000 (18:10 +0900)]
CEC: Remove timeout from deviceSelect processing

20-second timeout set for incoming <active source> command after
<set stream path> is moved out of HdmiControlService, to
HDMI input service.

Bug: 16967429
Change-Id: I5b50b0187e562b51e227a29e54824740ca37906e

10 years agoMerge "TIF: handle HDMI CEC power status change" into lmp-dev
Wonsik Kim [Thu, 14 Aug 2014 01:08:55 +0000 (01:08 +0000)]
Merge "TIF: handle HDMI CEC power status change" into lmp-dev

10 years agoMerge "Update intelliJ copyright profile" into lmp-dev
Deepanshu Gupta [Thu, 14 Aug 2014 00:33:43 +0000 (00:33 +0000)]
Merge "Update intelliJ copyright profile" into lmp-dev

10 years agoMerge "Add KitKat wifi and battery icons." into lmp-dev
Deepanshu Gupta [Thu, 14 Aug 2014 00:33:22 +0000 (00:33 +0000)]
Merge "Add KitKat wifi and battery icons." into lmp-dev

10 years agoAdd KitKat wifi and battery icons.
Deepanshu Gupta [Wed, 13 Aug 2014 03:40:42 +0000 (20:40 -0700)]
Add KitKat wifi and battery icons.

This adds wifi and battery icons for Gingerbread and KitKat. This also
improves the icon resolution code by extracting it out in its own class.
The resources are now organized such that each API level resource
directory is used as a backup for all API levels lower than itself.

Change-Id: I937c83638adcc9fa8cd407e0a3023c3abe95530d

10 years agoUpdate intelliJ copyright profile
Deepanshu Gupta [Wed, 13 Aug 2014 19:30:40 +0000 (12:30 -0700)]
Update intelliJ copyright profile

Change-Id: Ib9386b686cb24e1f187d0b636b59b4b13d59bbcd

10 years agoTIF: handle HDMI CEC power status change
Wonsik Kim [Tue, 12 Aug 2014 09:30:24 +0000 (18:30 +0900)]
TIF: handle HDMI CEC power status change

Bug: 16967261
Change-Id: I252dbb249ec818bcaad7d813d1065ebb0714bd54

10 years agoMerge "@hide RECOVERY permission" into lmp-dev
Doug Zongker [Thu, 14 Aug 2014 14:24:35 +0000 (14:24 +0000)]
Merge "@hide RECOVERY permission" into lmp-dev

10 years agoMerge "Add content description for brightness slider" into lmp-dev
Adrian Roos [Thu, 14 Aug 2014 14:13:51 +0000 (14:13 +0000)]
Merge "Add content description for brightness slider" into lmp-dev

10 years agoAdd content description for brightness slider
Adrian Roos [Thu, 14 Aug 2014 13:37:27 +0000 (15:37 +0200)]
Add content description for brightness slider

Bug: 15696099
Change-Id: I834020c1505fd5e07a1ba4f120e0f811c598953a

10 years agoMake string consistent with Android writing guidelines
Jorim Jaggi [Thu, 14 Aug 2014 12:32:52 +0000 (14:32 +0200)]
Make string consistent with Android writing guidelines

Bug: 17018250
Change-Id: I1ab736bddc81e4741995175db62a7d0ff459a940

10 years agoMake clock larger on tablets
Jorim Jaggi [Tue, 12 Aug 2014 21:44:59 +0000 (23:44 +0200)]
Make clock larger on tablets

Also fixes "Large text" option on lockscreen and fixes Keyguard
layout on smaller devies. In addition, make sure that landscape
layout for phones isn't terrible broken (it's not pretty but
it works).

Bug: 14994495
Bug: 15589636
Bug: 16799035
Change-Id: I9ab76af41cbecd1a727d019e422765efbbd3276d

10 years agoUse different unlock animation when going to full shade
Jorim Jaggi [Wed, 13 Aug 2014 15:58:58 +0000 (17:58 +0200)]
Use different unlock animation when going to full shade

Also fixes a bug that the notify flag was not reset, and fix the
transition for the phone/camera affordance (in these cases, no
animation is needed).

Bug: 15991916
Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d

10 years agoMerge "Move setting to disable automatic USB routing" into lmp-dev
Glenn Kasten [Wed, 13 Aug 2014 22:51:46 +0000 (22:51 +0000)]
Merge "Move setting to disable automatic USB routing" into lmp-dev

10 years agoMove setting to disable automatic USB routing
Glenn Kasten [Wed, 13 Aug 2014 17:56:38 +0000 (10:56 -0700)]
Move setting to disable automatic USB routing

This moves the setting from System to Secure per review.

Bug: 16381952
Change-Id: I2497ca66b4f346839490c29295528fac70e94494

10 years agoMerge "TIF: Create TvInputState only once per each input" into lmp-dev
Jae Seo [Wed, 13 Aug 2014 20:13:17 +0000 (20:13 +0000)]
Merge "TIF: Create TvInputState only once per each input" into lmp-dev

10 years agoDecouple user limit from guest creation
Amith Yamasani [Tue, 12 Aug 2014 00:09:26 +0000 (17:09 -0700)]
Decouple user limit from guest creation

Allow Guest to be created even if there are N users.
Allow N users to be created even if there are N-1 users
   and a Guest.
Limit number of guests and managed profiles that can
be added.

Added unit tests.

Bug: 15934700
Change-Id: I1a8f0fa38a91d71ef7b2980e05c974244dfc337a

10 years agoTIF: Create TvInputState only once per each input
Jae Seo [Tue, 12 Aug 2014 23:45:58 +0000 (16:45 -0700)]
TIF: Create TvInputState only once per each input

Also removed mClientTokens which is no longer used.

Bug: 16970763
Change-Id: I4fc276241c33f88ed932ce6c703bdb3f771eb7d4

10 years agoMerge "Disassociate system windows from apps" into lmp-dev
Craig Mautner [Wed, 13 Aug 2014 18:06:18 +0000 (18:06 +0000)]
Merge "Disassociate system windows from apps" into lmp-dev

10 years agoRemvoe build log spam.
Ying Wang [Wed, 13 Aug 2014 17:57:18 +0000 (10:57 -0700)]
Remvoe build log spam.

Change-Id: I87a0864d1f4d1c01f660f2bb603b5d0b42e19b53

10 years agoFix delete clause for sound model DB
Sandeep Siddhartha [Wed, 13 Aug 2014 00:20:07 +0000 (17:20 -0700)]
Fix delete clause for sound model DB

Since UUIDs contain '-'s they need to be wrapped within quotes

Bug: 16985919
Change-Id: I624a512ca7fc2494a7737b5465c94a9e161dec88

10 years agoDisassociate system windows from apps
Craig Mautner [Wed, 13 Aug 2014 01:57:49 +0000 (18:57 -0700)]
Disassociate system windows from apps

If an app launches a system window remove the app token.

Fixes bug 16825063.

Change-Id: I7c7403e0958f3cd9f6dd5e2964b2e9cabc51ded7

10 years agoMerge "Fix action bar background drawing" into lmp-dev
Chris Craik [Wed, 13 Aug 2014 21:06:49 +0000 (21:06 +0000)]
Merge "Fix action bar background drawing" into lmp-dev

10 years agoFix action bar background drawing
Chris Craik [Wed, 13 Aug 2014 17:37:18 +0000 (10:37 -0700)]
Fix action bar background drawing

bug:16940717

Fixes regression from 0de8add60e0d40c59def41663acae4d57d0b4b15

Change-Id: I7ec30a9c0c9422874cad106a2caeb7dcbe75e1b6

10 years agoMerge "Add API for obtaining max text length for accessibility" into lmp-dev
Alan Viverette [Wed, 13 Aug 2014 00:28:27 +0000 (00:28 +0000)]
Merge "Add API for obtaining max text length for accessibility" into lmp-dev

10 years agoMerge "Whitelist fonts instead of blacklist." into lmp-dev
Deepanshu Gupta [Thu, 14 Aug 2014 00:33:07 +0000 (00:33 +0000)]
Merge "Whitelist fonts instead of blacklist." into lmp-dev

10 years agoMerge "Fix javadoc attr reference." into lmp-dev
Jeff Sharkey [Wed, 13 Aug 2014 20:08:20 +0000 (20:08 +0000)]
Merge "Fix javadoc attr reference." into lmp-dev

10 years agoFix javadoc attr reference.
Jeff Sharkey [Wed, 13 Aug 2014 18:37:41 +0000 (11:37 -0700)]
Fix javadoc attr reference.

Change-Id: I330ba0cac66b4515388287c0ec4856e3ce6c93cb

10 years agoBring back the shadow strength tweak
ztenghui [Wed, 13 Aug 2014 17:44:39 +0000 (10:44 -0700)]
Bring back the shadow strength tweak

bug:16712006

Change-Id: Ifc0ecca139d58140b45d7d227536a53069e1d480

10 years agoMerge "Update FlpHardwareProvider native layer, to stop raising FatalErrors." into...
destradaa [Wed, 13 Aug 2014 17:50:47 +0000 (17:50 +0000)]
Merge "Update FlpHardwareProvider native layer, to stop raising FatalErrors." into lmp-dev

10 years agoUpdate FlpHardwareProvider native layer, to stop raising FatalErrors.
destradaa [Wed, 13 Aug 2014 02:04:03 +0000 (19:04 -0700)]
Update FlpHardwareProvider native layer, to stop raising FatalErrors.

b/16800814

Change-Id: Ic619f37c02c7e4dddc4ef06369f8730cbd66e6bd

10 years agoMerge "Implement MHL RAP reception." into lmp-dev
Yuncheol Heo [Wed, 13 Aug 2014 01:27:09 +0000 (01:27 +0000)]
Merge "Implement MHL RAP reception." into lmp-dev

10 years agoImplement MHL RAP reception.
Yuncheol Heo [Tue, 12 Aug 2014 11:58:41 +0000 (20:58 +0900)]
Implement MHL RAP reception.

Bug: 16966458
Change-Id: I77effc917e19072c387be8ba28d6ce1664d16415

10 years agofix wrong flag check for virtual display
keunyoung [Wed, 13 Aug 2014 00:50:19 +0000 (17:50 -0700)]
fix wrong flag check for virtual display

- FLAG_NEVER_BLANK was always set for non-public display

bug: 16958538
Change-Id: Ia147ac3ca39d687e60ec4b77726f6b6e4c3aeb3b

10 years agoMerge "rename UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK to ENABLE_CAR_MODE_ALLOW_SLE...
keunyoung [Wed, 13 Aug 2014 19:51:15 +0000 (19:51 +0000)]
Merge "rename UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK to ENABLE_CAR_MODE_ALLOW_SLEEP" into lmp-dev

10 years agoMark PDBManager as a SystemApi
Andres Morales [Wed, 13 Aug 2014 16:25:53 +0000 (09:25 -0700)]
Mark PDBManager as a SystemApi

This will allow us to XTS test these APIs

Change-Id: Ife942f73580ea24eb6801b079b642d7c67107ab0

10 years agorename UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK to ENABLE_CAR_MODE_ALLOW_SLEEP
keunyoung [Tue, 12 Aug 2014 01:51:15 +0000 (18:51 -0700)]
rename UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK to ENABLE_CAR_MODE_ALLOW_SLEEP

bug: 16959030
Change-Id: I413a2ba676488bfc18e393465b98681682ec88d4

10 years agoMerge "QS UserSwitcher: Update exit guest string" into lmp-dev
Adrian Roos [Wed, 13 Aug 2014 19:35:40 +0000 (19:35 +0000)]
Merge "QS UserSwitcher: Update exit guest string" into lmp-dev

10 years agoQS UserSwitcher: Update exit guest string
Adrian Roos [Wed, 13 Aug 2014 17:16:34 +0000 (19:16 +0200)]
QS UserSwitcher: Update exit guest string

Bug: 16511180
Change-Id: I2289b25350a46f0bfe1e5495a3c52ddf2aeabb3c