OSDN Git Service

android-x86/frameworks-base.git
10 years agoFix crash in ResStringPool
Adam Lesinski [Fri, 15 Aug 2014 00:58:37 +0000 (17:58 -0700)]
Fix crash in ResStringPool

When a String isn't found in the StringPool,
we should not try to construct a String8 object
from the NULL string.

Bug:15163956
Change-Id: I51e701918b10a72c18a860b8a36dce2afd9c0b82

10 years agoMerge "Some networks may have null ifaces, I guess?" into lmp-dev
Jeff Sharkey [Fri, 15 Aug 2014 04:26:51 +0000 (04:26 +0000)]
Merge "Some networks may have null ifaces, I guess?" into lmp-dev

10 years agoSome networks may have null ifaces, I guess?
Jeff Sharkey [Thu, 14 Aug 2014 19:55:00 +0000 (12:55 -0700)]
Some networks may have null ifaces, I guess?

Seems like a bug further upstream, but guard ourselves against it
for now.

Bug: 17033841
Change-Id: Id0e5895c3389b63d4e34b1fb064efef8b72cd609

10 years agoMerge "ActionBarOverlay needs to be focusable" into lmp-dev
Chet Haase [Thu, 14 Aug 2014 22:34:42 +0000 (22:34 +0000)]
Merge "ActionBarOverlay needs to be focusable" into lmp-dev

10 years agoMerge "Fix race condition between binder deaths" into lmp-dev
Craig Mautner [Fri, 15 Aug 2014 02:16:31 +0000 (02:16 +0000)]
Merge "Fix race condition between binder deaths" into lmp-dev

10 years agoUse thread safe set for RemoteConnection.mListeners
Sailesh Nepal [Fri, 15 Aug 2014 00:43:13 +0000 (17:43 -0700)]
Use thread safe set for RemoteConnection.mListeners

Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.

(Relanding ag/521178. This got reveretd in ag/520450).

Bug: 16901565
Change-Id: I997898ed94f305d9b8c57eead04e0dfe6c04a884

10 years agoInclude more state in ParcelableConnection
Sailesh Nepal [Fri, 15 Aug 2014 00:39:34 +0000 (17:39 -0700)]
Include more state in ParcelableConnection

This fixes a bug where setting status hints wouldn't
work.

Bug: 17044602
Change-Id: Ife85b2d53ead38f54dac350adc09b8c9d052fda4

10 years agoFix race condition between binder deaths
Craig Mautner [Thu, 14 Aug 2014 23:08:26 +0000 (16:08 -0700)]
Fix race condition between binder deaths

If a Binder dies there is a race between activity manager and window
manager to see who can handle the binderDied call first. If the
activity manager wins the race it will remove the activity and task
but leave the windows around. Until the WindowState.binderDied call
is made and all animation is complete the windows will try to access
the task that they were associated with.

This fix removes the windows of an activity when the activity is
removed. It also defers removal of the activity and task until
exiting windows have completed their animation.

Fixes bug 17031518.

Change-Id: Idf52f55c5feb0cad4e3664ef2eae5b7e95bbf490

10 years agoMerge "Tweak leanback form style" into lmp-dev
Justin Mattson [Fri, 15 Aug 2014 01:25:56 +0000 (01:25 +0000)]
Merge "Tweak leanback form style" into lmp-dev

10 years agoTweak leanback form style
Justin Mattson [Thu, 17 Jul 2014 21:53:38 +0000 (14:53 -0700)]
Tweak leanback form style

Change-Id: I2ecc691b6a0b83590b38cc676674a1d293d18e9e

10 years agoMerge "Fix aapt dump for APKs with no resources" into lmp-dev
Adam Lesinski [Fri, 15 Aug 2014 01:15:51 +0000 (01:15 +0000)]
Merge "Fix aapt dump for APKs with no resources" into lmp-dev

10 years agoFix aapt dump for APKs with no resources
Adam Lesinski [Thu, 14 Aug 2014 20:53:34 +0000 (13:53 -0700)]
Fix aapt dump for APKs with no resources

All APKs are expected to have at least one resource table (even if
it is empty). We were missing the creation of an empty DynamicRefTable.

Bug:16895517
Change-Id: I6a6e887f91b3b4bbcc52b3fd2741ef3d05fab1fd

10 years agoMerge "Print xxxhdpi from ResTable_config::toString" into lmp-dev
Adam Lesinski [Fri, 15 Aug 2014 01:15:15 +0000 (01:15 +0000)]
Merge "Print xxxhdpi from ResTable_config::toString" into lmp-dev

10 years agoPrint xxxhdpi from ResTable_config::toString
Adam Lesinski [Thu, 14 Aug 2014 04:02:57 +0000 (21:02 -0700)]
Print xxxhdpi from ResTable_config::toString

Change-Id: I2e1a07649cb498c12023b198d8e50534f9d91840

10 years agoMerge "Show InCallScreen when swiping phone affordance while in a call" into lmp-dev
Yorke Lee [Fri, 15 Aug 2014 01:11:37 +0000 (01:11 +0000)]
Merge "Show InCallScreen when swiping phone affordance while in a call" into lmp-dev

10 years agoShow InCallScreen when swiping phone affordance while in a call
Yorke Lee [Wed, 13 Aug 2014 01:47:08 +0000 (18:47 -0700)]
Show InCallScreen when swiping phone affordance while in a call

Bug: 16344259

Change-Id: Ifd7975295d9c98af302b5ce769076152acf59939

10 years agoMerge changes I77f49fe8,I305e927a into lmp-dev
Jim Miller [Fri, 15 Aug 2014 01:01:23 +0000 (01:01 +0000)]
Merge changes I77f49fe8,I305e927a into lmp-dev

* changes:
  API review - move confirm credential constants from Intent
  Revert "Add new intent to prompt user for their device credential."

10 years agoAPI review - move confirm credential constants from Intent
Jim Miller [Wed, 13 Aug 2014 21:47:47 +0000 (14:47 -0700)]
API review - move confirm credential constants from Intent

Moves constants from Intent to KeyguardManager.

Fixes bug 17006280

Change-Id: I77f49fe85850a501e1531d39aad7446c9bca5801

10 years agoRevert "Add new intent to prompt user for their device credential."
Jim Miller [Wed, 13 Aug 2014 21:08:41 +0000 (21:08 +0000)]
Revert "Add new intent to prompt user for their device credential."

Move API to KeyguardManager.

Fixes bug 17006280

This reverts commit 2e7beadedeb7d41d8c2d1cc62956bdd9f5081d26.

Change-Id: I7b58bb4d9db828028c1021f17b01745c5ec2161e

Conflicts:
core/java/android/content/Intent.java

10 years agoMerge "Fix nine patch outline radius computation" into lmp-dev
Chris Craik [Fri, 15 Aug 2014 01:00:04 +0000 (01:00 +0000)]
Merge "Fix nine patch outline radius computation" into lmp-dev

10 years agoDefine shadow casting behavior within layers
Chris Craik [Thu, 14 Aug 2014 20:34:01 +0000 (13:34 -0700)]
Define shadow casting behavior within layers

bug:15860114

Savelayers and HW layers both now support shadow casting.

For save layers, the light source should always be correct, for HW
layers, the light source position is set when the layer is created,
and updated when it is resized.

Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b

10 years agoDisable shadow casting for transparent BitmapDrawables
Chris Craik [Thu, 14 Aug 2014 20:45:38 +0000 (13:45 -0700)]
Disable shadow casting for transparent BitmapDrawables

bug:17013977
Change-Id: I26328c21360432bb34d3f19858dfdc0e6aede057

10 years agoFix nine patch outline radius computation
Chris Craik [Fri, 15 Aug 2014 00:26:21 +0000 (17:26 -0700)]
Fix nine patch outline radius computation

bug:16852714
Change-Id: I475154c0f324fd2e2c8991415e0d8240c75663d8

10 years agoMerge "TIF: Set translatable false for rating descriptions" into lmp-dev
Chulwoo Lee [Thu, 14 Aug 2014 21:34:36 +0000 (21:34 +0000)]
Merge "TIF: Set translatable false for rating descriptions" into lmp-dev

10 years agoTIF: Set translatable false for rating descriptions
Chulwoo Lee [Thu, 14 Aug 2014 21:04:54 +0000 (14:04 -0700)]
TIF: Set translatable false for rating descriptions

Change-Id: Ia91fcd3a5b49f732b8e28f71432311d87ac6967c

10 years agoHide icons on Keyguard when QS is open
Jorim Jaggi [Thu, 14 Aug 2014 18:44:43 +0000 (20:44 +0200)]
Hide icons on Keyguard when QS is open

Bug: 16794381
Change-Id: Ic8525bb5e8882bd37bf63d29be60d4cc8f40b26a

10 years agoFix QS expansion weirdness
Jorim Jaggi [Thu, 14 Aug 2014 17:17:11 +0000 (19:17 +0200)]
Fix QS expansion weirdness

- Fix that the clock/avatar could get too large.
- Fix QS collapsing when on Keyguard and scroll view is scrolled
- Fix that clock/avatar didn't grow after a layout when expanding
- Fix flicker in header when overexpanding the panel
- Fix flicker from QS panel when it changes size
- Fix that scroll view still was scrolled after collapsing QS

Bug: 16869692
Bug: 16894194
Change-Id: Ic0f89ab860979db4d0438007b4d0d044d3e8c4ae

10 years agoMerge "Fix TextView clickable state when using onClick attribute" into lmp-dev
Alan Viverette [Fri, 15 Aug 2014 00:36:22 +0000 (00:36 +0000)]
Merge "Fix TextView clickable state when using onClick attribute" into lmp-dev

10 years agoFix TextView clickable state when using onClick attribute
Alan Viverette [Thu, 14 Aug 2014 21:03:21 +0000 (14:03 -0700)]
Fix TextView clickable state when using onClick attribute

Change-Id: I67347f3c80958e47abc124f1a8c0ffec01175378

10 years agoFix hwuitask & RT priorities
John Reck [Thu, 14 Aug 2014 17:25:16 +0000 (10:25 -0700)]
Fix hwuitask & RT priorities

 Bug: 15993695

Change-Id: Ib6f07237cb834e8d10f3074f8fb206d27f91859a

10 years agoMerge "Allocation.resize() should throw an exception in API 21+." into lmp-dev
Tim Murray [Thu, 14 Aug 2014 21:00:01 +0000 (21:00 +0000)]
Merge "Allocation.resize() should throw an exception in API 21+." into lmp-dev

10 years agoAllocation.resize() should throw an exception in API 21+.
Tim Murray [Wed, 13 Aug 2014 20:20:25 +0000 (13:20 -0700)]
Allocation.resize() should throw an exception in API 21+.

bug 16846318

Change-Id: I852331ec226e4cad8be79aa27c4b51183e97cc1d

10 years agoDon't blink in views that haven't transitioned yet.
George Mount [Tue, 12 Aug 2014 17:16:20 +0000 (10:16 -0700)]
Don't blink in views that haven't transitioned yet.

Bug 16959262

Views that hadn't animated in during the enter transition were
being stripped from the exit transition. This caused them to
blink in as the enter transition was canceled.

This pauses the entering transition so that the view positions
are properly captured for the exit transition and aren't stripped.

Change-Id: I39cc94ed3bf92a51f8c5fe741f0aa5456b704bf0

10 years agoMerge "Ensure that split names are valid" into lmp-dev
Adam Lesinski [Thu, 14 Aug 2014 20:56:30 +0000 (20:56 +0000)]
Merge "Ensure that split names are valid" into lmp-dev

10 years agoFix scaling of text in quick settings header view
Jorim Jaggi [Thu, 14 Aug 2014 14:55:35 +0000 (16:55 +0200)]
Fix scaling of text in quick settings header view

Bug: 16824061
Change-Id: Ic2b5d42f4485885f43448ab311972a886d6da6d6

10 years agoEnsure that split names are valid
Adam Lesinski [Fri, 8 Aug 2014 04:26:53 +0000 (21:26 -0700)]
Ensure that split names are valid

Generate valid split names for resource splits.
Validate split names for features.

Change-Id: I3040438af0156778c2bd66ddeffdf62fe9dcc9fc

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 "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 "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