OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Fix 48kHz limitation on AudioTrack" into lmp-dev
Andy Hung [Mon, 18 Aug 2014 20:57:39 +0000 (20:57 +0000)]
Merge "Fix 48kHz limitation on AudioTrack" into lmp-dev

9 years agoFix 48kHz limitation on AudioTrack
Andy Hung [Fri, 15 Aug 2014 22:02:10 +0000 (15:02 -0700)]
Fix 48kHz limitation on AudioTrack

Changed to 96kHz.

Bug: 12979141
Bug: 17069369
Change-Id: I7643901f6d365d8b46da4872bd2266ec20cb0339

9 years agoMerge "Fix BitmapDrawable outline crash" into lmp-dev
Chris Craik [Mon, 18 Aug 2014 20:27:59 +0000 (20:27 +0000)]
Merge "Fix BitmapDrawable outline crash" into lmp-dev

9 years agoam cce5036c: am 88a1f40c: am fb1f5bde: docs: Removing radio from music intents
Ricardo Cervera [Mon, 18 Aug 2014 19:49:12 +0000 (19:49 +0000)]
am cce5036c: am 88a1f40c: am fb1f5bde: docs: Removing radio from music intents

* commit 'cce5036cb00c7e25f1d226c6405e6231f5913444':
  docs: Removing radio from music intents

9 years agoam 88a1f40c: am fb1f5bde: docs: Removing radio from music intents
Ricardo Cervera [Mon, 18 Aug 2014 19:38:16 +0000 (19:38 +0000)]
am 88a1f40c: am fb1f5bde: docs: Removing radio from music intents

* commit '88a1f40c5d6111c74feb8e3022ffdccbf489a2e4':
  docs: Removing radio from music intents

9 years agoam fb1f5bde: docs: Removing radio from music intents
Ricardo Cervera [Mon, 18 Aug 2014 19:28:02 +0000 (19:28 +0000)]
am fb1f5bde: docs: Removing radio from music intents

* commit 'fb1f5bdef03844547152f921dcaa044269b5a0cb':
  docs: Removing radio from music intents

9 years agodocs: Removing radio from music intents
Ricardo Cervera [Mon, 18 Aug 2014 19:13:04 +0000 (12:13 -0700)]
docs: Removing radio from music intents

Change-Id: Iaf645d692b247994dd8c12835c387ff296b26019

9 years agoFix BitmapDrawable outline crash
Chris Craik [Mon, 18 Aug 2014 18:26:31 +0000 (11:26 -0700)]
Fix BitmapDrawable outline crash

bug:17103753

Change-Id: Ia3d2c7d61b3f3b9ea8879f941d726d8627e155bb

9 years agoPlay "device trusted" sound when onTrustInitiatedByUser fires
Adrian Roos [Wed, 13 Aug 2014 15:14:51 +0000 (17:14 +0200)]
Play "device trusted" sound when onTrustInitiatedByUser fires

Bug: 16840500
Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53

9 years agoam 72ca94ee: am d0842384: docs: Updated links for Android Studio 0.8.6
Ricardo Cervera [Mon, 18 Aug 2014 16:49:18 +0000 (16:49 +0000)]
am 72ca94ee: am d0842384: docs: Updated links for Android Studio 0.8.6

* commit '72ca94ee29c71541b7628c44f44ef5cddff9a6e9':
  docs: Updated links for Android Studio 0.8.6

9 years agoam d0842384: docs: Updated links for Android Studio 0.8.6
Ricardo Cervera [Mon, 18 Aug 2014 16:40:01 +0000 (16:40 +0000)]
am d0842384: docs: Updated links for Android Studio 0.8.6

* commit 'd0842384cb9d6a19f129434457c88de64f2b0b06':
  docs: Updated links for Android Studio 0.8.6

9 years agodocs: Updated links for Android Studio 0.8.6
Ricardo Cervera [Mon, 18 Aug 2014 16:03:59 +0000 (09:03 -0700)]
docs: Updated links for Android Studio 0.8.6

Change-Id: Ic01263930b94232445704c03854414bd07ca4c33

9 years agoam d519f742: am b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Sat, 16 Aug 2014 06:04:07 +0000 (06:04 +0000)]
am d519f742: am b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK

* commit 'd519f7424fd2faad371e7678b3dc11114fa5222f':
  Layoutlib: Update wifi and battery icon for KK

9 years agoam b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Sat, 16 Aug 2014 05:53:49 +0000 (05:53 +0000)]
am b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK

* commit 'b6c923a2dfd86eb56a8f83d5a27f21996331e436':
  Layoutlib: Update wifi and battery icon for KK

9 years agoam 59eedf52: Layoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Sat, 16 Aug 2014 05:45:42 +0000 (05:45 +0000)]
am 59eedf52: Layoutlib: Update wifi and battery icon for KK

* commit '59eedf528ca29a32b6d7f358f5076929f8fbb164':
  Layoutlib: Update wifi and battery icon for KK

9 years agoMerge "Temporary workaround for NetworkOverLimitActivity dialog." into lmp-dev
John Spurlock [Mon, 18 Aug 2014 19:21:40 +0000 (19:21 +0000)]
Merge "Temporary workaround for NetworkOverLimitActivity dialog." into lmp-dev

9 years agoTemporary workaround for NetworkOverLimitActivity dialog.
John Spurlock [Mon, 18 Aug 2014 19:14:48 +0000 (15:14 -0400)]
Temporary workaround for NetworkOverLimitActivity dialog.

Remove the window type, since it now crashes SystemUI.

Bug:17102499
Change-Id: I69230242e27150f9e38822b5cd3745caae108287

9 years agoMerge "QS: Add scanning progress state indication." into lmp-dev
John Spurlock [Mon, 18 Aug 2014 12:59:37 +0000 (12:59 +0000)]
Merge "QS: Add scanning progress state indication." into lmp-dev

9 years agoQS: Add scanning progress state indication.
John Spurlock [Sat, 16 Aug 2014 14:39:33 +0000 (10:39 -0400)]
QS: Add scanning progress state indication.

- Create a modified version of the new platform horizontal
indeterminate progress indicator, and align it to the bottom
of the header.
- Ensure the scanning state takes the active detail panel into
account.

Bug:16145178
Change-Id: I7f80c458ff6565aa00085da9059a4e9fe7e49233

9 years agoMerge "When forwarding intents, ignoring the package set in the intent." into lmp-dev
Nicolas Prevot [Mon, 18 Aug 2014 18:50:41 +0000 (18:50 +0000)]
Merge "When forwarding intents, ignoring the package set in the intent." into lmp-dev

9 years agoMerge "CEC: Handle Remote Control command" into lmp-dev
Terry Heo [Mon, 18 Aug 2014 07:21:56 +0000 (07:21 +0000)]
Merge "CEC: Handle Remote Control command" into lmp-dev

9 years agoCEC: Handle Remote Control command
Terry Heo [Tue, 12 Aug 2014 05:41:00 +0000 (14:41 +0900)]
CEC: Handle Remote Control command

Generate an Android key event when a UserControl message is received.
And report menu state active when a MenuRequest message is received to
notify sender can send a UserControl message.

Bug: 16938007
Change-Id: Id8f393dc254508b9e7a6fa203f8e817fbe807e38

9 years agoMerge "Don't mangle layer paint's alpha" into lmp-dev
John Reck [Mon, 18 Aug 2014 16:06:48 +0000 (16:06 +0000)]
Merge "Don't mangle layer paint's alpha" into lmp-dev

9 years agoDon't mangle layer paint's alpha
John Reck [Sat, 16 Aug 2014 01:51:27 +0000 (18:51 -0700)]
Don't mangle layer paint's alpha

 Bug: 15918037

Change-Id: Iecca0908c6e3b77f15807f75a8294d34975533b4

9 years agoFix bars jumping to black on activity launch
Adrian Roos [Fri, 15 Aug 2014 21:17:05 +0000 (23:17 +0200)]
Fix bars jumping to black on activity launch

During animations, the wallpaper crop is the
union of the start and end crop. This prevents
the system bars from jumping to black when an
activity with opaque bars is launched.

Bug: 16441036
Change-Id: Ic0f3bc2e83b9830514a3456a27ae6f23716f3240

9 years agoMerge "Fixes to lock task API from API review" into lmp-dev
Jason Monk [Mon, 18 Aug 2014 13:37:01 +0000 (13:37 +0000)]
Merge "Fixes to lock task API from API review" into lmp-dev

9 years agoMerge "AAPT: Output only 64-bit arch when multiArch is true" into lmp-dev
Adam Lesinski [Sat, 16 Aug 2014 06:43:38 +0000 (06:43 +0000)]
Merge "AAPT: Output only 64-bit arch when multiArch is true" into lmp-dev

9 years agoAAPT: Output only 64-bit arch when multiArch is true
Adam Lesinski [Sat, 16 Aug 2014 05:25:36 +0000 (22:25 -0700)]
AAPT: Output only 64-bit arch when multiArch is true

When android:multiArch="true" in the <application> tag,
aapt dump badging should only output the 64-bit architecture
under the 'native-code' entry.

Other architectures will be emitted under the 'alt-native-code'
entry.

Bug:17061929
Change-Id: I8310b2388b06a2ed571e5e121e4989403082ba68

9 years agoTIF: Make passthrough related method names consistent
Jae Seo [Fri, 15 Aug 2014 20:03:21 +0000 (13:03 -0700)]
TIF: Make passthrough related method names consistent

Bug: 17063792
Change-Id: Id76b37ae1507db5d78319b8786b395353ded70e1

9 years agoam 7969be0b: (-s ours) am 5c7015d7: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:02:30 +0000 (04:02 +0000)]
am 7969be0b: (-s ours) am 5c7015d7: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '7969be0bb858c2fdc69b72f7c8f90f1dcdba3395':
  Import translations. DO NOT MERGE

9 years agoam fc5f24d8: (-s ours) am db511f23: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:02:26 +0000 (04:02 +0000)]
am fc5f24d8: (-s ours) am db511f23: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'fc5f24d874e36d9e2bb73b21e6ed7fcac0e1d80c':
  Import translations. DO NOT MERGE

9 years agoam bd42c307: (-s ours) am e2541778: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:02:22 +0000 (04:02 +0000)]
am bd42c307: (-s ours) am e2541778: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'bd42c307c4c0138d36dbe22c2e1ca7e92e71b117':
  Import translations. DO NOT MERGE

9 years agoam 00392713: (-s ours) am a519df6a: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:02:18 +0000 (04:02 +0000)]
am 00392713: (-s ours) am a519df6a: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '0039271391089eeecb990ad0e66ba6e19f24eceb':
  Import translations. DO NOT MERGE

9 years agoam 5b634929: (-s ours) am 3f374ac1: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:02:13 +0000 (04:02 +0000)]
am 5b634929: (-s ours) am 3f374ac1: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '5b634929763b1b481ad642770756bc67ac89080f':
  Import translations. DO NOT MERGE

9 years agoMerge "Fix ConcurrentModificationException in PersistentDataStore" into lmp-dev
Chulwoo Lee [Mon, 18 Aug 2014 05:42:40 +0000 (05:42 +0000)]
Merge "Fix ConcurrentModificationException in PersistentDataStore" into lmp-dev

9 years agoImplement MHL send key action.
Jungshik Jang [Tue, 12 Aug 2014 13:01:23 +0000 (22:01 +0900)]
Implement MHL send key action.

This class introduces two classes, MhlSendKeyAction and
HdmiMhlKeycode.
 - MhlSendKeyAction is a feature action that manages MHL message
for RCP, Remote Control Pass Through.
 - HdmiMhlKeycode is a collection of MHL keycode including keycode
mapping between MHL and Android keycode.

Bug: 16966459
Change-Id: Ib3f7229c71b66837cd0d239e5af1940dfccee7df

9 years agoFix ConcurrentModificationException in PersistentDataStore
Chulwoo Lee [Sun, 17 Aug 2014 22:24:44 +0000 (15:24 -0700)]
Fix ConcurrentModificationException in PersistentDataStore

BUG: 17092853
Change-Id: I613c90b5b78ce317996edb2fda1703aaa318fb1e

9 years agoMerge "CEC: Replace the usage of logical address with id for HdmiDeviceInfo" into...
Jinsuk Kim [Mon, 18 Aug 2014 01:22:47 +0000 (01:22 +0000)]
Merge "CEC: Replace the usage of logical address with id for HdmiDeviceInfo" into lmp-dev

9 years agoam 129ad0e1: (-s ours) am ad6b1426: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:00:45 +0000 (04:00 +0000)]
am 129ad0e1: (-s ours) am ad6b1426: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '129ad0e15bafe65f3060b7bd4ea9eb973ece767b':
  Import translations. DO NOT MERGE

9 years agoam 062feaf3: (-s ours) am 2f53238f: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Sat, 16 Aug 2014 04:00:42 +0000 (04:00 +0000)]
am 062feaf3: (-s ours) am 2f53238f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '062feaf39594df4b09fc6e1b005bb72b334f3c79':
  Import translations. DO NOT MERGE

9 years agoam b2df3e40: (-s ours) am 97ffe946: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 04:00:38 +0000 (04:00 +0000)]
am b2df3e40: (-s ours) am 97ffe946: (-s ours) Import translations. DO NOT MERGE

* commit 'b2df3e40d5bb08295ebb9ee72bd601d88545cc2c':
  Import translations. DO NOT MERGE

9 years agoMerge "Remove MediaProjection#createAudioRecord API" into lmp-dev
Michael Wright [Mon, 18 Aug 2014 01:21:21 +0000 (01:21 +0000)]
Merge "Remove MediaProjection#createAudioRecord API" into lmp-dev

9 years agoRemove MediaProjection#createAudioRecord API
Michael Wright [Thu, 7 Aug 2014 22:02:37 +0000 (15:02 -0700)]
Remove MediaProjection#createAudioRecord API

Change-Id: I60def1944a1669b9c1da4cd9aa28af36ad852e94

9 years agoMerge "Fix a logic error so mtu works." into lmp-dev
Robert Greenwalt [Sun, 17 Aug 2014 18:48:15 +0000 (18:48 +0000)]
Merge "Fix a logic error so mtu works." into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:50:22 +0000 (13:50 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 05:25:13 +0000 (22:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: I331a48ef418aa24e80bf690a566dd970e7a2b398
Auto-generated-cl: translation import

9 years agoMerge "Change 'disable hardware keyboard' to 'show input method'" into lmp-dev
Michael Wright [Mon, 18 Aug 2014 00:56:43 +0000 (00:56 +0000)]
Merge "Change 'disable hardware keyboard' to 'show input method'" into lmp-dev

9 years agoChange 'disable hardware keyboard' to 'show input method'
Michael Wright [Thu, 7 Aug 2014 22:44:40 +0000 (15:44 -0700)]
Change 'disable hardware keyboard' to 'show input method'

Previously it implied that the hardware keyboard would be disabled,
but really the toggle would just enable showing the IME even if a
hardware keyboard was present. Changed the string and swapped the
semantics to be more clear about the behavior.

Bug: 14066881
Change-Id: I9c8a7eb98b5277f1d09cc19fa7402e9b4cf51d92

9 years agoAdd tcp buffer size conduit to NetworkAgent.
Robert Greenwalt [Wed, 6 Aug 2014 19:00:25 +0000 (12:00 -0700)]
Add tcp buffer size conduit to NetworkAgent.

bug: 16549611
Change-Id: I7d97dedea2c7c1aed2eccb185645889424508591

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:29 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:21 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:19 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:15 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 05:03:24 +0000 (22:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I29a7b80cea6ddfa59c900472e05d9b72ba53c61f
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:14 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 05:05:22 +0000 (22:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I287e3613eab6a99a30a025ba979b3eae287478c3
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:08 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 05:19:11 +0000 (22:19 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iad4e740bda603a5a7fb00961c82f01d34b07d8d4
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 17 Aug 2014 13:46:06 +0000 (13:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 05:23:37 +0000 (22:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idc57a1961ba0cf31e9542f6bf2666cebc7e82c68
Auto-generated-cl: translation import

9 years agoMerge "Make sure we initialize to enable the default voice interaction service."...
Dianne Hackborn [Sat, 16 Aug 2014 18:55:33 +0000 (18:55 +0000)]
Merge "Make sure we initialize to enable the default voice interaction service." into lmp-dev

9 years agoMerge "Fix issue #14617210: Apps can gain access to any ContentProvider..." into...
Dianne Hackborn [Mon, 18 Aug 2014 18:49:03 +0000 (18:49 +0000)]
Merge "Fix issue #14617210: Apps can gain access to any ContentProvider..." into lmp-dev

9 years agoFix issue #14617210: Apps can gain access to any ContentProvider...
Dianne Hackborn [Mon, 18 Aug 2014 00:45:48 +0000 (17:45 -0700)]
Fix issue #14617210: Apps can gain access to any ContentProvider...

...with grantUriPermissions (no user interaction required)

Add a new path in to the activity manager to start an activity as
if it was directy started by the original calling activity.  This
is specifically for the resolver activity and chooser activity to
be able to safely launch its data after serving as an intermediary.

Access to the new method is highly restricted -- it can only be
called by an activity that is declared in the framework apk itself,
and the execute-as-the-caller behavior will only happen if the
code is running under the system uid.  (This means we could still
have these run in the client's process in some cases and still work
correctly.)

Note there is some commented out code here half-done about trying
to propagate security exceptions back to the original calling
activity.  This would be really nice, especially now with the
chooser activity running in a system process so any errors made
by the app (bad permission grants, bad intents, etc) no longer
actually appear in the app so are essentially invisible.  I'd
really like to figure out a way to propagate these exceptions back
to the app, but this is hard since the app's process may no
longer even be running at this point.

Also tweak activity manager dump output to split the recents
dump out from activities, since recents can now be super large.

Change-Id: I50410c4783faf9302c69290589a068a846e0973a

9 years agoMerge "Revert "Adding the requiredForProfile flag."" into lmp-dev
Nicolas Prévot [Mon, 18 Aug 2014 18:43:47 +0000 (18:43 +0000)]
Merge "Revert "Adding the requiredForProfile flag."" into lmp-dev

9 years agoRevert "Adding the requiredForProfile flag."
Nicolas Prévot [Thu, 24 Apr 2014 16:05:24 +0000 (16:05 +0000)]
Revert "Adding the requiredForProfile flag."

This reverts commit 531270a4a177a9f245d328d9467c6d1adbd5354a.

BUG: 17102702

Change-Id: Iec5d047dc74bd4899662ede82c48fc024238427c

9 years agoMerge "Fix alert, date picker, time picker dialogs for TV." into lmp-dev
Craig Stout [Mon, 18 Aug 2014 18:17:03 +0000 (18:17 +0000)]
Merge "Fix alert, date picker, time picker dialogs for TV." into lmp-dev

9 years agoam f960409f: am 72ca94ee: am d0842384: docs: Updated links for Android Studio 0.8.6
Ricardo Cervera [Mon, 18 Aug 2014 18:06:43 +0000 (18:06 +0000)]
am f960409f: am 72ca94ee: am d0842384: docs: Updated links for Android Studio 0.8.6

* commit 'f960409f3b361df492ea7a9a48aefe89d5992572':
  docs: Updated links for Android Studio 0.8.6

9 years agoMerge branch 'lmp-dev' of https://googleplex-android.googlesource.com/_direct/platfor...
Lenka Trochtova [Mon, 18 Aug 2014 18:06:41 +0000 (18:06 +0000)]
Merge branch 'lmp-dev' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-dev

9 years agoam da9baa15: am d519f742: am b6c923a2: am 59eedf52: Layoutlib: Update wifi and batter...
Deepanshu Gupta [Mon, 18 Aug 2014 18:06:26 +0000 (18:06 +0000)]
am da9baa15: am d519f742: am b6c923a2: am 59eedf52: Layoutlib: Update wifi and battery icon for KK

* commit 'da9baa15bf780d4e8924adbed3d8863c75da5e6c':
  Layoutlib: Update wifi and battery icon for KK

9 years agoam a4ceb9e6: am 32faabbe: Layoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Mon, 18 Aug 2014 18:06:07 +0000 (18:06 +0000)]
am a4ceb9e6: am 32faabbe: Layoutlib: Update wifi and battery icon for KK

* commit 'a4ceb9e64cd1ee6302e41c7799ebb6610af96d0e':
  Layoutlib: Update wifi and battery icon for KK

9 years agoUpdate conference call APIs.
Santos Cordon [Fri, 8 Aug 2014 01:35:18 +0000 (18:35 -0700)]
Update conference call APIs.

Clean up conference call APIs to use a distinct type separate from
Connection.  Also allow the addition of Conference calls at any point
using addConference() API method.

Bug:16844332
Bug:16449372
Change-Id: I34e45fde1aa43559f5f4e29b990929c188b16875

9 years agoMerge "Make AudioState constructors public" into lmp-dev
Sailesh Nepal [Mon, 18 Aug 2014 18:06:23 +0000 (18:06 +0000)]
Merge "Make AudioState constructors public" into lmp-dev

9 years agoMake AudioState constructors public
Sailesh Nepal [Mon, 18 Aug 2014 01:13:12 +0000 (18:13 -0700)]
Make AudioState constructors public

This is needed for unit tests.

Bug: 17073934
Change-Id: I04659faa54ba03247519237450b0a26f66958e8c

9 years agoFix alert, date picker, time picker dialogs for TV.
Craig Stout [Wed, 13 Aug 2014 19:50:50 +0000 (12:50 -0700)]
Fix alert, date picker, time picker dialogs for TV.

b/15194230

Change-Id: I85bcef86332acb041e5c3b1f8c515d981486c3d1

9 years agoMerge "Fix a crash in RemoteViews." into lmp-dev
Svetoslav [Mon, 18 Aug 2014 18:36:26 +0000 (18:36 +0000)]
Merge "Fix a crash in RemoteViews." into lmp-dev

9 years agoFix a crash in RemoteViews.
Svetoslav [Mon, 18 Aug 2014 17:43:27 +0000 (10:43 -0700)]
Fix a crash in RemoteViews.

We are now using the application info of the target app
of the remote views to create a deicated context for
loading resources. The code that is looking up the app
info was using the appilcation context of the current
app which may be null. Now we are using the base context
which is never null.

bug:17005860

Change-Id: Ibcf8b6f81fe24d23a82327870741146c8864ce8f

9 years agoMerge "Disable immersive mode confirmation for test automation" into lmp-dev
Guang Zhu [Mon, 18 Aug 2014 17:23:08 +0000 (17:23 +0000)]
Merge "Disable immersive mode confirmation for test automation" into lmp-dev

9 years agoDisable immersive mode confirmation for test automation
Guang Zhu [Sun, 17 Aug 2014 23:34:08 +0000 (16:34 -0700)]
Disable immersive mode confirmation for test automation

PolicyControl#disableImmersiveConfirmation to return true as
long as test harness flag is set.

Test harness flag is read via ro.test_harness, and can only be
set to true on builds with root access

Change-Id: I5c2d56e8ea4d5a2972ab42e9a98eb2fce52b11ee

9 years agoMerge "Fixing bounds check." into lmp-dev
Sunny Goyal [Mon, 18 Aug 2014 18:30:05 +0000 (18:30 +0000)]
Merge "Fixing bounds check." into lmp-dev

9 years agoFixing bounds check.
Sunny Goyal [Mon, 18 Aug 2014 18:14:42 +0000 (11:14 -0700)]
Fixing bounds check.

Change-Id: Ie17b173ef88288076a5cbfdc741b8e105dcda03e

9 years agoMerge "Revert "Remove the warning if the caller gets the insecure variant and add...
Kenny Root [Mon, 18 Aug 2014 17:19:59 +0000 (17:19 +0000)]
Merge "Revert "Remove the warning if the caller gets the insecure variant and add hostname verification (SNI)"" into lmp-dev

9 years agoMerge "Work on issue #16629489: Google (Play?) Services eating through battery" into...
Dianne Hackborn [Mon, 18 Aug 2014 17:14:04 +0000 (17:14 +0000)]
Merge "Work on issue #16629489: Google (Play?) Services eating through battery" into lmp-dev

9 years agoWork on issue #16629489: Google (Play?) Services eating through battery
Dianne Hackborn [Sun, 17 Aug 2014 01:17:38 +0000 (18:17 -0700)]
Work on issue #16629489: Google (Play?) Services eating through battery

There is a bug in how we deal with name overflows combined with resetting
the battery stats data.  If we do a reset while a wakelock is being
actively held that has been put into the overflow bucket, then we can
end up reducing the number of known wake locks in the list so when after
that it is released we try to release it under its real name rather than
the overflow name.

This means we need to keep track of which wake locks have been placed
in the overflow bucket while they are actively being used, so we can be
sure to properly handle it as part of that bucket until it is eventually
released.

This makes things...  somewhat more complicated.  So now we have a class
to take care of all these details, and also use it for other places where
we have the same overflow semantics sync and job stats.

Also fix potential deadlock -- BatteryStatsHelper needs to call on to
ConnectivityManager to find out of there is telepohny, however we use
that class when doing a dump while the battery stats lock is held.  To
fix this, we check the connectivity state up in the battery stats service
before acquiring the lock and propagate that information through to the
dump code.

Change-Id: Ib452206af5c36f4b0f03cc94d2845d36613d1ba5

9 years agoMerge "Fix issue #17082301: replacePreferredActivity is ignoring userId" into lmp-dev
Dianne Hackborn [Mon, 18 Aug 2014 17:13:01 +0000 (17:13 +0000)]
Merge "Fix issue #17082301: replacePreferredActivity is ignoring userId" into lmp-dev

9 years agoFix issue #17082301: replacePreferredActivity is ignoring userId
Dianne Hackborn [Sat, 16 Aug 2014 18:44:40 +0000 (11:44 -0700)]
Fix issue #17082301: replacePreferredActivity is ignoring userId

It was being given the argument and just...  ignoring it.

But the bulk of this change is to make replacePreferredActivity
better about replacing -- it now detects if the request will not
make a change and, in that case, just do nothing.

The reason for this?

It turns out that each time you install an app, the telephony
system is calling this function over 20 times to set the default
SMS app.  This is almost always doing nothing, but before this
change it means we would re-write packages.xml over 20 times...!

There are definitely more improvements that can be made here (delaying
write of packages.xml to allow them to batch together, reducing
the amount of calls being made), but until then this is a big
improvement.

Change-Id: I02c4235b8ecd5c13ef53e65d13c7dc2223719cec

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 03:21:53 +0000 (20:21 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7f283fa34aa5503bb34e7a085268abb4743032dd
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 03:16:39 +0000 (20:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: I31fd074b4124de3fabbc62a7a161497bd2865a4c
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 03:13:48 +0000 (20:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idc0468cdd27bc282b6386f2378ec837b214f668a
Auto-generated-cl: translation import

9 years agoam 32faabbe: Layoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Sat, 16 Aug 2014 02:23:56 +0000 (02:23 +0000)]
am 32faabbe: Layoutlib: Update wifi and battery icon for KK

* commit '32faabbe14252397b35516caa9c0d0245bfcc719':
  Layoutlib: Update wifi and battery icon for KK

9 years agoMake sure we initialize to enable the default voice interaction service.
Dianne Hackborn [Sat, 16 Aug 2014 01:32:33 +0000 (18:32 -0700)]
Make sure we initialize to enable the default voice interaction service.

We weren't taking care of the case of an upgrade to L.  The main
change here is that the voice interaction service setting now has
an empty string when the user has explicitly said they don't want
one, so when it is null we will initialize it to its default.

Change-Id: Icdd30b4f09498f8928cea759a64628bd43bc5d0e

9 years agoLayoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Sat, 16 Aug 2014 00:48:52 +0000 (17:48 -0700)]
Layoutlib: Update wifi and battery icon for KK

Change-Id: Ic5c80e83366bb7672049a6bf726d11cf6717f400
(cherry picked from commit 59eedf528ca29a32b6d7f358f5076929f8fbb164)

9 years agoLayoutlib: Update wifi and battery icon for KK
Deepanshu Gupta [Sat, 16 Aug 2014 00:48:52 +0000 (17:48 -0700)]
Layoutlib: Update wifi and battery icon for KK

Change-Id: Ic5c80e83366bb7672049a6bf726d11cf6717f400

9 years agoFix a logic error so mtu works.
Robert Greenwalt [Sat, 16 Aug 2014 00:53:05 +0000 (17:53 -0700)]
Fix a logic error so mtu works.

bug:17046179
Change-Id: I744a2fd425627da16d9779df3a96541506e0b6b3

9 years agoam 5c7015d7: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:35:51 +0000 (22:35 +0000)]
am 5c7015d7: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '5c7015d764e55d60100670fad5d3c0ca40adebf5':
  Import translations. DO NOT MERGE

9 years agoam db511f23: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:35:47 +0000 (22:35 +0000)]
am db511f23: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'db511f2372fb542baa83838d9552d249a8c2f164':
  Import translations. DO NOT MERGE

9 years agoam e2541778: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:35:43 +0000 (22:35 +0000)]
am e2541778: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'e2541778bfe330449612c02661257318f69916bd':
  Import translations. DO NOT MERGE

9 years agoam a519df6a: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:35:39 +0000 (22:35 +0000)]
am a519df6a: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'a519df6a42ed2937544b7a0e8aa831507fe3c09e':
  Import translations. DO NOT MERGE

9 years agoam 3f374ac1: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:35:35 +0000 (22:35 +0000)]
am 3f374ac1: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '3f374ac15c99468abee39489c23dfa3f571689b1':
  Import translations. DO NOT MERGE

9 years agoam ad6b1426: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:20:17 +0000 (22:20 +0000)]
am ad6b1426: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit 'ad6b1426f3cc912c2a30b59270a4b9c38fd7d3c6':
  Import translations. DO NOT MERGE

9 years agoam 2f53238f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
Baligh Uddin [Fri, 15 Aug 2014 22:20:13 +0000 (22:20 +0000)]
am 2f53238f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev

* commit '2f53238fe440d8615d8874e2fb23535c29b47aec':
  Import translations. DO NOT MERGE