OSDN Git Service

android-x86/frameworks-base.git
8 years agoam ed3ffe0f: am 6430812a: Merge "RenderScript: implement a Script entry point for...
Stephen Hines [Thu, 23 Jul 2015 22:54:59 +0000 (22:54 +0000)]
am ed3ffe0f: am 6430812a: Merge "RenderScript: implement a Script entry point for calling a reduce-style kernel."

* commit 'ed3ffe0fc86de016ff2b4231e2fcc74a6119f6c7':
  RenderScript: implement a Script entry point for calling a reduce-style kernel.

8 years agoam a2bf7616: Merge "Add a wm command to dismiss the keyguard." into mnc-dev
Tim Kilbourn [Thu, 23 Jul 2015 22:42:49 +0000 (22:42 +0000)]
am a2bf7616: Merge "Add a wm command to dismiss the keyguard." into mnc-dev

* commit 'a2bf7616044051769df86cf5f0bb4b21dedd5269':
  Add a wm command to dismiss the keyguard.

8 years agoam 607bc34f: Merge "Reset permissions and app links when clearing app preferences...
Svetoslav Ganov [Thu, 23 Jul 2015 22:42:42 +0000 (22:42 +0000)]
am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev

* commit '607bc34f93a8c074d1982861273d210291eae34d':
  Reset permissions and app links when clearing app preferences - framework

8 years agoam 258e630a: Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 22:42:35 +0000 (22:42 +0000)]
am 258e630a: Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev

* commit '258e630a6bc876c57ac97c6da3e5414d0e7eb036':
  Shut down UiAutomationConnection without a lock held

8 years agoam cc855ad7: Merge "Properly synchronize interactivity state." into mnc-dev
Tim Kilbourn [Thu, 23 Jul 2015 22:42:20 +0000 (22:42 +0000)]
am cc855ad7: Merge "Properly synchronize interactivity state." into mnc-dev

* commit 'cc855ad737e61fc02a057e811f2e6e34bbff0e37':
  Properly synchronize interactivity state.

8 years agoam 157ad64d: Merge "Fix emergency only when no sims" into mnc-dev
Jason Monk [Thu, 23 Jul 2015 22:42:14 +0000 (22:42 +0000)]
am 157ad64d: Merge "Fix emergency only when no sims" into mnc-dev

* commit '157ad64dbeedd43a444d3eb1cc538ee975ed2d59':
  Fix emergency only when no sims

8 years agoam c2df1ab4: Merge "Set \'the\' media notification to the notification actually playi...
Julia Reynolds [Thu, 23 Jul 2015 22:42:03 +0000 (22:42 +0000)]
am c2df1ab4: Merge "Set \'the\' media notification to the notification actually playing." into mnc-dev

* commit 'c2df1ab48d4d12fc0e1f68fe6b5cc505e681b9f4':
  Set 'the' media notification to the notification actually playing.

8 years agoam 1d071ce9: Make sure expandingFinished gets called when going into QS
Jorim Jaggi [Thu, 23 Jul 2015 22:41:46 +0000 (22:41 +0000)]
am 1d071ce9: Make sure expandingFinished gets called when going into QS

* commit '1d071ce9b1810fbcf231fd17c4cb5621e68ff419':
  Make sure expandingFinished gets called when going into QS

8 years agoam 6430812a: Merge "RenderScript: implement a Script entry point for calling a reduce...
Stephen Hines [Thu, 23 Jul 2015 22:39:29 +0000 (22:39 +0000)]
am 6430812a: Merge "RenderScript: implement a Script entry point for calling a reduce-style kernel."

* commit '6430812a9381af01b0c7b48cedd6a11c1add6942':
  RenderScript: implement a Script entry point for calling a reduce-style kernel.

8 years agoMerge "RenderScript: implement a Script entry point for calling a reduce-style kernel."
Stephen Hines [Thu, 23 Jul 2015 22:26:05 +0000 (22:26 +0000)]
Merge "RenderScript: implement a Script entry point for calling a reduce-style kernel."

8 years agoMerge "Add a wm command to dismiss the keyguard." into mnc-dev
Tim Kilbourn [Thu, 23 Jul 2015 21:58:01 +0000 (21:58 +0000)]
Merge "Add a wm command to dismiss the keyguard." into mnc-dev

8 years agoAdd a wm command to dismiss the keyguard.
Tim Kilbourn [Thu, 23 Jul 2015 21:51:41 +0000 (14:51 -0700)]
Add a wm command to dismiss the keyguard.

If the user has a screen lock, the user is prompted to authenticate.
Otherwise the keyguard is dismissed.

Bug: 22694837
Change-Id: I783fc6f08fb21977aa4f1e884b0a4354a3154805

8 years agoMerge "Reset permissions and app links when clearing app preferences - framework...
Svetoslav Ganov [Thu, 23 Jul 2015 21:46:53 +0000 (21:46 +0000)]
Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev

8 years agoMerge "Shut down UiAutomationConnection without a lock held" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 21:44:58 +0000 (21:44 +0000)]
Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev

8 years agoMerge "Properly synchronize interactivity state." into mnc-dev
Tim Kilbourn [Thu, 23 Jul 2015 20:39:44 +0000 (20:39 +0000)]
Merge "Properly synchronize interactivity state." into mnc-dev

8 years agoMerge "Fix emergency only when no sims" into mnc-dev
Jason Monk [Thu, 23 Jul 2015 20:24:32 +0000 (20:24 +0000)]
Merge "Fix emergency only when no sims" into mnc-dev

8 years agoMerge "Set 'the' media notification to the notification actually playing." into mnc-dev
Julia Reynolds [Thu, 23 Jul 2015 20:08:33 +0000 (20:08 +0000)]
Merge "Set 'the' media notification to the notification actually playing." into mnc-dev

8 years agoMerge branch 'mnc-dev-plus-aosp' of https://googleplex-android.googlesource.com/_dire...
Kenny Root [Thu, 23 Jul 2015 19:06:26 +0000 (19:06 +0000)]
Merge branch 'mnc-dev-plus-aosp' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into mnc-dev-plus-aosp

8 years agoam bbcc914b: am 01efd7e8: Merge "Use build_number from file"
Colin Cross [Thu, 23 Jul 2015 19:01:39 +0000 (19:01 +0000)]
am bbcc914b: am 01efd7e8: Merge "Use build_number from file"

* commit 'bbcc914b18a5b2ea57e25e6e79336c5c75d49421':
  Use build_number from file

8 years agoam bf3a24d5: Merge "Ignore the active network scorer when checking for idleness"...
Wenchao Tong [Thu, 23 Jul 2015 19:00:33 +0000 (19:00 +0000)]
am bf3a24d5: Merge "Ignore the active network scorer when checking for idleness" into mnc-dev

* commit 'bf3a24d5ec004a46cc75b947226fb7c23e4a0ed1':
  Ignore the active network scorer when checking for idleness

8 years agoam 2abf0f24: Fix a race condition that could cause lockup
John Reck [Thu, 23 Jul 2015 19:00:24 +0000 (19:00 +0000)]
am 2abf0f24: Fix a race condition that could cause lockup

* commit '2abf0f24af60b8644d5b61eed9666793083546ee':
  Fix a race condition that could cause lockup

8 years agoam b3e40760: Merge "Avoid a deadlock between PMS and AppOpsService" into mnc-dev
Amith Yamasani [Thu, 23 Jul 2015 19:00:17 +0000 (19:00 +0000)]
am b3e40760: Merge "Avoid a deadlock between PMS and AppOpsService" into mnc-dev

* commit 'b3e407609f567884f9322e7b34461baa14e3f3ae':
  Avoid a deadlock between PMS and AppOpsService

8 years agoam 304b01c2: Merge "Document what algorithms Android Keystore supports." into mnc-dev
Alex Klyubin [Thu, 23 Jul 2015 19:00:09 +0000 (19:00 +0000)]
am 304b01c2: Merge "Document what algorithms Android Keystore supports." into mnc-dev

* commit '304b01c2493f16c2537563b3e00e4770765942a2':
  Document what algorithms Android Keystore supports.

8 years agoam 859551f7: Merge "Remove volte_feature_disabled as carrier config handled it."...
Junda Liu [Thu, 23 Jul 2015 19:00:01 +0000 (19:00 +0000)]
am 859551f7: Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev

* commit '859551f7c0acdc8fa9f9d5ffaf0efc69441d5e47':
  Remove volte_feature_disabled as carrier config handled it.

8 years agoam 7f9e9012: Merge "RingtoneManager: query results depend on caller permission" into...
Jean-Michel Trivi [Thu, 23 Jul 2015 18:59:54 +0000 (18:59 +0000)]
am 7f9e9012: Merge "RingtoneManager: query results depend on caller permission" into mnc-dev

* commit '7f9e9012f4bbcdd880e16212be9d90b50607c74d':
  RingtoneManager: query results depend on caller permission

8 years agoam e21722a3: Merge "Allow carriers to force disable ETWS/CMAS test messages." into...
Jack Yu [Thu, 23 Jul 2015 18:59:47 +0000 (18:59 +0000)]
am e21722a3: Merge "Allow carriers to force disable ETWS/CMAS test messages." into mnc-dev

* commit 'e21722a3daf0562bb7711d3dd38657b5a348ce4e':
  Allow carriers to force disable ETWS/CMAS test messages.

8 years agoam 13edc160: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Thu, 23 Jul 2015 18:59:40 +0000 (18:59 +0000)]
am 13edc160: (-s ours) Import translations. DO NOT MERGE

* commit '13edc1609ed634130720142045d47315a39ea037':
  Import translations. DO NOT MERGE

8 years agoam 06b93a48: Merge "Revert "UsbDeviceManager: fix b/21429947 regression"" into mnc-dev
Nick Kralevich [Thu, 23 Jul 2015 18:59:33 +0000 (18:59 +0000)]
am 06b93a48: Merge "Revert "UsbDeviceManager: fix b/21429947 regression"" into mnc-dev

* commit '06b93a48ad0d2274ff41683e08b8a1429045b0a9':
  Revert "UsbDeviceManager: fix b/21429947 regression"

8 years agoam 492fc648: Merge "Grant record audio to system reco service by default" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 18:59:25 +0000 (18:59 +0000)]
am 492fc648: Merge "Grant record audio to system reco service by default" into mnc-dev

* commit '492fc6483184a0e82d5d1a77634a38c10c7577ac':
  Grant record audio to system reco service by default

8 years agoam f90ed330: Merge "UsageStats: Reduce log spam during time change" into mnc-dev
Adam Lesinski [Thu, 23 Jul 2015 18:59:16 +0000 (18:59 +0000)]
am f90ed330: Merge "UsageStats: Reduce log spam during time change" into mnc-dev

* commit 'f90ed330a0c7f54b963ef651a53be946f6d463ce':
  UsageStats: Reduce log spam during time change

8 years agoam 4a368659: Merge "Fix issue #22414729: Checkin start clock time is different from...
Dianne Hackborn [Thu, 23 Jul 2015 18:59:08 +0000 (18:59 +0000)]
am 4a368659: Merge "Fix issue #22414729: Checkin start clock time is different from hsitory reset time" into mnc-dev

* commit '4a368659baf8f86b522a6b2679bb2b2a9fd0a997':
  Fix issue #22414729: Checkin start clock time is different from hsitory reset time

8 years agoam f2170644: Merge "Fix cut off charging indication in certain scripts" into mnc-dev
Adrian Roos [Thu, 23 Jul 2015 18:59:01 +0000 (18:59 +0000)]
am f2170644: Merge "Fix cut off charging indication in certain scripts" into mnc-dev

* commit 'f21706440499df8076f6cd14955e09cb461baf2d':
  Fix cut off charging indication in certain scripts

8 years agoam 5507bb41: Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev
Dianne Hackborn [Thu, 23 Jul 2015 18:58:53 +0000 (18:58 +0000)]
am 5507bb41: Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev

* commit '5507bb41b0cb11fe36573d59dc4ec8ed03cf7715':
  Fix issue #22653116: Google App crashing on NYT app

8 years agoam 41a62e11: Merge "Do not show normal permissions in sideloading UI" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 18:58:46 +0000 (18:58 +0000)]
am 41a62e11: Merge "Do not show normal permissions in sideloading UI" into mnc-dev

* commit '41a62e111d8de8e64ffc61c176add6cc6217b960':
  Do not show normal permissions in sideloading UI

8 years agoam a0a71d8a: Merge "Fixed a typo" into mnc-dev
Fyodor Kupolov [Thu, 23 Jul 2015 18:58:38 +0000 (18:58 +0000)]
am a0a71d8a: Merge "Fixed a typo" into mnc-dev

* commit 'a0a71d8a221d4f3896c7b0d3b2b87eba4e7a77f7':
  Fixed a typo

8 years agoam 05f5cb45: Merge "UsageStats: Gracefully handle corrupt filenames" into mnc-dev
Adam Lesinski [Thu, 23 Jul 2015 18:58:31 +0000 (18:58 +0000)]
am 05f5cb45: Merge "UsageStats: Gracefully handle corrupt filenames" into mnc-dev

* commit '05f5cb45997fdc8831798bb84e50854cdfab2bcb':
  UsageStats: Gracefully handle corrupt filenames

8 years agoam 7748ea5f: Merge "Protect demo mode commands with permission" into mnc-dev
Adrian Roos [Thu, 23 Jul 2015 18:58:23 +0000 (18:58 +0000)]
am 7748ea5f: Merge "Protect demo mode commands with permission" into mnc-dev

* commit '7748ea5fcd0fc32eeae1475e1871835a5aa39a5a':
  Protect demo mode commands with permission

8 years agoam eec3d9e3: Merge "TIF: Enable hardware acceleration on overlay" into mnc-dev
Jae Seo [Thu, 23 Jul 2015 18:58:16 +0000 (18:58 +0000)]
am eec3d9e3: Merge "TIF: Enable hardware acceleration on overlay" into mnc-dev

* commit 'eec3d9e368328d6ca6942ae2fbd94711ecd7adc8':
  TIF: Enable hardware acceleration on overlay

8 years agoam 3d6f6060: Merge "Add a privileged permission to get user accounts" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 18:58:07 +0000 (18:58 +0000)]
am 3d6f6060: Merge "Add a privileged permission to get user accounts" into mnc-dev

* commit '3d6f606031da248a3b1fd6f0f569ac33a26c0b5e':
  Add a privileged permission to get user accounts

8 years agoam 3f2c5108: Merge "Fix ATLAS_MAP_ENTRY_FIELD_COUNT" into mnc-dev
John Reck [Thu, 23 Jul 2015 18:58:00 +0000 (18:58 +0000)]
am 3f2c5108: Merge "Fix ATLAS_MAP_ENTRY_FIELD_COUNT" into mnc-dev

* commit '3f2c51084b9d9578532c8a88e7a5444eeedc86c2':
  Fix ATLAS_MAP_ENTRY_FIELD_COUNT

8 years agoam 6625047a: Merge "BatteryStats: Use English locale for dump and checkin data" into...
Adam Lesinski [Thu, 23 Jul 2015 18:57:52 +0000 (18:57 +0000)]
am 6625047a: Merge "BatteryStats: Use English locale for dump and checkin data" into mnc-dev

* commit '6625047a3ba26ecc52bb2757eb7576027949e435':
  BatteryStats: Use English locale for dump and checkin data

8 years agoam 3b0bbd7b: Merge "UsbDeviceManager: fix b/21429947 regression" into mnc-dev
Nick Kralevich [Thu, 23 Jul 2015 18:57:45 +0000 (18:57 +0000)]
am 3b0bbd7b: Merge "UsbDeviceManager: fix b/21429947 regression" into mnc-dev

* commit '3b0bbd7b96568f0d0121136fcac9d4e1a5ffd237':
  UsbDeviceManager: fix b/21429947 regression

8 years agoam db2b4ba6: Merge "Don\'t crash sysui when advisory calls fail." into mnc-dev
Chris Wren [Thu, 23 Jul 2015 18:57:39 +0000 (18:57 +0000)]
am db2b4ba6: Merge "Don\'t crash sysui when advisory calls fail." into mnc-dev

* commit 'db2b4ba69db391c3703277ccb986524c072be5f5':
  Don't crash sysui when advisory calls fail.

8 years agoam 1aadfc2b: Merge "Miss USB device Interface from UsbManager.getDeviceList()." into...
Tim Kilbourn [Thu, 23 Jul 2015 18:57:32 +0000 (18:57 +0000)]
am 1aadfc2b: Merge "Miss USB device Interface from UsbManager.getDeviceList()." into mnc-dev

* commit '1aadfc2bc46a14b6c95dc45ec11c4191cac5062d':
  Miss USB device Interface from UsbManager.getDeviceList().

8 years agoam 9478bf0e: Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED...
Alan Viverette [Thu, 23 Jul 2015 18:57:24 +0000 (18:57 +0000)]
am 9478bf0e: Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev

* commit '9478bf0e6f9618b8a5b844deaf548fc5ad1ff024':
  Fix handling of RelativeLayout measurement using UNSPECIFIED spec

8 years agoam 5ef70b02: Merge "Added a note about location permission" into mnc-dev
Fyodor Kupolov [Thu, 23 Jul 2015 18:57:17 +0000 (18:57 +0000)]
am 5ef70b02: Merge "Added a note about location permission" into mnc-dev

* commit '5ef70b02ead0a1e164370fefaff27bfd1ce0d492':
  Added a note about location permission

8 years agoam 15a45e02: Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev
xin He [Thu, 23 Jul 2015 18:57:10 +0000 (18:57 +0000)]
am 15a45e02: Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev

* commit '15a45e02c3372ad5deae0a260f782cd3e5a81d58':
  Angler Should Not Use Channel 11 for SoftAP

8 years agoam f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
Jeff Sharkey [Thu, 23 Jul 2015 18:57:02 +0000 (18:57 +0000)]
am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev

* commit 'f6e9a3ede53ae487838c19714ad62f25a4a6ca4c':
  More info to support CTS, fix reconcile bug.

8 years agoam 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev
Jason Monk [Thu, 23 Jul 2015 18:56:53 +0000 (18:56 +0000)]
am 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev

* commit '4fc1b707442451f4a826929fc7e72967d443c73f':
  Add metrics to tuner
  Move tuner enable point to QS

8 years agoam ac73f1ef: Partially fix that beginning of animation is skipped
Jorim Jaggi [Thu, 23 Jul 2015 18:56:47 +0000 (18:56 +0000)]
am ac73f1ef: Partially fix that beginning of animation is skipped

* commit 'ac73f1efea0cb23881571e18e87ffc7f388af7ad':
  Partially fix that beginning of animation is skipped

8 years agoam 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into...
Dianne Hackborn [Thu, 23 Jul 2015 18:56:39 +0000 (18:56 +0000)]
am 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev

* commit '6f64e737f046cd9ae13e260027781acfabaa4cba':
  Fix issue #22612630: Ensure SMS/Call delivery during Doze

8 years agoMake sure expandingFinished gets called when going into QS
Jorim Jaggi [Wed, 22 Jul 2015 21:05:06 +0000 (14:05 -0700)]
Make sure expandingFinished gets called when going into QS

Bug: 22351040
Bug: 22306637
Change-Id: I8d1f9fb400b328753bd8444bf3b4a744ad23a53a

8 years agoam 01efd7e8: Merge "Use build_number from file"
Colin Cross [Thu, 23 Jul 2015 18:48:22 +0000 (18:48 +0000)]
am 01efd7e8: Merge "Use build_number from file"

* commit '01efd7e820edb9677491f28af999d825f21711a4':
  Use build_number from file

8 years agoMerge "Use build_number from file"
Colin Cross [Thu, 23 Jul 2015 18:23:06 +0000 (18:23 +0000)]
Merge "Use build_number from file"

8 years agoFix emergency only when no sims
Jason Monk [Wed, 22 Jul 2015 20:34:36 +0000 (16:34 -0400)]
Fix emergency only when no sims

Need to look at a ServiceState to determine if we are actually in
a emergency only state.

Bug: 22619451
Change-Id: I06a2a6fab85ed2ce41d8f7cbb98a1f169ec61b33

8 years agoMerge "Ignore the active network scorer when checking for idleness" into mnc-dev
Wenchao Tong [Thu, 23 Jul 2015 18:14:47 +0000 (18:14 +0000)]
Merge "Ignore the active network scorer when checking for idleness" into mnc-dev

8 years agoProperly synchronize interactivity state.
Michael Wright [Thu, 23 Jul 2015 16:04:40 +0000 (17:04 +0100)]
Properly synchronize interactivity state.

Volatile doesn't provide any guarantees with respect to write
visibility, so it's possible that PowerManager will tell InputManager
about a change in interactivity state, but the actual dispatching
thread will never observe it.

Also, add logging about NativeInputManager state.

Bug: 22422588
Change-Id: Ifc3add992b9009d920d80a0315ff89c9574be20d

8 years agoReset permissions and app links when clearing app preferences - framework
Svet Ganov [Thu, 23 Jul 2015 16:32:26 +0000 (09:32 -0700)]
Reset permissions and app links when clearing app preferences - framework

bug:22359132

Change-Id: I198c0b1cd6c3dcb91fe560874a8502eb6b5f65b3

8 years agoFix a race condition that could cause lockup
John Reck [Thu, 23 Jul 2015 17:27:30 +0000 (10:27 -0700)]
Fix a race condition that could cause lockup

Bug: 22676664

If a task is queued on a worker thread that is busy
processing a task AND a trim memory signal comes along
prior to the initial task being completed then the
tasks that were queued prior to the exit request will
never be processed.

This is bad, as when those futures are used later on, such
as in trying to delete them from the cache, they will block
waiting for the orphaned task to be finished.

Simple fix is to just never stop the worker threads. Increase
RAM usage slightly as we won't reclaim that stack space, but
this cost is fairly small

Change-Id: I818b011f9bc6ba06942fdad81c27656bd97b42d4

8 years agoMerge "Avoid a deadlock between PMS and AppOpsService" into mnc-dev
Amith Yamasani [Thu, 23 Jul 2015 17:22:29 +0000 (17:22 +0000)]
Merge "Avoid a deadlock between PMS and AppOpsService" into mnc-dev

8 years agoMerge "Document what algorithms Android Keystore supports." into mnc-dev
Alex Klyubin [Thu, 23 Jul 2015 16:23:59 +0000 (16:23 +0000)]
Merge "Document what algorithms Android Keystore supports." into mnc-dev

8 years agoMerge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev
Junda Liu [Thu, 23 Jul 2015 16:20:35 +0000 (16:20 +0000)]
Merge "Remove volte_feature_disabled as carrier config handled it." into mnc-dev

8 years agoMerge "RingtoneManager: query results depend on caller permission" into mnc-dev
Jean-Michel Trivi [Thu, 23 Jul 2015 15:59:20 +0000 (15:59 +0000)]
Merge "RingtoneManager: query results depend on caller permission" into mnc-dev

8 years agoMerge "Allow carriers to force disable ETWS/CMAS test messages." into mnc-dev
Jack Yu [Thu, 23 Jul 2015 15:51:13 +0000 (15:51 +0000)]
Merge "Allow carriers to force disable ETWS/CMAS test messages." into mnc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 23 Jul 2015 07:28:45 +0000 (00:28 -0700)]
Import translations. DO NOT MERGE

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

8 years agoAllow carriers to force disable ETWS/CMAS test messages.
Jack Yu [Wed, 22 Jul 2015 20:36:42 +0000 (13:36 -0700)]
Allow carriers to force disable ETWS/CMAS test messages.

This feature can be enabled in carrier config XML. When enabled, the user will not see
ETWS/CMAS enable/disable option in emergency broadcast preference menu.

bug: 22396039
Change-Id: I6ad6fa39852d3b13faeef968a1963b3e0a4a6e61

8 years agoam f9a82218: am 86d5fc28: Merge "aapt: expat exports its header files now."
Elliott Hughes [Thu, 23 Jul 2015 02:06:52 +0000 (02:06 +0000)]
am f9a82218: am 86d5fc28: Merge "aapt: expat exports its header files now."

* commit 'f9a8221810a0b5aaa4050becaa0aa9d492035ff3':
  aapt: expat exports its header files now.

8 years agoShut down UiAutomationConnection without a lock held
Svet Ganov [Thu, 23 Jul 2015 01:58:32 +0000 (18:58 -0700)]
Shut down UiAutomationConnection without a lock held

bug:22599759

Change-Id: I90bca614960522269497127658c16b0bb6ec0476

8 years agoMerge "Revert "UsbDeviceManager: fix b/21429947 regression"" into mnc-dev
Nick Kralevich [Thu, 23 Jul 2015 01:46:38 +0000 (01:46 +0000)]
Merge "Revert "UsbDeviceManager: fix b/21429947 regression"" into mnc-dev

8 years agoRevert "UsbDeviceManager: fix b/21429947 regression"
Nick Kralevich [Thu, 23 Jul 2015 01:43:23 +0000 (01:43 +0000)]
Revert "UsbDeviceManager: fix b/21429947 regression"

This causes various problems with our testing infrastructure.

This reverts commit b210026e3d5c955628ca8b8b9191ade08891e9ef.

Bug: 22447614
Bug: 21429947
Change-Id: I57623e3d993e65b6ad89e7a7d28e9575cf638994

8 years agoMerge "Grant record audio to system reco service by default" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 01:13:24 +0000 (01:13 +0000)]
Merge "Grant record audio to system reco service by default" into mnc-dev

8 years agoMerge "UsageStats: Reduce log spam during time change" into mnc-dev
Adam Lesinski [Thu, 23 Jul 2015 01:01:22 +0000 (01:01 +0000)]
Merge "UsageStats: Reduce log spam during time change" into mnc-dev

8 years agoMerge "Fix issue #22414729: Checkin start clock time is different from hsitory reset...
Dianne Hackborn [Thu, 23 Jul 2015 00:56:19 +0000 (00:56 +0000)]
Merge "Fix issue #22414729: Checkin start clock time is different from hsitory reset time" into mnc-dev

8 years agoMerge "Fix cut off charging indication in certain scripts" into mnc-dev
Adrian Roos [Thu, 23 Jul 2015 00:50:55 +0000 (00:50 +0000)]
Merge "Fix cut off charging indication in certain scripts" into mnc-dev

8 years agoUsageStats: Reduce log spam during time change
Adam Lesinski [Thu, 23 Jul 2015 00:23:40 +0000 (17:23 -0700)]
UsageStats: Reduce log spam during time change

With lots of usage stats files, the log gets spammy
when the time changes and we are moving files around.

Bug:22549399
Change-Id: I9da39399b090066d52568dea6fc5b59aba063c5a

8 years agoGrant record audio to system reco service by default
Svetoslav [Thu, 23 Jul 2015 00:34:12 +0000 (17:34 -0700)]
Grant record audio to system reco service by default

bug:22668415

Change-Id: I0fec7cc671bb1cc3a13b870748fc8e110a11250e

8 years agoMerge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev
Dianne Hackborn [Thu, 23 Jul 2015 00:35:34 +0000 (00:35 +0000)]
Merge "Fix issue #22653116: Google App crashing on NYT app" into mnc-dev

8 years agoMerge "Do not show normal permissions in sideloading UI" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 00:27:16 +0000 (00:27 +0000)]
Merge "Do not show normal permissions in sideloading UI" into mnc-dev

8 years agoFix issue #22414729: Checkin start clock time is different from hsitory reset time
Dianne Hackborn [Thu, 23 Jul 2015 00:20:33 +0000 (17:20 -0700)]
Fix issue #22414729: Checkin start clock time is different from hsitory reset time

There was a mistake in the code that was supposed to recover from the
initial time on a new device being bad until the real time ultimately
gets set, which was causing us to update the start clock time every time
there was a time change (instead of just when the original start time
appears bad).

Rework all of this, so we now count the start time as bad if it is more
than one year before the current time, only modifying it in that case.
Also when modifying it, adjust the time we set it to take in to account
how much realtime has actually elapsed so far in the battery stats.

Change-Id: If74bd711d9b7618c8f6148a9935c452aaaa7e257

8 years agoDo not show normal permissions in sideloading UI
Svetoslav [Thu, 23 Jul 2015 00:02:46 +0000 (17:02 -0700)]
Do not show normal permissions in sideloading UI

bug:22627493

Change-Id: I5bb900bb2cd68893c21d9e9b2c973d331d355b58

8 years agoFix issue #22653116: Google App crashing on NYT app
Dianne Hackborn [Thu, 23 Jul 2015 00:02:10 +0000 (17:02 -0700)]
Fix issue #22653116: Google App crashing on NYT app

We weren't correctly handling the root view of the window --
we were just pushing it on to the stack, but that means it got
written at the end.  Instead, we now immediately write it
after the window and let things follow from there.

Change-Id: I070c96bd2443f312a7c6f495d1bf72fa19c614d6

8 years agoMerge "Fixed a typo" into mnc-dev
Fyodor Kupolov [Wed, 22 Jul 2015 23:57:00 +0000 (23:57 +0000)]
Merge "Fixed a typo" into mnc-dev

8 years agoMerge "UsageStats: Gracefully handle corrupt filenames" into mnc-dev
Adam Lesinski [Wed, 22 Jul 2015 23:41:39 +0000 (23:41 +0000)]
Merge "UsageStats: Gracefully handle corrupt filenames" into mnc-dev

8 years agoIgnore the active network scorer when checking for idleness
Wenchao Tong [Wed, 22 Jul 2015 18:15:09 +0000 (11:15 -0700)]
Ignore the active network scorer when checking for idleness

Bug: 22667334
Change-Id: I97085e653c146eff148458440bbac0a2ac64d6d2

8 years agoMerge "Protect demo mode commands with permission" into mnc-dev
Adrian Roos [Wed, 22 Jul 2015 23:10:09 +0000 (23:10 +0000)]
Merge "Protect demo mode commands with permission" into mnc-dev

8 years agoUsageStats: Gracefully handle corrupt filenames
Adam Lesinski [Wed, 22 Jul 2015 23:01:45 +0000 (16:01 -0700)]
UsageStats: Gracefully handle corrupt filenames

Not sure how useful this is, since renames should be atomic. If the filesystem
is corrupt I'm sure other parts of the system will break. Good to be safe though!

Bug:22172659
Change-Id: Iad339be2869d170bcf736c59feb93830a51905e1

8 years agoRingtoneManager: query results depend on caller permission
Jean-Michel Trivi [Wed, 22 Jul 2015 17:55:02 +0000 (10:55 -0700)]
RingtoneManager: query results depend on caller permission

When querying for ringtones, only look for ringtones on external
  storage when the caller has READ_EXTERNAL_STORAGE.
Document this behavior in the javadoc of the affected methods.

Bug 22545684

Change-Id: Iae9c9a4ccaf635da8af2ac289b6b4df1b16c5d11

8 years agoFixed a typo
Fyodor Kupolov [Wed, 22 Jul 2015 22:24:46 +0000 (15:24 -0700)]
Fixed a typo

Change-Id: I85d75429baed3263c04e747eb374c66177c064f5

8 years agoMerge "TIF: Enable hardware acceleration on overlay" into mnc-dev
Jae Seo [Wed, 22 Jul 2015 22:22:32 +0000 (22:22 +0000)]
Merge "TIF: Enable hardware acceleration on overlay" into mnc-dev

8 years agoAvoid a deadlock between PMS and AppOpsService
Amith Yamasani [Wed, 22 Jul 2015 21:42:31 +0000 (14:42 -0700)]
Avoid a deadlock between PMS and AppOpsService

Don't check for external storage access rights from MountService
for system server. Otherwise there's a case where AppOpsService
is locked and PackageManagerService calls into AppOps with its
own lock held and is unable to do an AppOps check via this path.

Bug: 22522725
Change-Id: Ib4cf914638905de391384aa5122e691c5a7140ec

8 years agoMerge "Add a privileged permission to get user accounts" into mnc-dev
Svetoslav Ganov [Wed, 22 Jul 2015 21:41:40 +0000 (21:41 +0000)]
Merge "Add a privileged permission to get user accounts" into mnc-dev

8 years agoMerge "Fix ATLAS_MAP_ENTRY_FIELD_COUNT" into mnc-dev
John Reck [Wed, 22 Jul 2015 21:29:55 +0000 (21:29 +0000)]
Merge "Fix ATLAS_MAP_ENTRY_FIELD_COUNT" into mnc-dev

8 years agoMerge "BatteryStats: Use English locale for dump and checkin data" into mnc-dev
Adam Lesinski [Wed, 22 Jul 2015 21:28:37 +0000 (21:28 +0000)]
Merge "BatteryStats: Use English locale for dump and checkin data" into mnc-dev

8 years agoMerge "UsbDeviceManager: fix b/21429947 regression" into mnc-dev
Nick Kralevich [Wed, 22 Jul 2015 21:18:59 +0000 (21:18 +0000)]
Merge "UsbDeviceManager: fix b/21429947 regression" into mnc-dev

8 years agoMerge "Don't crash sysui when advisory calls fail." into mnc-dev
Chris Wren [Wed, 22 Jul 2015 21:18:40 +0000 (21:18 +0000)]
Merge "Don't crash sysui when advisory calls fail." into mnc-dev

8 years agoDon't crash sysui when advisory calls fail.
Chris Wren [Wed, 22 Jul 2015 21:03:17 +0000 (17:03 -0400)]
Don't crash sysui when advisory calls fail.

Bug: 22653721
Change-Id: I8e2fc3887b7c71f99eb02306ce308f722dba4d07

8 years agoFix ATLAS_MAP_ENTRY_FIELD_COUNT
John Reck [Wed, 22 Jul 2015 20:55:48 +0000 (13:55 -0700)]
Fix ATLAS_MAP_ENTRY_FIELD_COUNT

Bug: 22558805

Change a039182d6157bc0487df4ad8e373685c9dd7d662 reduced
the size of an entry from 4 fields to 3, but failed to
update the constant that determined the size of the java long[].

Because the long[] is blindly passed down through to native, this
will result in reading past the end of the array as the size
is no longer a multiple of the number of fields being read so
the loop will not terminate until 1 iteration past the end.

Change-Id: I2f8e26cec9a60b3a74739a3763203296be5f1fd6

8 years agoBatteryStats: Use English locale for dump and checkin data
Adam Lesinski [Wed, 22 Jul 2015 20:50:23 +0000 (13:50 -0700)]
BatteryStats: Use English locale for dump and checkin data

Dump and checkin data is read by tools that expect a consistent
locale.

Bug:22357316
Change-Id: I0d7e6e771c3512278efca7579fe9c4b79b560e28

8 years agoMerge "Miss USB device Interface from UsbManager.getDeviceList()." into mnc-dev
Tim Kilbourn [Wed, 22 Jul 2015 20:40:06 +0000 (20:40 +0000)]
Merge "Miss USB device Interface from UsbManager.getDeviceList()." into mnc-dev

8 years agoMerge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev
Alan Viverette [Wed, 22 Jul 2015 20:35:40 +0000 (20:35 +0000)]
Merge "Fix handling of RelativeLayout measurement using UNSPECIFIED spec" into mnc-dev