OSDN Git Service

android-x86/frameworks-base.git
8 years agoEnforce DISALLOW_MOUNT_PHYSICAL_MEDIA.
Jeff Sharkey [Mon, 27 Jul 2015 21:19:54 +0000 (14:19 -0700)]
Enforce DISALLOW_MOUNT_PHYSICAL_MEDIA.

Bug: 22697024
Change-Id: Ib7277e8850a49909e5d8d5ad5502cd9315cddf0b

8 years agoMerge "Added the content description for the fingerprint icon" into mnc-dev
Selim Cinek [Mon, 27 Jul 2015 20:51:57 +0000 (20:51 +0000)]
Merge "Added the content description for the fingerprint icon" into mnc-dev

8 years agoMerge "BatteryStats: Prevent BatteryService from blocking" into mnc-dev
Adam Lesinski [Mon, 27 Jul 2015 20:01:34 +0000 (20:01 +0000)]
Merge "BatteryStats: Prevent BatteryService from blocking" into mnc-dev

8 years agoMerge "Allow Settings to set background data restrict on secondary users." into mnc-dev
Julia Reynolds [Mon, 27 Jul 2015 19:51:24 +0000 (19:51 +0000)]
Merge "Allow Settings to set background data restrict on secondary users." into mnc-dev

8 years agoRevert "am 1c964bec: Revert "am 6397ae6a: Merge "Update data binding for RC1." into...
George Mount [Mon, 27 Jul 2015 19:39:28 +0000 (12:39 -0700)]
Revert "am 1c964bec: Revert "am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs""

This reverts commit 01fe3f86b1c1e0eb3d8c9ab0b2251233f9164c5d, reversing
changes made to b83b5fa641847ee1d533253ba5e1a3e13913b9d9.

This change is valid for mnc-dev and other mnc branches.

8 years agoMerge "Fix QS switch accessibility problem" into mnc-dev
Jason Monk [Mon, 27 Jul 2015 19:27:29 +0000 (19:27 +0000)]
Merge "Fix QS switch accessibility problem" into mnc-dev

8 years agoMerge "Pass correct extras to the custom print options activity" into mnc-dev
Svetoslav Ganov [Mon, 27 Jul 2015 19:23:37 +0000 (19:23 +0000)]
Merge "Pass correct extras to the custom print options activity" into mnc-dev

8 years agoFix QS switch accessibility problem
Jason Monk [Mon, 27 Jul 2015 19:17:14 +0000 (15:17 -0400)]
Fix QS switch accessibility problem

Set the switch state so it can be read back correctly.

Bug: 22710906
Change-Id: I2bcba96e53813118eb2be8dcb7e0b7d547767550

8 years agoAllow Settings to set background data restrict on secondary users.
Julia Reynolds [Mon, 27 Jul 2015 19:10:42 +0000 (15:10 -0400)]
Allow Settings to set background data restrict on secondary users.

Bug: 22721091
Change-Id: Iadfbd25f75f233f2c3c080e0de05b0244572b6cd

8 years agoMerge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev
Jorim Jaggi [Mon, 27 Jul 2015 18:55:29 +0000 (18:55 +0000)]
Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev

8 years agoBatteryStats: Prevent BatteryService from blocking
Adam Lesinski [Mon, 27 Jul 2015 18:43:05 +0000 (11:43 -0700)]
BatteryStats: Prevent BatteryService from blocking

BatteryService is a low level service, and we shouldn't have it
block in BatteryStatsService while collecting external data from
components like WiFi. Deadlocks can occur this way.

Bug:22559655
Change-Id: I64026453d191695eb583a47163ab6f48f882b085

8 years agoam 1c964bec: Revert "am 6397ae6a: Merge "Update data binding for RC1." into mnc-previ...
George Mount [Mon, 27 Jul 2015 18:24:40 +0000 (18:24 +0000)]
am 1c964bec: Revert "am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs"

* commit '1c964bece6ce1bbbf9f641d95df3bf2de01f6ab7':
  Revert "am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs"

8 years agoRevert "am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs"
George Mount [Mon, 27 Jul 2015 17:38:22 +0000 (10:38 -0700)]
Revert "am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs"

This reverts commit c571a9a1d026cbf262cf36a5348f99d1ca0ec835, reversing
changes made to a29cfefe2c157a28b256771b1dce4653d405dcf1.

This should fix the build break for LMP downstream branches.

Change-Id: I22aac1dd0fb7965a2877bae224bccc8df8ee8e17

8 years agoMerge "Check for ACCESS_COARSE_LOCATION/ACCESS_FINE_LOCATION" into mnc-dev
Fyodor Kupolov [Mon, 27 Jul 2015 17:27:02 +0000 (17:27 +0000)]
Merge "Check for ACCESS_COARSE_LOCATION/ACCESS_FINE_LOCATION" into mnc-dev

8 years agoMerge "Fix bitmap get/set pixels for ALPHA_8" into mnc-dev
Chris Craik [Mon, 27 Jul 2015 17:23:52 +0000 (17:23 +0000)]
Merge "Fix bitmap get/set pixels for ALPHA_8" into mnc-dev

8 years agoMerge "MIDI: fix running status parser" into mnc-dev
Phil Burk [Mon, 27 Jul 2015 17:15:04 +0000 (17:15 +0000)]
Merge "MIDI: fix running status parser" into mnc-dev

8 years agoMerge "Revert "Invoke geolocation permissions callback with denied state by default...
Tim Volodine [Mon, 27 Jul 2015 16:37:57 +0000 (16:37 +0000)]
Merge "Revert "Invoke geolocation permissions callback with denied state by default."" into mnc-dev

8 years agoRevert "Invoke geolocation permissions callback with denied state by default."
Tim Volodine [Thu, 23 Jul 2015 17:16:16 +0000 (17:16 +0000)]
Revert "Invoke geolocation permissions callback with denied state by default."

This reverts commit 954d1333c478d4dba6c9a0536510da4fd94c0622.

The revert is due to apps calling super.onGeolocationPermissionsShowPrompt see b/22685046

Bug: 22685046
Change-Id: I2a9f42b432a010828a0cafaee064480bb0f91cbe
(cherry picked from commit 0bb7d2e46710932d09688a18d4c5836f9b1413a5)

8 years agoam c571a9a1: am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs
George Mount [Mon, 27 Jul 2015 14:49:16 +0000 (14:49 +0000)]
am c571a9a1: am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs

* commit 'c571a9a1d026cbf262cf36a5348f99d1ca0ec835':
  Update data binding for RC1.

8 years agoam a29cfefe: (-s ours) am 95e6ae3a: (-s ours) Merge "DO NOT MERGE ANYWHERE. Add data...
George Mount [Mon, 27 Jul 2015 14:49:11 +0000 (14:49 +0000)]
am a29cfefe: (-s ours) am 95e6ae3a: (-s ours) Merge "DO NOT MERGE ANYWHERE. Add data binding to built javadoc." into mnc-preview-docs

* commit 'a29cfefe2c157a28b256771b1dce4653d405dcf1':
  DO NOT MERGE ANYWHERE. Add data binding to built javadoc.

8 years agoam 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs
George Mount [Mon, 27 Jul 2015 14:35:50 +0000 (14:35 +0000)]
am 6397ae6a: Merge "Update data binding for RC1." into mnc-preview-docs

* commit '6397ae6a0aedb8c7d085bb8907fc46a0e5bd7065':
  Update data binding for RC1.

8 years agoam 95e6ae3a: (-s ours) Merge "DO NOT MERGE ANYWHERE. Add data binding to built javado...
George Mount [Mon, 27 Jul 2015 14:35:45 +0000 (14:35 +0000)]
am 95e6ae3a: (-s ours) Merge "DO NOT MERGE ANYWHERE. Add data binding to built javadoc." into mnc-preview-docs

* commit '95e6ae3ad1ba8647494f0b5007b7beee76493e03':
  DO NOT MERGE ANYWHERE. Add data binding to built javadoc.

8 years agoMerge "Update data binding for RC1." into mnc-preview-docs
George Mount [Mon, 27 Jul 2015 14:24:34 +0000 (14:24 +0000)]
Merge "Update data binding for RC1." into mnc-preview-docs

8 years agoMerge "DO NOT MERGE ANYWHERE. Add data binding to built javadoc." into mnc-preview...
George Mount [Mon, 27 Jul 2015 14:24:17 +0000 (14:24 +0000)]
Merge "DO NOT MERGE ANYWHERE. Add data binding to built javadoc." into mnc-preview-docs

8 years agoMerge "decide interruptions based on current data, not previous data." into mnc-dev
Chris Wren [Mon, 27 Jul 2015 13:10:11 +0000 (13:10 +0000)]
Merge "decide interruptions based on current data, not previous data." into mnc-dev

8 years agoMerge "add ticker to enqueue message for easier debugging" into mnc-dev
Chris Wren [Mon, 27 Jul 2015 13:09:15 +0000 (13:09 +0000)]
Merge "add ticker to enqueue message for easier debugging" into mnc-dev

8 years agoMerge "Change to connectivitycheck.gstatic.com" into mnc-dev
Erik Kline [Mon, 27 Jul 2015 02:35:09 +0000 (02:35 +0000)]
Merge "Change to connectivitycheck.gstatic.com" into mnc-dev

8 years agoPass correct extras to the custom print options activity
Svet Ganov [Sat, 25 Jul 2015 19:10:54 +0000 (12:10 -0700)]
Pass correct extras to the custom print options activity

bug:22734138

Change-Id: Iea1bc32c3e863072b2021b823bef2cefa54fa540

8 years agoMerge "Also check app-ops on path-permissions." into mnc-dev
Jeff Sharkey [Sat, 25 Jul 2015 02:05:56 +0000 (02:05 +0000)]
Merge "Also check app-ops on path-permissions." into mnc-dev

8 years agoMerge "Fixed wake to unlock when the device has never been unlocked" into mnc-dev
Selim Cinek [Sat, 25 Jul 2015 01:48:16 +0000 (01:48 +0000)]
Merge "Fixed wake to unlock when the device has never been unlocked" into mnc-dev

8 years agoFix ambient display
Jorim Jaggi [Fri, 24 Jul 2015 19:32:42 +0000 (12:32 -0700)]
Fix ambient display

Due to a refactoring for touch, wake and unlock for fingerprint
devices PhoneWindowManager now waits for Keyguard to draw its first
frame in all cases, including when screen turns on for pulsing.
However, since in this case the device is not awake, we need to check
for screen on instead of awakeness when proceeding with the wake-up
sequence. Without this change, screen on was blocked forever in the
pulsing case.

Bug: 22605235
Change-Id: Ib6089fd14b673e62347f2c9108d9a6783caa26b7

8 years agoFixed wake to unlock when the device has never been unlocked
Selim Cinek [Sat, 25 Jul 2015 01:15:43 +0000 (18:15 -0700)]
Fixed wake to unlock when the device has never been unlocked

Previously the fingerprint could still unlock the device
when waking up with the fingerprint sensor, since we were not
checking if it is allowed.

Bug: 22622999
Change-Id: I039a4e0701c1f161f227cf6f1d25e8147548db47

8 years agoMerge "BatteryStats: Decode wakeup reasons in Java" into mnc-dev
Adam Lesinski [Sat, 25 Jul 2015 01:14:07 +0000 (01:14 +0000)]
Merge "BatteryStats: Decode wakeup reasons in Java" into mnc-dev

8 years agoMerge "Adapted the behavior when unlocking with fingerprint is not allowed" into...
Selim Cinek [Sat, 25 Jul 2015 00:33:14 +0000 (00:33 +0000)]
Merge "Adapted the behavior when unlocking with fingerprint is not allowed" into mnc-dev

8 years agoCheck for ACCESS_COARSE_LOCATION/ACCESS_FINE_LOCATION
Fyodor Kupolov [Fri, 24 Jul 2015 01:38:10 +0000 (18:38 -0700)]
Check for ACCESS_COARSE_LOCATION/ACCESS_FINE_LOCATION

Call to checkPermission(ACCESS_COARSE_LOCATION) should return
PERMISSION_GRANTED, when package only has ACCESS_FINE_LOCATION permission

Bug: 21852542
Change-Id: I53fe2945784213693f59e7bfccc524276ea8c189

8 years agoAdded the content description for the fingerprint icon
Selim Cinek [Fri, 24 Jul 2015 23:23:23 +0000 (16:23 -0700)]
Added the content description for the fingerprint icon

Added a content description for the fingerprint icon,
which should be used throughout the platform.

Bug: 22616421
Change-Id: I8d65a568af926a692fd6be3e27d40b5d2dd6cbb1

8 years agoam 5442932a: am 7b099152: Merge "v22.2.1 support api diff" into mnc-preview-docs
Chris Banes [Fri, 24 Jul 2015 22:41:35 +0000 (22:41 +0000)]
am 5442932a: am 7b099152: Merge "v22.2.1 support api diff" into mnc-preview-docs

* commit '5442932a4befd66394fb155ae95a2eaadd2001a9':
  v22.2.1 support api diff

8 years agoam a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely...
Adrian Roos [Fri, 24 Jul 2015 22:41:26 +0000 (22:41 +0000)]
am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI

* commit 'a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d':
  Prevent insanely long passwords from crashing SystemUI

8 years agoFix bitmap get/set pixels for ALPHA_8
Chris Craik [Fri, 24 Jul 2015 22:17:29 +0000 (15:17 -0700)]
Fix bitmap get/set pixels for ALPHA_8

bug:22724734

Change-Id: If8307854f6bad6fac9ee0b394bf0b044c61183e5

8 years agoAlso check app-ops on path-permissions.
Jeff Sharkey [Fri, 24 Jul 2015 22:10:20 +0000 (15:10 -0700)]
Also check app-ops on path-permissions.

Any place that we check permissions we also need to check any
app-ops associated with those permissions.  In the case of providers
with both <provider> and <path-permission> permissions, track and
report the strongest app-ops denial.

Bug: 22718722
Change-Id: I45e62de39b04d16d071558ad980b701667cfcb9a

8 years agoMerge "Use process state to filter >= UI_HIDDEN" into mnc-dev
John Reck [Fri, 24 Jul 2015 22:15:47 +0000 (22:15 +0000)]
Merge "Use process state to filter >= UI_HIDDEN" into mnc-dev

8 years agoMerge "Fix janky add guest transition" into mnc-dev
Adrian Roos [Fri, 24 Jul 2015 21:42:46 +0000 (21:42 +0000)]
Merge "Fix janky add guest transition" into mnc-dev

8 years agoMerge "Frameworks/base: Hand fingerprint to ART" into mnc-dev
Andreas Gampe [Fri, 24 Jul 2015 21:25:09 +0000 (21:25 +0000)]
Merge "Frameworks/base: Hand fingerprint to ART" into mnc-dev

8 years agoFrameworks/base: Hand fingerprint to ART
Andreas Gampe [Fri, 24 Jul 2015 21:19:44 +0000 (14:19 -0700)]
Frameworks/base: Hand fingerprint to ART

To allow ANR dumps to be symbolized easily, hand the build
fingerprint to the runtime.

Bug: 22693991
Change-Id: Ibd3d3b3bd65dce84acfb97a487807d6f280a9508

8 years agoMIDI: fix running status parser
Phil Burk [Thu, 23 Jul 2015 23:46:53 +0000 (16:46 -0700)]
MIDI: fix running status parser

Running status was being parsed incorrectly.
This could cause stuck notes or exceptions when sending running
status messages to a Bluetooth MIDI device.

Bug: 22689606
Change-Id: I9f7abce9758927be587eead9614617d5b0076353
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoam 7b099152: Merge "v22.2.1 support api diff" into mnc-preview-docs
Chris Banes [Fri, 24 Jul 2015 20:19:09 +0000 (20:19 +0000)]
am 7b099152: Merge "v22.2.1 support api diff" into mnc-preview-docs

* commit '7b099152b6bd5844c30464a7c08dde2e22124491':
  v22.2.1 support api diff

8 years agoBatteryStats: Decode wakeup reasons in Java
Adam Lesinski [Fri, 24 Jul 2015 01:13:38 +0000 (18:13 -0700)]
BatteryStats: Decode wakeup reasons in Java

Wakeup reasons come from drivers and sometimes are malformed UTF-8.
Decode them in Java so we can easily replace malformed characters
and still have user visible strings.

Bug:22368519
Change-Id: Ifade1a7fcdf6545e7e344d74390200c329430e14

8 years agoMerge "DO NOT MERGE Enhance local log." into mnc-dev
Robert Greenwalt [Fri, 24 Jul 2015 19:54:07 +0000 (19:54 +0000)]
Merge "DO NOT MERGE Enhance local log." into mnc-dev

8 years agoam b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords...
Adrian Roos [Fri, 24 Jul 2015 19:45:24 +0000 (19:45 +0000)]
am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI

* commit 'b2f8c716e8d2cf575c690b5a360c4efdd9f06bc8':
  Prevent insanely long passwords from crashing SystemUI

8 years agoDO NOT MERGE Enhance local log.
Robert Greenwalt [Fri, 24 Jul 2015 19:44:03 +0000 (12:44 -0700)]
DO NOT MERGE Enhance local log.

to be reverted with ag/733658
bug:22632129

Change-Id: Id3899ee8e987ccc469394dd4d0c41465c48dc37e

8 years agoMerge "Require permission for internal broadcast" into mnc-dev
Amith Yamasani [Fri, 24 Jul 2015 19:12:16 +0000 (19:12 +0000)]
Merge "Require permission for internal broadcast" into mnc-dev

8 years agoMerge "Added ACCESS_COARSE_LOCATION permission for BT" into mnc-dev
Fyodor Kupolov [Fri, 24 Jul 2015 17:54:14 +0000 (17:54 +0000)]
Merge "Added ACCESS_COARSE_LOCATION permission for BT" into mnc-dev

8 years agoMerge "Disallow dragging text in extracted mode" into mnc-dev
Andrei Stingaceanu [Fri, 24 Jul 2015 14:35:48 +0000 (14:35 +0000)]
Merge "Disallow dragging text in extracted mode" into mnc-dev

8 years agoMerge "Prevent lockscreen album art from flickering on metadata change." into mnc-dev
Julia Reynolds [Fri, 24 Jul 2015 14:34:02 +0000 (14:34 +0000)]
Merge "Prevent lockscreen album art from flickering on metadata change." into mnc-dev

8 years agoMerge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev
Jim Miller [Fri, 24 Jul 2015 02:41:00 +0000 (02:41 +0000)]
Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev

8 years agoUse process state to filter >= UI_HIDDEN
John Reck [Fri, 24 Jul 2015 01:27:09 +0000 (18:27 -0700)]
Use process state to filter >= UI_HIDDEN

Bug: 22701182
Change-Id: Ia192016397c8115a19a0dca409aa70dea154c41e

8 years agoRequire permission for internal broadcast
Amith Yamasani [Fri, 24 Jul 2015 00:15:45 +0000 (17:15 -0700)]
Require permission for internal broadcast

It was possible for other apps to request removal of the guest user
that was handled by an internal receiver in SystemUI.

Fix requires the broadcast sender to have an internal permission
so that only SystemUI can send that broadcast (PendingIntent).

Bug: 22671268
Change-Id: I63a8ced692e6d1cb2872b962ad247a827dbafbc6

8 years agoMerge "MediaPlayer subtitle controller: use debug log instead of warning" into mnc-dev
Jean-Michel Trivi [Fri, 24 Jul 2015 00:46:15 +0000 (00:46 +0000)]
Merge "MediaPlayer subtitle controller: use debug log instead of warning" into mnc-dev

8 years agouse findProcess instead of getProcess
John Reck [Fri, 24 Jul 2015 00:36:13 +0000 (17:36 -0700)]
use findProcess instead of getProcess

Bug: 22701182
Change-Id: I2ec56c55c49401f2f213bbd318e867fd73b37672

8 years agoMerge "UICC : discard language setting of SIM" into mnc-dev
Amit Mahajan [Thu, 23 Jul 2015 23:59:40 +0000 (23:59 +0000)]
Merge "UICC : discard language setting of SIM" into mnc-dev

8 years agoMerge "Disable Keyguard affordances before setup is completed" into mnc-dev
Adrian Roos [Thu, 23 Jul 2015 23:56:37 +0000 (23:56 +0000)]
Merge "Disable Keyguard affordances before setup is completed" into mnc-dev

8 years agoMerge "Keep default permission grants uninstalling a sys package upgrade" into mnc-dev
Svetoslav Ganov [Thu, 23 Jul 2015 23:56:31 +0000 (23:56 +0000)]
Merge "Keep default permission grants uninstalling a sys package upgrade" into mnc-dev

8 years agoMerge "Move updateMatrix() call to animateCommon" into mnc-dev
John Reck [Thu, 23 Jul 2015 23:48:40 +0000 (23:48 +0000)]
Merge "Move updateMatrix() call to animateCommon" into mnc-dev

8 years agoKeep default permission grants uninstalling a sys package upgrade
Svet Ganov [Thu, 23 Jul 2015 23:44:05 +0000 (16:44 -0700)]
Keep default permission grants uninstalling a sys package upgrade

bug:22665508

Change-Id: I1cb1e53a8643ddad77f0be9e40d5b504501e06de

8 years agoMerge "Set support flag for custom layouts for RecyclerView." into mnc-dev
Deepanshu Gupta [Thu, 23 Jul 2015 23:47:10 +0000 (23:47 +0000)]
Merge "Set support flag for custom layouts for RecyclerView." into mnc-dev

8 years agoSet support flag for custom layouts for RecyclerView.
Deepanshu Gupta [Thu, 23 Jul 2015 23:40:23 +0000 (16:40 -0700)]
Set support flag for custom layouts for RecyclerView.

Change-Id: I3a0349c0482ae45e226b2016a0f24707c85edff4

8 years agoMerge "Don't rely on broadcast intent for waking up input method." into mnc-dev
Yohei Yukawa [Thu, 23 Jul 2015 23:24:58 +0000 (23:24 +0000)]
Merge "Don't rely on broadcast intent for waking up input method." into mnc-dev

8 years agoMediaPlayer subtitle controller: use debug log instead of warning
Jean-Michel Trivi [Thu, 23 Jul 2015 17:53:37 +0000 (10:53 -0700)]
MediaPlayer subtitle controller: use debug log instead of warning

Don't use warning log for debug message.

Bug 22698299

Change-Id: Ibe3526fffffc9a7bdcda83c02fd745325db1238b

8 years agoMerge changes I9c294329,Ie4db5d28 into mnc-dev
Deepanshu Gupta [Thu, 23 Jul 2015 23:02:57 +0000 (23:02 +0000)]
Merge changes I9c294329,Ie4db5d28 into mnc-dev

* changes:
  LayoutLib: translucent sys ui bars
  Move the layout code out of RenderSessionImpl.

8 years agoMerge "CalendarView rendering: use R.styleable to find attr." into mnc-dev
Deepanshu Gupta [Thu, 23 Jul 2015 23:02:46 +0000 (23:02 +0000)]
Merge "CalendarView rendering: use R.styleable to find attr." into mnc-dev

8 years agoLayoutLib: translucent sys ui bars
Deepanshu Gupta [Thu, 23 Jul 2015 18:35:25 +0000 (11:35 -0700)]
LayoutLib: translucent sys ui bars

Change-Id: I9c294329fc78418c505a5115bc9c07da29595af2

8 years agoMove updateMatrix() call to animateCommon
John Reck [Thu, 23 Jul 2015 22:33:12 +0000 (15:33 -0700)]
Move updateMatrix() call to animateCommon

Bug: 22667315

HWUI internally always assumes that RenderNode->properties()
has a fully-baked matrix. However, RenderThread animations violate
this and will perform an update of that matrix after they run. This
was missing in the fallback scenario where an animation was
running on a View that is detached from the tree.

If a RenderThread animation is started on an attached view, it becomes
detached, and is then re-attached it will crash in the staging
properties push. The fix for this is to move the call to updateMatrix
from animate() to animateCommon() so that the animateNoDamage()
path will similarly perform the necessary matrix update.

Change-Id: I4c899a6f68659342a6515f1d7f20d3c4af65caf0

8 years agoUICC : discard language setting of SIM
duho.ro [Thu, 16 Jul 2015 11:05:00 +0000 (20:05 +0900)]
UICC : discard language setting of SIM

Some carrier card has incorrect language file.
This is to disable loading language setting from SIM card.

BUG=22255379

Change-Id: I217a530758c8f9b3ee85c8a277096155e95bb060

8 years agoAdapted the behavior when unlocking with fingerprint is not allowed
Selim Cinek [Mon, 20 Jul 2015 21:39:25 +0000 (14:39 -0700)]
Adapted the behavior when unlocking with fingerprint is not allowed

We now keep the fingerprint running and switch to the bouncer when
the user successfully authenticated.

Bug: 21618072
Change-Id: If00061cb3914afd4d7a7d75964594484c792a890

8 years agoDon't rely on broadcast intent for waking up input method.
Yohei Yukawa [Thu, 23 Jul 2015 22:08:59 +0000 (15:08 -0700)]
Don't rely on broadcast intent for waking up input method.

Basically this is a copy of Iabef96921dd554ce3768fb18619cefc
for InputMethodManagerService.

As described in JavaDoc of Intent#ACTION_SCREEN_OFF and
Intent#ACTION_SCREEN_ON, one can use those Intents to be
notified when the device becomes non-interactive and
interactive.  IMMS has relied on them to enable and disable
InputConnection between the IME and the application so as not
to allow IMEs to update text when the user does not present.
This is actually our design goal as documented in JavaDoc of
InputMethodManager.

   An IME can never interact with an InputConnection while
   the screen is off.  This is enforced by making all clients
   inactive while the screen is off, and prevents bad IMEs from
   driving the UI when the user can not be aware of its
   behavior.

The goal of this CL is to improve the timeliness of above
mechianism by introducing a direct communication channel from
PowerManagerService to InputMethodManagerService via Notifier.
Actually this is what InputManager has been doing since
Iabef96921dd554ce3768fb18619cefc3230b5fb0.

Reasons behind this change are:

  1. There are several bugreports that imply those Intents can
     dispatch tens of seconds after it is enqueued. This is
     indeed problematic because the user cannot type password
     to unlock their devices until queued
     Intent#ACTION_SCREEN_ON is dispatched. This CL addresses
     such an issue without waiting for figuring out the root
     cause of the delay.
  2. Intent#ACTION_SCREEN_OFF and Intent#ACTION_SCREEN_ON are
     sent as a ordered broadcast, which may not be suitable for
     tasks that require a certain level of timeliness, and what
     IMMS wants is to enable users to start typing immediately
     after the system.

This CL was originally authored by Seigo Nonaka.

Bug: 22423200
Bug: 22555778
Change-Id: I747c37ff6dd8f233faef43f2b5713a4320e848eb

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 agoam 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing...
Adrian Roos [Thu, 23 Jul 2015 21:31:41 +0000 (21:31 +0000)]
am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI

* commit '50ed152ab646b00714947a9cf75e01e618b16c02':
  Prevent insanely long passwords from crashing SystemUI

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 agoAdded ACCESS_COARSE_LOCATION permission for BT
Fyodor Kupolov [Thu, 23 Jul 2015 19:47:06 +0000 (12:47 -0700)]
Added ACCESS_COARSE_LOCATION permission for BT

It is required to receive BluetoothDevice.ACTION_FOUND intents

Bug: 21852542
Change-Id: I0437c74c753567e8c6beb4bf70a30ddf0aaa4f3b

8 years agoMove the layout code out of RenderSessionImpl.
Deepanshu Gupta [Wed, 22 Jul 2015 01:27:40 +0000 (18:27 -0700)]
Move the layout code out of RenderSessionImpl.

Also, switch to using a RelativeLayout from a LinearLayout. The change
will help in future when enabling transparent status and nav bar.

Change-Id: Ie4db5d28313f1c5ef775603788598a56409f92c7

8 years agoCalendarView rendering: use R.styleable to find attr.
Deepanshu Gupta [Fri, 17 Jul 2015 01:32:54 +0000 (18:32 -0700)]
CalendarView rendering: use R.styleable to find attr.

Not all attr are added to R.attr. This results in some attr not being
found and hence a broken rendering. Fix the issue by adding all attr
referenced in R.styleable to the map of attr before adding any remaining
values from R.attr.

Change-Id: I1ebf8a394b9e1edbf7490e011833d20a00d38317

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 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
Adrian Roos [Thu, 23 Jul 2015 18:47:07 +0000 (18:47 +0000)]
am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI

* commit '7f63ef380ff8c95ea43edd832a7b986ad362e7cf':
  Prevent insanely long passwords from crashing SystemUI

8 years agoam 9b6a6099: Prevent insanely long passwords from crashing SystemUI
Adrian Roos [Thu, 23 Jul 2015 18:34:56 +0000 (18:34 +0000)]
am 9b6a6099: Prevent insanely long passwords from crashing SystemUI

* commit '9b6a60991453136819a6feeca404e1102e78f735':
  Prevent insanely long passwords from crashing SystemUI

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