OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Make public Network#bindSocket(FileDescriptor)." into mnc-dev
Erik Kline [Tue, 9 Jun 2015 07:47:58 +0000 (07:47 +0000)]
Merge "Make public Network#bindSocket(FileDescriptor)." into mnc-dev

9 years agoMake public Network#bindSocket(FileDescriptor).
Erik Kline [Fri, 5 Jun 2015 08:37:45 +0000 (17:37 +0900)]
Make public Network#bindSocket(FileDescriptor).

Code that uses android.system.Os to create sockets as FileDescriptors
should be able to bind them to networks.  Note that FileDescriptors
could already be marked as "protected from VPNs" via
NetworkUtils#protectFromVpn(), but heretofore were not easily bound
to any particular network.

Bug: 21449922
Change-Id: I4bb86db5d95d5a55bb2d7e245848d11eaa351e65

9 years agoMerge "TIF: Generate hardware input id in language-neutral fashion" into mnc-dev
Jinsuk Kim [Tue, 9 Jun 2015 04:49:06 +0000 (04:49 +0000)]
Merge "TIF: Generate hardware input id in language-neutral fashion" into mnc-dev

9 years agoTIF: Generate hardware input id in language-neutral fashion
Jinsuk Kim [Thu, 4 Jun 2015 04:40:38 +0000 (13:40 +0900)]
TIF: Generate hardware input id in language-neutral fashion

For certain RtoL languages, digit used as a part of input id
(like HW0) is also localized, hence language change results in
the duplicated inputs for an identical hardware. This CL
changes the way the id is built to language-neutral fashion,
and keeps the digit used in the id in Arabic.

Bug: 21523750
Change-Id: I8f95e0209eeee16ceb543e574ef9ed572e4d031f

9 years agoMerge "Format volumes with "auto" filesystem type." into mnc-dev
Jeff Sharkey [Tue, 9 Jun 2015 03:25:05 +0000 (03:25 +0000)]
Merge "Format volumes with "auto" filesystem type." into mnc-dev

9 years agoFix lockscreen launch animations
Jorim Jaggi [Fri, 5 Jun 2015 23:05:54 +0000 (16:05 -0700)]
Fix lockscreen launch animations

- Fix the case in WindowAnimator where the real window was ready
to draw while the starting window was playing the unlock animation.
- Always delay Keyguard done when clicking on a notification. Some
notifications started services/broadcasts instead and thus we didn't
wait, making it a jarring transition. In case the notification click
doesn't result in an activity start at all, we still have the timeout
that saves us from freezing (3s), but most notifications should start
an activity.

Bug: 19412725
Change-Id: I78f6839f59986f8f7ecdff70227d5690a504f475

9 years agoFix NPE cause by new fingerprint permission check
Jim Miller [Tue, 9 Jun 2015 02:24:13 +0000 (19:24 -0700)]
Fix NPE cause by new fingerprint permission check

We no longer send fingerprintid to non-privileged apps. Though
Keyguard can get the permission, it does not currently use fingerprint
info, so remove the API call.

Fixes bug 21040383

Change-Id: I8a9461ed138c368afc75601fe6d4eadc9a8b91c5

9 years agoMerge "Update and cleanup FingerprintManager API to new spec" into mnc-dev
Jim Miller [Tue, 9 Jun 2015 01:46:15 +0000 (01:46 +0000)]
Merge "Update and cleanup FingerprintManager API to new spec" into mnc-dev

9 years agoFormat volumes with "auto" filesystem type.
Jeff Sharkey [Wed, 27 May 2015 21:38:39 +0000 (14:38 -0700)]
Format volumes with "auto" filesystem type.

Bug: 20275581
Change-Id: Id4c7e1ad83f28110a77fecf563e1bcb8ca4d4d9a

9 years agoMerge "Deprecate KeyChain.isBoundKeyAlgorithm." into mnc-dev
Alex Klyubin [Tue, 9 Jun 2015 00:51:27 +0000 (00:51 +0000)]
Merge "Deprecate KeyChain.isBoundKeyAlgorithm." into mnc-dev

9 years agoClose assist when launching intents from notification shade
Jorim Jaggi [Mon, 8 Jun 2015 19:28:42 +0000 (12:28 -0700)]
Close assist when launching intents from notification shade

Bug: 21035363
Change-Id: I51a6dbe5f0d93aaf81a38d1f1afacaaeaf7732e2

9 years agoMerge "clean up Process instance after we are done with the sub process" into mnc-dev
Guang Zhu [Tue, 9 Jun 2015 00:30:26 +0000 (00:30 +0000)]
Merge "clean up Process instance after we are done with the sub process" into mnc-dev

9 years agoMerge "Fix flickering in alarm detail transition" into mnc-dev
Jorim Jaggi [Tue, 9 Jun 2015 00:30:11 +0000 (00:30 +0000)]
Merge "Fix flickering in alarm detail transition" into mnc-dev

9 years agoFix flickering in alarm detail transition
Jorim Jaggi [Fri, 5 Jun 2015 19:12:58 +0000 (12:12 -0700)]
Fix flickering in alarm detail transition

Bug: 21400392
Change-Id: I28e4c0cbaa322d8711c5a84cd0ff7b409913b935

9 years agoUse better interpolator when clicking on QS header
Jorim Jaggi [Sat, 6 Jun 2015 00:55:21 +0000 (17:55 -0700)]
Use better interpolator when clicking on QS header

This interpolator feels nicer when the reason why it animates comes
from a touch.

Change-Id: Ie13466c092e9546f8a8c5fdca589b35f78cde88c

9 years agoDon't invert legacy notifications
Jorim Jaggi [Fri, 5 Jun 2015 22:18:43 +0000 (15:18 -0700)]
Don't invert legacy notifications

Bug: 19130917
Change-Id: Id06fcf8fb11b783360a86534e024164b230e84a4

9 years agoMerge "Only doze when not occluded" into mnc-dev
Jorim Jaggi [Tue, 9 Jun 2015 00:20:28 +0000 (00:20 +0000)]
Merge "Only doze when not occluded" into mnc-dev

9 years agoDismiss Keyguard correctly
Jorim Jaggi [Mon, 8 Jun 2015 21:48:28 +0000 (14:48 -0700)]
Dismiss Keyguard correctly

When authenticating with fingerprint, we didn't go through the
dismiss action, and thus launching intents was broken when
authenticating with fingerprint from the bouncer. Also fixed a crash.

Bug: 21695578
Change-Id: I61f74b5b63d4d6ddf7f8f3ce96feb63b9644cd52

9 years agoMerge "Ignore carrier apps when checking for idleness" into mnc-dev
Zach Johnson [Tue, 9 Jun 2015 00:06:20 +0000 (00:06 +0000)]
Merge "Ignore carrier apps when checking for idleness" into mnc-dev

9 years agoOnly doze when not occluded
Jorim Jaggi [Fri, 5 Jun 2015 21:59:24 +0000 (14:59 -0700)]
Only doze when not occluded

This fixes a bug where an activity could have been started on top of
the lockscreen while dozing already. In that case, we would execute a
pulse and reveal the fully colored activity that is occluding the
Keyguard

Bug: 19465785
Change-Id: I9533390e13f11424a20a107005d60050a460e333

9 years agoMerge "Children which are removed when HUNd now animate out" into mnc-dev
Selim Cinek [Tue, 9 Jun 2015 00:00:04 +0000 (00:00 +0000)]
Merge "Children which are removed when HUNd now animate out" into mnc-dev

9 years agoMerge changes from topic 'modemActivityInfo' into mnc-dev
Prerepa Viswanadham [Mon, 8 Jun 2015 23:44:39 +0000 (23:44 +0000)]
Merge changes from topic 'modemActivityInfo' into mnc-dev

* changes:
  API for get modem activity info
  Activity info and stats from modem

9 years agoUpdate and cleanup FingerprintManager API to new spec
Jim Miller [Wed, 3 Jun 2015 23:36:31 +0000 (16:36 -0700)]
Update and cleanup FingerprintManager API to new spec

Fixes bug 21040383

Change-Id: Ib97d486535869814d5b449cccb31670e8f412552

9 years agoMerge "Bump the BatteryStats parcel VERSION" into mnc-dev
Adam Lesinski [Mon, 8 Jun 2015 23:14:00 +0000 (23:14 +0000)]
Merge "Bump the BatteryStats parcel VERSION" into mnc-dev

9 years agoMerge "Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscure...
Dongwon Kang [Mon, 8 Jun 2015 22:58:55 +0000 (22:58 +0000)]
Merge "Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()" into mnc-dev

9 years agoMerge "Delete unused" into mnc-dev
John Reck [Mon, 8 Jun 2015 22:51:42 +0000 (22:51 +0000)]
Merge "Delete unused" into mnc-dev

9 years agoDelete unused
John Reck [Mon, 8 Jun 2015 22:45:58 +0000 (15:45 -0700)]
Delete unused

Change-Id: If27e1eb8e42313eae14df58a24ca54fafb2992fa

9 years agoMerge "Rename reloadCarrierConfigForSubId -> notifyConfigChangedForSubId" into mnc-dev
Jonathan Basseri [Mon, 8 Jun 2015 22:27:08 +0000 (22:27 +0000)]
Merge "Rename reloadCarrierConfigForSubId -> notifyConfigChangedForSubId" into mnc-dev

9 years agoBump the BatteryStats parcel VERSION
Adam Lesinski [Mon, 8 Jun 2015 22:04:16 +0000 (15:04 -0700)]
Bump the BatteryStats parcel VERSION

A previous change forgot to bump the version, leading to
corrupt data.

Bug:19683715
Bug:21574065
Change-Id: I30c9039694b02d576909e8f60c25f175986b8c5c

9 years agoresolved conflicts for merge of 17ba2e6c to mnc-dev
Filip Gruszczynski [Mon, 8 Jun 2015 22:00:25 +0000 (15:00 -0700)]
resolved conflicts for merge of 17ba2e6c to mnc-dev

Change-Id: I9177f0e994e1e8fba02faf5a13f2dcec950ec5e0

9 years agoRename reloadCarrierConfigForSubId -> notifyConfigChangedForSubId
Jonathan Basseri [Mon, 8 Jun 2015 19:25:55 +0000 (12:25 -0700)]
Rename reloadCarrierConfigForSubId -> notifyConfigChangedForSubId

Per discussion with API council, "notify" makes more sense than "reload"
here.

Bug: 21571894
Change-Id: I7e8e8d91d8e6e6d4502cf371472fd82efa3e97f5

9 years agoMake MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()
Dongwon Kang [Mon, 8 Jun 2015 20:43:07 +0000 (13:43 -0700)]
Make MediaProjectionPermissionActivity secure with setFilterTouchesWhenObscured()

Bug: 21485727
Change-Id: I6b639464a3543dec4d7a248bdd8042b2c3872fac

9 years agoMerge "QS: Handle font-size changes immediately in ZenModePanel." into mnc-dev
John Spurlock [Mon, 8 Jun 2015 21:03:56 +0000 (21:03 +0000)]
Merge "QS: Handle font-size changes immediately in ZenModePanel." into mnc-dev

9 years agoMerge "Update Statement Service." into mnc-dev
Joseph Wen [Mon, 8 Jun 2015 20:56:23 +0000 (20:56 +0000)]
Merge "Update Statement Service." into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 8 Jun 2015 20:53:01 +0000 (20:53 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoIgnore carrier apps when checking for idleness
Zach Johnson [Tue, 19 May 2015 07:02:27 +0000 (00:02 -0700)]
Ignore carrier apps when checking for idleness

Also introduce a way to check if a package has
carrier privileges for any active phone.

Change-Id: If5c5fe07f05ffc90fc21431eb27cf48030c0175b

9 years agoMerge "Update documentation of CARRIER_PRESENCE & bitmasks." into mnc-dev
Etan Cohen [Mon, 8 Jun 2015 20:29:13 +0000 (20:29 +0000)]
Merge "Update documentation of CARRIER_PRESENCE & bitmasks." into mnc-dev

9 years agoQS: Handle font-size changes immediately in ZenModePanel.
John Spurlock [Mon, 8 Jun 2015 20:26:12 +0000 (16:26 -0400)]
QS: Handle font-size changes immediately in ZenModePanel.

And make sure the condition row is tall enough to accomodate
huge text.

Bug: 20346315
Change-Id: I9346f80edd7f0069d6363fe5377b36b0bf5aca62

9 years agoDeprecate KeyChain.isBoundKeyAlgorithm.
Alex Klyubin [Thu, 4 Jun 2015 19:36:27 +0000 (12:36 -0700)]
Deprecate KeyChain.isBoundKeyAlgorithm.

This is bad API. There was never a guarantee that when this method
returns true for a key algorithm (e.g., RSA or EC), then all keys of
that type will be imported into secure hardware. For example, the
secure hardware may reject a key if it's of unsupported size or uses
an unsupported public exponent or EC curve. In that case, the key
will be imported into keystore/KeyChain without being backed by secure
hardware.

Bug: 18088752
Change-Id: I8daa574a2e703a347d09d93401cd1ea2d0162ed9

9 years agoMerge "Use DisplayAdjustments when creating display in ResourceManager" into mnc-dev
Wale Ogunwale [Mon, 8 Jun 2015 20:17:21 +0000 (20:17 +0000)]
Merge "Use DisplayAdjustments when creating display in ResourceManager" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Jun 2015 20:15:33 +0000 (13:15 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Zen QS: Use explicit content descriptions for zen buttons." into mnc-dev
John Spurlock [Mon, 8 Jun 2015 20:13:07 +0000 (20:13 +0000)]
Merge "Zen QS: Use explicit content descriptions for zen buttons." into mnc-dev

9 years agoMerge "apply force hiding of window only when it is main display" into mnc-dev
keunyoung [Mon, 8 Jun 2015 20:08:39 +0000 (20:08 +0000)]
Merge "apply force hiding of window only when it is main display" into mnc-dev

9 years agoMerge "Fix a typo in the docstring of getAllCellInfo()" into mnc-dev
Nathan Harold [Mon, 8 Jun 2015 20:04:56 +0000 (20:04 +0000)]
Merge "Fix a typo in the docstring of getAllCellInfo()" into mnc-dev

9 years agoMerge "Use VoiceInteractor.Prompt in VoiceInteraction test app" into mnc-dev
James Cook [Mon, 8 Jun 2015 20:03:38 +0000 (20:03 +0000)]
Merge "Use VoiceInteractor.Prompt in VoiceInteraction test app" into mnc-dev

9 years agoUpdate documentation of CARRIER_PRESENCE & bitmasks.
Etan Cohen [Mon, 8 Jun 2015 20:02:44 +0000 (13:02 -0700)]
Update documentation of CARRIER_PRESENCE & bitmasks.

Bug: 21572292
Change-Id: If4727e7c18ce94f7c715ac91d61456ff0de10001

9 years agoMerge "Add projection info to RenderNode dumps" into mnc-dev
Chris Craik [Mon, 8 Jun 2015 20:00:24 +0000 (20:00 +0000)]
Merge "Add projection info to RenderNode dumps" into mnc-dev

9 years agoMerge "Revert "notifyCarrierNetworkChange:TelephonyManager->CarrierService"" into...
Andrew Flynn [Mon, 8 Jun 2015 19:59:50 +0000 (19:59 +0000)]
Merge "Revert "notifyCarrierNetworkChange:TelephonyManager->CarrierService"" into mnc-dev

9 years agoRevert "notifyCarrierNetworkChange:TelephonyManager->CarrierService"
Andrew Flynn [Mon, 8 Jun 2015 19:59:29 +0000 (19:59 +0000)]
Revert "notifyCarrierNetworkChange:TelephonyManager->CarrierService"

This reverts commit 7f8be9d89b7f294bf5e5d377908a5c74d2f4968f.

Change-Id: Ib99d2b8f83c2775cf5df4330a4f20bc791a83e5e

9 years agoapply force hiding of window only when it is main display
keunyoung [Mon, 8 Jun 2015 17:18:03 +0000 (10:18 -0700)]
apply force hiding of window only when it is main display

- force hiding window for non-main display leads into stopping
  rendering of windows in non-main display.
- change the logic to skip force hiding if it is not main display.

bug: 21665476

Change-Id: I2e23f3a2d6e3cbf6819ade1798360efe2986e80e

9 years agoMerge "Fix issue #21572679: API Review: ActivityOptions, usage time report" into...
Dianne Hackborn [Mon, 8 Jun 2015 19:46:19 +0000 (19:46 +0000)]
Merge "Fix issue #21572679: API Review: ActivityOptions, usage time report" into mnc-dev

9 years agoFix a typo in the docstring of getAllCellInfo()
Nathan Harold [Mon, 8 Jun 2015 19:38:40 +0000 (12:38 -0700)]
Fix a typo in the docstring of getAllCellInfo()

Change-Id: I5ac23e708926a1ca649ace3890af417c9607e0e9

9 years agoMerge "MidiManager: proxy all requests to open devices through MidiService" into...
Mike Lockwood [Mon, 8 Jun 2015 19:37:00 +0000 (19:37 +0000)]
Merge "MidiManager: proxy all requests to open devices through MidiService" into mnc-dev

9 years agoZen QS: Use explicit content descriptions for zen buttons.
John Spurlock [Mon, 8 Jun 2015 19:34:05 +0000 (15:34 -0400)]
Zen QS: Use explicit content descriptions for zen buttons.

Bug: 21661136
Change-Id: I3a6f7d6deb29584e707c1deb771e3db660007529

9 years agoImprove string comment.
Makoto Onuki [Mon, 8 Jun 2015 19:11:01 +0000 (12:11 -0700)]
Improve string comment.

Bug 21685729

Change-Id: If6c79730778f399ed0dbf500ef62df3150fbaea6

9 years agoHide top and bottom bar while dozing
Jorim Jaggi [Fri, 5 Jun 2015 21:12:20 +0000 (14:12 -0700)]
Hide top and bottom bar while dozing

Bug: 18903923
Change-Id: I7b222f9dd168101084f3ee4cbbe6f9495818eab4

9 years agoAdd projection info to RenderNode dumps
Chris Craik [Mon, 8 Jun 2015 18:30:44 +0000 (11:30 -0700)]
Add projection info to RenderNode dumps

bug:21502154

Also fixes several issues around DISPLAY_LIST_DEBUG

Change-Id: I726f5bc071f8c037ffe1b224175fe5c1e2b1c5bd

9 years agoMerge "Add SYSTEM_DIR check to upgrade-key-set verification." into mnc-dev
dcashman [Mon, 8 Jun 2015 18:20:35 +0000 (18:20 +0000)]
Merge "Add SYSTEM_DIR check to upgrade-key-set verification." into mnc-dev

9 years agoMerge "Remove deprecated android.security.KeyStore methods." into mnc-dev
Alex Klyubin [Mon, 8 Jun 2015 18:11:15 +0000 (18:11 +0000)]
Merge "Remove deprecated android.security.KeyStore methods." into mnc-dev

9 years agoMerge "RSA encrypt with private key in Android Keystore." into mnc-dev
Alex Klyubin [Mon, 8 Jun 2015 18:10:05 +0000 (18:10 +0000)]
Merge "RSA encrypt with private key in Android Keystore." into mnc-dev

9 years agoMerge "Disable -Werror on Clang" into mnc-dev
John Reck [Mon, 8 Jun 2015 18:08:20 +0000 (18:08 +0000)]
Merge "Disable -Werror on Clang" into mnc-dev

9 years agoMerge "Fix clang warnings" into mnc-dev
John Reck [Mon, 8 Jun 2015 18:08:17 +0000 (18:08 +0000)]
Merge "Fix clang warnings" into mnc-dev

9 years agoFix clang warnings
John Reck [Mon, 8 Jun 2015 18:03:42 +0000 (11:03 -0700)]
Fix clang warnings

Bug: 21695880
Change-Id: I2985a42a52ab27c546b4317ea70f94d1506c5347

9 years agoDisable -Werror on Clang
John Reck [Mon, 8 Jun 2015 18:01:24 +0000 (11:01 -0700)]
Disable -Werror on Clang

Bug: 21698669
Change-Id: I90549599ed52cff028a29f56d3d8ffe80c9afab4

9 years agoAdd SYSTEM_DIR check to upgrade-key-set verification.
dcashman [Mon, 8 Jun 2015 17:53:20 +0000 (10:53 -0700)]
Add SYSTEM_DIR check to upgrade-key-set verification.

Bug: 21697139
Change-Id: I7e6ce3d7f231e0ca5da1f501c80342a04f6c2a1e

9 years agoMerge "Include launched packageName in systrace." into mnc-dev
Wale Ogunwale [Mon, 8 Jun 2015 17:44:24 +0000 (17:44 +0000)]
Merge "Include launched packageName in systrace." into mnc-dev

9 years agoMerge "Wait for wakeup_reasons on first init" into mnc-dev
Adam Lesinski [Mon, 8 Jun 2015 17:42:18 +0000 (17:42 +0000)]
Merge "Wait for wakeup_reasons on first init" into mnc-dev

9 years agoMerge "Revert "Print exception stacktrace on failed scanPackageLI"" into mnc-dev
Dimitry Ivanov [Mon, 8 Jun 2015 17:28:17 +0000 (17:28 +0000)]
Merge "Revert "Print exception stacktrace on failed scanPackageLI"" into mnc-dev

9 years agoMerge "Adding temporary logging to debug CTS failure (for CellLocationTest)." into...
Amit Mahajan [Mon, 8 Jun 2015 17:27:11 +0000 (17:27 +0000)]
Merge "Adding temporary logging to debug CTS failure (for CellLocationTest)." into mnc-dev

9 years agoMerge "Changing getSimState to use slot idx instead of sub id." into mnc-dev
Amit Mahajan [Mon, 8 Jun 2015 17:26:00 +0000 (17:26 +0000)]
Merge "Changing getSimState to use slot idx instead of sub id." into mnc-dev

9 years agoMerge "notifyCarrierNetworkChange:TelephonyManager->CarrierService" into mnc-dev
Andrew Flynn [Mon, 8 Jun 2015 17:24:46 +0000 (17:24 +0000)]
Merge "notifyCarrierNetworkChange:TelephonyManager->CarrierService" into mnc-dev

9 years agoRemove deprecated android.security.KeyStore methods.
Alex Klyubin [Mon, 8 Jun 2015 17:14:58 +0000 (10:14 -0700)]
Remove deprecated android.security.KeyStore methods.

* delKey -> delete
* getPubkey -> exportKey
* saw -> list.

Bug: 18088752
Change-Id: Ifb794f91a42646d67da1340ee16765cbaf255a49

9 years agoRevert "Print exception stacktrace on failed scanPackageLI"
Dimitry Ivanov [Mon, 8 Jun 2015 17:12:55 +0000 (17:12 +0000)]
Revert "Print exception stacktrace on failed scanPackageLI"

This reverts commit 95b7d50ce1a1ae879bbb1b8b8262172744c28d0e.

Bug: 8076853
Change-Id: Ia19e6638a97b7b49561932752a204990e3a486d4

9 years agoMerge "Release voice wake lock at end of voice interaction session" into mnc-dev
Wale Ogunwale [Mon, 8 Jun 2015 17:05:08 +0000 (17:05 +0000)]
Merge "Release voice wake lock at end of voice interaction session" into mnc-dev

9 years agoUse VoiceInteractor.Prompt in VoiceInteraction test app
James Cook [Mon, 8 Jun 2015 17:03:35 +0000 (10:03 -0700)]
Use VoiceInteractor.Prompt in VoiceInteraction test app

The framework API that takes a CharSequence as a prompt is now
deprecated, so update the test code to use the new API.

Bug: 21695917
Change-Id: Ic4b7afa6c547a9885a900ed092910f3c6bdd1dd4

9 years agoChanging getSimState to use slot idx instead of sub id.
Amit Mahajan [Wed, 27 May 2015 18:59:46 +0000 (11:59 -0700)]
Changing getSimState to use slot idx instead of sub id.

Bug: 20736251
Change-Id: I43ec6450358f833f878ed4eee993ea79d5220c65

9 years agoRelease voice wake lock at end of voice interaction session
Wale Ogunwale [Mon, 8 Jun 2015 16:59:54 +0000 (09:59 -0700)]
Release voice wake lock at end of voice interaction session

Bug: 21615776
Bug: 21615761
Change-Id: I75d568474d4df5f21ea5b616887c6187e54f69e7

9 years agoAPI review: Update hasMic to hasMicrophone.
Tim Kilbourn [Fri, 5 Jun 2015 22:52:05 +0000 (15:52 -0700)]
API review: Update hasMic to hasMicrophone.

Also make the SearchEvent constructor available for testing.

Bug: 21572283
Bug: 21572676
Change-Id: I35cfd88b45aeb97b6ccf83aeb46b0ecc4bbc0947

9 years agoMerge "Remove insertion action mode runnable on selection start" into mnc-dev
Clara Bayarri [Mon, 8 Jun 2015 16:50:50 +0000 (16:50 +0000)]
Merge "Remove insertion action mode runnable on selection start" into mnc-dev

9 years agoMerge "Hold service lock when AMS.setProcessMemoryTrimLevel() is called" into mnc-dev
Wale Ogunwale [Mon, 8 Jun 2015 16:50:20 +0000 (16:50 +0000)]
Merge "Hold service lock when AMS.setProcessMemoryTrimLevel() is called" into mnc-dev

9 years agoMerge "Pass an args bundle to launchAssistAction." into mnc-dev
Tim Kilbourn [Mon, 8 Jun 2015 16:46:40 +0000 (16:46 +0000)]
Merge "Pass an args bundle to launchAssistAction." into mnc-dev

9 years agoRemove insertion action mode runnable on selection start
Clara Bayarri [Fri, 5 Jun 2015 16:34:09 +0000 (17:34 +0100)]
Remove insertion action mode runnable on selection start

This was in a previous change and accidentally got reverted on a rebase.
When going from an Insertion to a Selection/Drag Mode we want to make
sure no insertion modes are started by pending requests.

Previous change with accidental rebase:
I91bcd0d9c3e68d9c736698fe0bec010b4c9f5cf3

Bug: 21647271
Change-Id: I32c152494d236b693a489ea97448904163c9620a

9 years agoInclude launched packageName in systrace.
Narayan Kamath [Mon, 8 Jun 2015 16:39:43 +0000 (17:39 +0100)]
Include launched packageName in systrace.

This makes it easier to tell which package the activity manager is
launching. The downside here is that each launch shows up in a separate
row in the systrace, but this matches up with the "Start proc:" label,
which contains the package name as well and makes it easier to inspect
both simultaneously.

bug: 21632700
Change-Id: I20ebc2f2a2cf0dc74c6d7daa4bafa381ae4c4060

9 years agoMerge "Zen: New user flow for requesting DND access." into mnc-dev
John Spurlock [Mon, 8 Jun 2015 16:39:32 +0000 (16:39 +0000)]
Merge "Zen: New user flow for requesting DND access." into mnc-dev

9 years agoMerge "API Council changes." into mnc-dev
George Mount [Mon, 8 Jun 2015 16:36:20 +0000 (16:36 +0000)]
Merge "API Council changes." into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 8 Jun 2015 16:32:39 +0000 (16:32 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Add telecom extra to specify handle for incoming call" into mnc-dev
Yorke Lee [Mon, 8 Jun 2015 16:32:12 +0000 (16:32 +0000)]
Merge "Add telecom extra to specify handle for incoming call" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Jun 2015 16:17:26 +0000 (09:17 -0700)]
Import translations. DO NOT MERGE

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

9 years agoHold service lock when AMS.setProcessMemoryTrimLevel() is called
Wale Ogunwale [Mon, 8 Jun 2015 16:14:37 +0000 (09:14 -0700)]
Hold service lock when AMS.setProcessMemoryTrimLevel() is called

Bug: 21633189
Change-Id: I7203807466593ced6ec3dd328c1a03532caf3a31

9 years agoZen: New user flow for requesting DND access.
John Spurlock [Thu, 4 Jun 2015 17:01:42 +0000 (13:01 -0400)]
Zen: New user flow for requesting DND access.

 - User flow is now similar to requesting access to notification
   content, namely prompting the user to visit a settings page
   for enabling/disabling apps access.
 - New ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED intent
   for apps to listen to this state change.
 - Removed obsolete request method and associated internal callback
   aidl.
 - Added new android.permission.ACCESS_NOTIFICATION_POLICY permission
   for apps to include as a signal that they want to request this access
   (and therefore appear in the list on the settings page).
 - Improve javadocs, outline the user flow in NotificationManager#isNotificationPolicyAccessGranted
   and link to this method elsewhere.
 - NoManService now persists the user-enabled package list across reboots
   and does so per-user.
 - Rename public settings intent to correspond with the noman api.

Bug: 21621663
Change-Id: I72cbc21cd736e6a157b6be5d1d0ba0b4a8e7ef4e

9 years agoMerge "Change stylus button press to context click in View - API review feedback...
Mady Mellor [Mon, 8 Jun 2015 15:11:31 +0000 (15:11 +0000)]
Merge "Change stylus button press to context click in View - API review feedback" into mnc-dev

9 years agoMerge "Change stylus button press to context click in GD - API review feedback" into...
Mady Mellor [Mon, 8 Jun 2015 15:11:08 +0000 (15:11 +0000)]
Merge "Change stylus button press to context click in GD - API review feedback" into mnc-dev

9 years agoMerge "instrument emergency call button" into mnc-dev
Chris Wren [Mon, 8 Jun 2015 14:38:28 +0000 (14:38 +0000)]
Merge "instrument emergency call button" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 8 Jun 2015 14:18:43 +0000 (14:18 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Don't cause requestLayout when transition changes Visibility." into mnc-dev
George Mount [Mon, 8 Jun 2015 14:18:05 +0000 (14:18 +0000)]
Merge "Don't cause requestLayout when transition changes Visibility." into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 8 Jun 2015 14:16:51 +0000 (14:16 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 8 Jun 2015 14:15:05 +0000 (14:15 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Add demo mode to tuner" into mnc-dev
Jason Monk [Mon, 8 Jun 2015 14:13:50 +0000 (14:13 +0000)]
Merge "Add demo mode to tuner" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 8 Jun 2015 14:11:45 +0000 (14:11 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoAdd demo mode to tuner
Jason Monk [Sun, 7 Jun 2015 13:58:30 +0000 (09:58 -0400)]
Add demo mode to tuner

Allows turning on/off and setting to specific mode for screen shots.

Change-Id: Iee95aff17189dea7a77c493e9b396b9f21052ee8