OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev
Andre Eisenbach [Fri, 4 Sep 2015 00:02:57 +0000 (00:02 +0000)]
Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev

8 years agoBluetooth: Fix profile auto-connect logic
Andre Eisenbach [Thu, 3 Sep 2015 22:20:09 +0000 (15:20 -0700)]
Bluetooth: Fix profile auto-connect logic

The fix in commit 05e08c3a2f27d5027b34e81b7c0a67e4da7341f6 caused a
duplicate connect message to be sent to A2DP devices (and others),
causing the A2DP state machine to disconnect a device shortly after
connecting it.

This patch reverts the relevant part of commit 05e06c that causes the
faulty auto-connect behaviour.

Bug: 22128169
Change-Id: Ie0dadd5c9583bf2b64a8434a2a3603cb749b21d0

8 years agoMerge "SurfaceControl: Add colorTransform to DisplayInfo" into mnc-dr-dev
Dan Stoza [Thu, 3 Sep 2015 21:55:36 +0000 (21:55 +0000)]
Merge "SurfaceControl: Add colorTransform to DisplayInfo" into mnc-dr-dev

8 years agoMerge changes from topic 'TDSCDMA support' into mnc-dr-dev
Amit Mahajan [Thu, 3 Sep 2015 21:24:46 +0000 (21:24 +0000)]
Merge changes from topic 'TDSCDMA support' into mnc-dr-dev

* changes:
  Add TDSCDMA family
  Telephony: Add TD-SCDMA SignalStrength

8 years agoSurfaceControl: Add colorTransform to DisplayInfo
Dan Stoza [Mon, 31 Aug 2015 19:01:48 +0000 (12:01 -0700)]
SurfaceControl: Add colorTransform to DisplayInfo

Adds the colorTransform field, which defines a vendor-specific color
transform (e.g., wide gamut, sRGB, etc.) to the PhysicalDisplayInfo
class, and populates it from the corresponding field from
ISurfaceComposer.

Bug: 20853317
Change-Id: Ic59ca5142bdaa73c42d9c044d7aae345255f1dad

8 years agoMerge "Don't disable fingerprint when entering wrong credential" into mnc-dr-dev
Adrian Roos [Thu, 3 Sep 2015 19:42:39 +0000 (19:42 +0000)]
Merge "Don't disable fingerprint when entering wrong credential" into mnc-dr-dev

8 years agoMerge "Poke fingerprint timeout when vold password is correct" into mnc-dr-dev
Adrian Roos [Thu, 3 Sep 2015 19:41:22 +0000 (19:41 +0000)]
Merge "Poke fingerprint timeout when vold password is correct" into mnc-dr-dev

8 years agoDon't disable fingerprint when entering wrong credential
Adrian Roos [Wed, 2 Sep 2015 20:23:30 +0000 (13:23 -0700)]
Don't disable fingerprint when entering wrong credential

Bug: 23748205
Change-Id: I0ee2a0562d5ef2992a6a4b40d235601b19dcef16

8 years agoPoke fingerprint timeout when vold password is correct
Adrian Roos [Wed, 2 Sep 2015 20:26:25 +0000 (13:26 -0700)]
Poke fingerprint timeout when vold password is correct

Bug: 23718313
Change-Id: I6c88fbba9ae460594b8e2f1a77c6545b305e5813

8 years agoMerge "Show face unlock even when fingerprint is running" into mnc-dr-dev
Adrian Roos [Thu, 3 Sep 2015 18:59:37 +0000 (18:59 +0000)]
Merge "Show face unlock even when fingerprint is running" into mnc-dr-dev

8 years agoam 0a76afb9: Merge "Don\'t crash on (invalid) hardware address lengths > 127." into...
Ian Pedowitz [Thu, 3 Sep 2015 17:34:50 +0000 (17:34 +0000)]
am 0a76afb9: Merge "Don\'t crash on (invalid) hardware address lengths > 127." into mnc-dev

* commit '0a76afb93e6f303921ab84e2f26747c3ebf19b62':
  Don't crash on (invalid) hardware address lengths > 127.

8 years agoMerge "Don't crash on (invalid) hardware address lengths > 127." into mnc-dev
Ian Pedowitz [Thu, 3 Sep 2015 17:22:21 +0000 (17:22 +0000)]
Merge "Don't crash on (invalid) hardware address lengths > 127." into mnc-dev

8 years agoam 6dd856b1: Merge "Don\'t drop runtime permissions on older system app update."...
Svetoslav Ganov [Thu, 3 Sep 2015 17:17:46 +0000 (17:17 +0000)]
am 6dd856b1: Merge "Don\'t drop runtime permissions on older system app update." into mnc-dev

* commit '6dd856b1ea31bae083b6c2ed40af812c41b3a6cf':
  Don't drop runtime permissions on older system app update.

8 years agoam 512141d5: Merge "Respect DONT_KILL_APP flag when bringing down a disabled service...
Wale Ogunwale [Thu, 3 Sep 2015 17:17:42 +0000 (17:17 +0000)]
am 512141d5: Merge "Respect DONT_KILL_APP flag when bringing down a disabled service." into mnc-dev

* commit '512141d581133ad5c1712ac097dcee08d46bae2c':
  Respect DONT_KILL_APP flag when bringing down a disabled service.

8 years agoMerge "Don't drop runtime permissions on older system app update." into mnc-dev
Svetoslav Ganov [Thu, 3 Sep 2015 17:08:57 +0000 (17:08 +0000)]
Merge "Don't drop runtime permissions on older system app update." into mnc-dev

8 years agoMerge "Respect DONT_KILL_APP flag when bringing down a disabled service." into mnc-dev
Wale Ogunwale [Thu, 3 Sep 2015 17:06:03 +0000 (17:06 +0000)]
Merge "Respect DONT_KILL_APP flag when bringing down a disabled service." into mnc-dev

8 years agoMerge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev
Michael Wright [Thu, 3 Sep 2015 14:00:52 +0000 (14:00 +0000)]
Merge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev

8 years agoDon't crash on (invalid) hardware address lengths > 127.
Lorenzo Colitti [Thu, 3 Sep 2015 08:36:20 +0000 (17:36 +0900)]
Don't crash on (invalid) hardware address lengths > 127.

These would cause us to crash with a NegativeArraySizeException
when trying to create the clientMac array. Instead, if the length
is > 16 (invalid, because the field is only 16 bytes long), fudge
it to 6 (Ethernet / wifi).  This is a bit less liberal than the
legacy client, which doesn't check the length at all.

Bug: 23725795
Change-Id: I83f47bfc400ffa8ce85dd9d1b8eb96be5afe51a5

8 years agoShow face unlock even when fingerprint is running
Adrian Roos [Wed, 2 Sep 2015 20:29:42 +0000 (13:29 -0700)]
Show face unlock even when fingerprint is running

Bug: 23318158
Change-Id: I02b085297c2546c814d97d725d18beba79568b33

8 years agoMerge "Fingerprint should throttle after 5 attempts" into mnc-dr-dev
Jim Miller [Wed, 2 Sep 2015 23:07:58 +0000 (23:07 +0000)]
Merge "Fingerprint should throttle after 5 attempts" into mnc-dr-dev

8 years agoFingerprint should throttle after 5 attempts
Jim Miller [Wed, 2 Sep 2015 22:35:33 +0000 (15:35 -0700)]
Fingerprint should throttle after 5 attempts

Fixes bug 23762058

Change-Id: I62665dd3097b8e71075a5eddbf34a551db1507d5

8 years agoMerge "Use private action for SUPL related connectivity changes." into mnc-dr-dev
Daniel Estrada Alva [Wed, 2 Sep 2015 22:04:30 +0000 (22:04 +0000)]
Merge "Use private action for SUPL related connectivity changes." into mnc-dr-dev

8 years agoRespect DONT_KILL_APP flag when bringing down a disabled service.
Wale Ogunwale [Wed, 2 Sep 2015 21:53:29 +0000 (14:53 -0700)]
Respect DONT_KILL_APP flag when bringing down a disabled service.

Commit 540e123 introduce logic to clean up states when a component is
disabled. For services this included marking the process running the
service as removed so it can be killed later. However, this wasn't
respecting the Intent.EXTRA_DONT_KILL_APP flag where the caller
doesn't want the process of the disabled component to be killed.
This change now takes the flag into account.

Bug: 23491822
Bug: 15804187
Change-Id: I54a6e03cd66164dc8c4606a3c462114fe661ea8e

8 years agoMerge "Add SUPL-specific network bcast" into mnc-dr-dev
Daniel Estrada Alva [Wed, 2 Sep 2015 21:04:19 +0000 (21:04 +0000)]
Merge "Add SUPL-specific network bcast" into mnc-dr-dev

8 years agoam 60aae166: Apply default link-handling policy at OTA from pre-M
Christopher Tate [Wed, 2 Sep 2015 20:57:28 +0000 (20:57 +0000)]
am 60aae166: Apply default link-handling policy at OTA from pre-M

* commit '60aae166e99dff0dba379e14c0fc43e89fd1a018':
  Apply default link-handling policy at OTA from pre-M

8 years agoDon't drop runtime permissions on older system app update.
Svetoslav [Wed, 2 Sep 2015 20:53:05 +0000 (13:53 -0700)]
Don't drop runtime permissions on older system app update.

We have a device with an installed version of an app that is not
preinstalled and has some runtime permissions granted. Now we get
OTA with an older version of the app which does not request these
runtime permissions. We first scan system packages and then installed
apps. During the scan we encounter the newly appeared system package
and determine it is older than the one we have installed and disable
it.

However, before we disable the package we update the permissions
for this package but since the one on the system partition (the one
we found so far) doesn't request some of the runtime permissions
granted to the installed version of the app, they get dropped on the
floor. This grant attempt is not necessary as the permission the
installed package has depends entirely on the permissions it requests.
In this process we may look at the requested permissions on the
disabled system package but in general the updated package cannot
have a permission that it does not request regardless whether the
disabled system app requests it or on.

bug:23718806

Change-Id: I187bc11750eb270c3233c314992186f5d58d9d82

8 years agoMerge "Fix wrong mode for fingerprint unlock when bouncer not showing" into mnc-dr-dev
Jorim Jaggi [Wed, 2 Sep 2015 20:43:04 +0000 (20:43 +0000)]
Merge "Fix wrong mode for fingerprint unlock when bouncer not showing" into mnc-dr-dev

8 years agoApply default link-handling policy at OTA from pre-M
Christopher Tate [Wed, 2 Sep 2015 19:54:41 +0000 (12:54 -0700)]
Apply default link-handling policy at OTA from pre-M

Not just at first (wiped) boot.

Bug 23744303

Change-Id: I9ab42f7b081e92231d89b3c97935135c3dd901d4

8 years agoFix wrong mode for fingerprint unlock when bouncer not showing
Jorim Jaggi [Wed, 2 Sep 2015 18:53:02 +0000 (11:53 -0700)]
Fix wrong mode for fingerprint unlock when bouncer not showing

Bug: 23748205
Change-Id: I4c751fcbb99d1f409a1433309e795addf1a2232c

8 years agoam ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
Tim Kilbourn [Wed, 2 Sep 2015 17:40:36 +0000 (17:40 +0000)]
am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev

* commit 'ee72f99dd14c8e531cd1a114d162a49636e7b809':
  Allow shell to disable keyguard when not secure

8 years agoMerge "Allow shell to disable keyguard when not secure" into mnc-dev
Tim Kilbourn [Wed, 2 Sep 2015 17:28:08 +0000 (17:28 +0000)]
Merge "Allow shell to disable keyguard when not secure" into mnc-dev

8 years agoam f7b220ab: Merge "Fix Custom action mode menu item onclick is not working" into...
Clara Bayarri [Wed, 2 Sep 2015 09:59:36 +0000 (09:59 +0000)]
am f7b220ab: Merge "Fix Custom action mode menu item onclick is not working" into mnc-dev

* commit 'f7b220ab9f62be3d279e3fa7923c249ff0fa09f3':
  Fix Custom action mode menu item onclick is not working

8 years agoMerge "Fix Custom action mode menu item onclick is not working" into mnc-dev
Clara Bayarri [Wed, 2 Sep 2015 09:31:06 +0000 (09:31 +0000)]
Merge "Fix Custom action mode menu item onclick is not working" into mnc-dev

8 years agoMerge "set config_use_sim_language_file false for KR LGU+/KT" into mnc-dr-dev
Vineeta Srivastava [Wed, 2 Sep 2015 07:29:33 +0000 (07:29 +0000)]
Merge "set config_use_sim_language_file false for KR LGU+/KT" into mnc-dr-dev

8 years agoset config_use_sim_language_file false for KR LGU+/KT
Hyejin [Thu, 27 Aug 2015 03:26:22 +0000 (20:26 -0700)]
set config_use_sim_language_file false for KR LGU+/KT

BUG=23611386
Change-Id: Ifb635ccab9994f0bc2c0a75b539f29d71111b1ed

8 years agoMerge "Reformat only KR numbers with leading "+82"." into mnc-dr-dev
Roshan Pius [Wed, 2 Sep 2015 06:06:45 +0000 (06:06 +0000)]
Merge "Reformat only KR numbers with leading "+82"." into mnc-dr-dev

8 years agoam 36a75d6a: Merge "Fixed a crash in the notification group manager" into mnc-dev
Selim Cinek [Wed, 2 Sep 2015 00:54:32 +0000 (00:54 +0000)]
am 36a75d6a: Merge "Fixed a crash in the notification group manager" into mnc-dev

* commit '36a75d6aefcddb91df7d513292d346f1f51ec702':
  Fixed a crash in the notification group manager

8 years agoam 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
Deepanshu Gupta [Wed, 2 Sep 2015 00:54:26 +0000 (00:54 +0000)]
am 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.

* commit '0c5fd7e3791f0b1a3a3b1c1ebe34f568155ba11f':
  LayoutLib: Fix typedArray caching.

8 years agoMerge "Only allow foreground app and keyguard to access FingerprintManager" into...
Jim Miller [Wed, 2 Sep 2015 00:32:11 +0000 (00:32 +0000)]
Merge "Only allow foreground app and keyguard to access FingerprintManager" into mnc-dr-dev

8 years agoMerge "Fixed a crash in the notification group manager" into mnc-dev
Selim Cinek [Wed, 2 Sep 2015 00:25:05 +0000 (00:25 +0000)]
Merge "Fixed a crash in the notification group manager" into mnc-dev

8 years agoam eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
Deepanshu Gupta [Wed, 2 Sep 2015 00:11:24 +0000 (00:11 +0000)]
am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.

* commit 'eb54172719db60740a0b8dde6380db54d4006159':
  LayoutLib: Fix typedArray caching.

8 years agoFixed a crash in the notification group manager
Selim Cinek [Wed, 2 Sep 2015 00:07:38 +0000 (17:07 -0700)]
Fixed a crash in the notification group manager

When 2 notifications were posted as the summary of the same
group, then the system would eventually crash.

Bug: 23676310
Change-Id: Ia8f95e624f3f43d1b55169dd8102e3c89427dc76

8 years agoam dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
Deepanshu Gupta [Tue, 1 Sep 2015 23:59:10 +0000 (23:59 +0000)]
am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.

* commit 'dd21212fa1a9c907d5d2f80f3de2413f6c14da7a':
  LayoutLib: Fix typedArray caching.

8 years agoOnly allow foreground app and keyguard to access FingerprintManager
Jim Miller [Tue, 1 Sep 2015 01:18:22 +0000 (18:18 -0700)]
Only allow foreground app and keyguard to access FingerprintManager

Fixes bug 21309357
Fixes bug 23566317

Change-Id: Ie776c36e2cc5c15a8789d76b604a9c7507efb605

8 years agoam eb26f5ce: LayoutLib: Fix typedArray caching.
Deepanshu Gupta [Tue, 1 Sep 2015 23:40:40 +0000 (23:40 +0000)]
am eb26f5ce: LayoutLib: Fix typedArray caching.

* commit 'eb26f5cecd5366b29b3cb746a7edaf3769f40480':
  LayoutLib: Fix typedArray caching.

8 years agoam cbacd4f0: Merge "Don\'t perform layout while adjusting displays/stacks state....
Filip Gruszczynski [Tue, 1 Sep 2015 23:33:58 +0000 (23:33 +0000)]
am cbacd4f0: Merge "Don\'t perform layout while adjusting displays/stacks state." into mnc-dev

* commit 'cbacd4f0cee10b63adf6e2d482e7b4f62c0104a0':
  Don't perform layout while adjusting displays/stacks state.

8 years agoam f50d4ce6: Merge "DO NOT MERGE: Fix DngCreator default crop calculations." into...
Eino-Ville Talvala [Tue, 1 Sep 2015 23:33:54 +0000 (23:33 +0000)]
am f50d4ce6: Merge "DO NOT MERGE: Fix DngCreator default crop calculations." into mnc-dev

* commit 'f50d4ce6d31c8401b36cbf07df75264bc417519d':
  DO NOT MERGE: Fix DngCreator default crop calculations.

8 years agoam 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev
Selim Cinek [Tue, 1 Sep 2015 23:33:50 +0000 (23:33 +0000)]
am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev

* commit '9a2d5742bd11c2a7a583d53b1ef1ad12d75e239e':
  Fixed when the notification effects are being cleared

8 years agoLayoutLib: Fix typedArray caching.
Deepanshu Gupta [Wed, 26 Aug 2015 18:54:50 +0000 (11:54 -0700)]
LayoutLib: Fix typedArray caching.

The typedArray depends on the current context (more specifically, the
themes set on the context). The fact was ignored in the caching of the
typedArray and caused the android:theme attribute to be ignored in
certain cases.

Change-Id: If095580919474f12c0eb4e1f8fb7f076cf3c4ed0

8 years agoMerge "Don't perform layout while adjusting displays/stacks state." into mnc-dev
Filip Gruszczynski [Tue, 1 Sep 2015 23:11:46 +0000 (23:11 +0000)]
Merge "Don't perform layout while adjusting displays/stacks state." into mnc-dev

8 years agoMerge "DO NOT MERGE: Fix DngCreator default crop calculations." into mnc-dev
Eino-Ville Talvala [Tue, 1 Sep 2015 23:06:17 +0000 (23:06 +0000)]
Merge "DO NOT MERGE: Fix DngCreator default crop calculations." into mnc-dev

8 years agoMerge "Fixed when the notification effects are being cleared" into mnc-dev
Selim Cinek [Tue, 1 Sep 2015 23:00:25 +0000 (23:00 +0000)]
Merge "Fixed when the notification effects are being cleared" into mnc-dev

8 years agoMerge "Fix broken enter key after failed PIN attempts." into mnc-dr-dev
Jim Miller [Tue, 1 Sep 2015 22:58:43 +0000 (22:58 +0000)]
Merge "Fix broken enter key after failed PIN attempts." into mnc-dr-dev

8 years agoMerge "Do not show roaming icon for NL KPN network with Telfort SIM" into mnc-dr-dev
Vineeta Srivastava [Tue, 1 Sep 2015 22:55:54 +0000 (22:55 +0000)]
Merge "Do not show roaming icon for NL KPN network with Telfort SIM" into mnc-dr-dev

8 years agoam fb9ec507: Incorrect app op check in broadcast queue
Svetoslav [Tue, 1 Sep 2015 22:39:46 +0000 (22:39 +0000)]
am fb9ec507: Incorrect app op check in broadcast queue

* commit 'fb9ec50795142c24b56dd28e45f5012b9b445380':
  Incorrect app op check in broadcast queue

8 years agoFix broken enter key after failed PIN attempts.
Jim Miller [Tue, 1 Sep 2015 22:21:55 +0000 (15:21 -0700)]
Fix broken enter key after failed PIN attempts.

Fixes bug 23699953

Change-Id: Id099443b830f5608c0bf955075c3407b401f3d53

8 years agoAdd SUPL-specific network bcast
Robert Greenwalt [Tue, 1 Sep 2015 15:23:04 +0000 (08:23 -0700)]
Add SUPL-specific network bcast

Move SUPL CONNECTIVITY_ACTION bcasts to a different, hidden intent
to reduce the churn of apps when SUPL comes/goes.

Short term hack until SUPL moves to use the new APIs and there's
no bcast.

bug:23350688
Change-Id: I3dc14b42afa72465260aa41ccedfe1df27baabd9

8 years agoIncorrect app op check in broadcast queue
Svetoslav [Tue, 1 Sep 2015 21:45:18 +0000 (14:45 -0700)]
Incorrect app op check in broadcast queue

An intent broadcaster can specify which permissions should be
held by a receiver to get the broadcast. These permissions may
have corresponding app ops and if this is the case we also
check the app ops. There is a bug in broadcast queue where if
a permission does not have an app op we still try to check this
app op and get an exception as the app op does not exist. This
did not manifest often because the broadcast API takes an
optional app op against which is compared the app op for each
permission and if they differ the app op for the permission is
checked.

bug:23725305

Change-Id: Iec56ee354bbc11e7bc245134cf3afd2c11eecbc4

8 years agoMerge "Enable migration to big cores for app launches." into mnc-dr-dev
Tim Murray [Tue, 1 Sep 2015 21:23:38 +0000 (21:23 +0000)]
Merge "Enable migration to big cores for app launches." into mnc-dr-dev

8 years agoAllow shell to disable keyguard when not secure
Tim Kilbourn [Tue, 1 Sep 2015 21:21:09 +0000 (14:21 -0700)]
Allow shell to disable keyguard when not secure

Bug: 22694837
Change-Id: I0f08048f617d064017468f331a5c6875ab27174b

8 years agoDO NOT MERGE: Fix DngCreator default crop calculations.
Ruben Brunk [Thu, 27 Aug 2015 21:00:03 +0000 (14:00 -0700)]
DO NOT MERGE: Fix DngCreator default crop calculations.

Bug: 23591407
Bug: 23697593
Change-Id: I1b0e46e7371b3db63e8d68230964d09d7537c3ce

8 years agoUse private action for SUPL related connectivity changes.
destradaa [Tue, 1 Sep 2015 19:30:56 +0000 (12:30 -0700)]
Use private action for SUPL related connectivity changes.

In order to prevent sendind a CONNECTIVITY_CHANGED broadcast for SUPL
connection changes, which can cause many apps to wake up, as a
work-around use a separate action.

Bug: 22729462
Change-Id: I9847603ae56ab90d0f230cdcdc046c710397a553

8 years agoDo not show roaming icon for NL KPN network with Telfort SIM
Sungmin Choi [Tue, 1 Sep 2015 18:13:33 +0000 (11:13 -0700)]
Do not show roaming icon for NL KPN network with Telfort SIM

Bug: 23707729
Change-Id: I9c27e814b652c1e3d3a1d75c0f4e51ed153ec3ae

8 years agoReformat only KR numbers with leading "+82".
Roshan Pius [Mon, 31 Aug 2015 20:04:14 +0000 (13:04 -0700)]
Reformat only KR numbers with leading "+82".

Looks like the phonenumber util can figure out the country code of a
phone number to format from the localization data even if it is not
explicitly present in the phone number string. So, adding an explicit
check to make sure that the country code(+82) was fetched from the
original number string which was the intention of the fix for
b/22862845.

BUG: 23661668
Change-Id: I26ba03d759e0ec35a195ba51bf60d09eff8de090

8 years agoFix Custom action mode menu item onclick is not working
Clara Bayarri [Tue, 1 Sep 2015 10:26:46 +0000 (11:26 +0100)]
Fix Custom action mode menu item onclick is not working

BUG: 23575152
Change-Id: I7c07a769bd03c2d756e04f16296f418e965a993f

8 years agoMerge "Don't launch the camera if it already in foreground." into mnc-dr-dev
Zhentao Sun [Tue, 1 Sep 2015 00:40:39 +0000 (00:40 +0000)]
Merge "Don't launch the camera if it already in foreground." into mnc-dr-dev

8 years agoAdd a private API to get notified about lockout resets
Jorim Jaggi [Fri, 28 Aug 2015 23:59:13 +0000 (16:59 -0700)]
Add a private API to get notified about lockout resets

SystemUI uses it to start authentication again after lockout reset
expired.

Bug: 22846755
Change-Id: I90a987c6aa4ac52cc7e7aff1bce262d1db3f12ee

8 years agoDon't perform layout while adjusting displays/stacks state.
Filip Gruszczynski [Mon, 31 Aug 2015 15:57:24 +0000 (08:57 -0700)]
Don't perform layout while adjusting displays/stacks state.

When we detach the stack from the display we are in an inconsistent
state. We need to finish that operation, before we start laying out
things again. Otherwise we will encounter subtle bugs, where stack is
partially closed, but still used during the layout.

Display detachment was already doing the right thing and scheduling a
layout after it finishes the display detach. However, removing the
stack's windows was triggering immediate relayout and causing a crash.

This CL also adds some missing synchronization around
WindowManagerService.mStackIdToStack, which is in most cases protected by
mWindowMap.

Bug: 22191609
Bug: 23615329
Change-Id: I1e2fc42e1a5b673be808acdec473f85f138d7062

8 years agoMerge "Save/restore errno in SIGCHLD handler." into mnc-dr-dev
Christopher Ferris [Tue, 1 Sep 2015 00:14:16 +0000 (00:14 +0000)]
Merge "Save/restore errno in SIGCHLD handler." into mnc-dr-dev

8 years agoSave/restore errno in SIGCHLD handler.
Christopher Ferris [Mon, 31 Aug 2015 22:40:01 +0000 (15:40 -0700)]
Save/restore errno in SIGCHLD handler.

The SIGCHLD handler can set the errno, which can change the errno found
on the thread on which the signal handler is invoked. Most of the time
this is harmless, but it's possible that if the main thread was making
a system call, and allows certain failures based on errno, that logic
can fail. The fix is to save/restore errno in the handler.

Bug: 23572286
Bug: 23689391
Change-Id: I4542fd60cc1398ce0a8902d8df98a3d089fb6efe

8 years agoFixed when the notification effects are being cleared
Selim Cinek [Mon, 31 Aug 2015 23:15:49 +0000 (16:15 -0700)]
Fixed when the notification effects are being cleared

Previously the notification effects were not correctly cleared in certain
cases and the user could end up in a state where the notification light would
always blink.

Bug: 22931139
Change-Id: I9a71e56cf4479354a9d773b5b6f0edd7693f2b05

8 years agoam e7078e18: Merge "Ensure host is set before onInflate()" into mnc-dev
Todd Kennedy [Mon, 31 Aug 2015 22:45:23 +0000 (22:45 +0000)]
am e7078e18: Merge "Ensure host is set before onInflate()" into mnc-dev

* commit 'e7078e181cd00d20ce7764efa9835e2604a3cb83':
  Ensure host is set before onInflate()

8 years agoam 627975fc: am 74890df7: (-s ours) am 3cb7e91f: am 199c74ea: Merge "DO NOT MERGE...
Bart Sears [Mon, 31 Aug 2015 22:45:19 +0000 (22:45 +0000)]
am 627975fc: am 74890df7: (-s ours) am 3cb7e91f: am 199c74ea: Merge "DO NOT MERGE. Truncate and ellipsize app name if too long for dialog." into lmp-mr1-dev

* commit '627975fca234bfc62d60904547ba3fb2ac675ec8':
  DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.

8 years agoam 7b7a3e75: am 0bafa33f: (-s ours) am 35c1eb9e: am 82b70db7: [DO NOT MERGE] Bump...
Tao Bao [Mon, 31 Aug 2015 22:45:15 +0000 (22:45 +0000)]
am 7b7a3e75: am 0bafa33f: (-s ours) am 35c1eb9e: am 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

* commit '7b7a3e75c3a107c139a7832c5a04cc0d01b7cd1f':
  [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

8 years agoMerge "Ensure host is set before onInflate()" into mnc-dev
Todd Kennedy [Mon, 31 Aug 2015 22:35:58 +0000 (22:35 +0000)]
Merge "Ensure host is set before onInflate()" into mnc-dev

8 years agoam 74890df7: (-s ours) am 3cb7e91f: am 199c74ea: Merge "DO NOT MERGE. Truncate and...
Bart Sears [Mon, 31 Aug 2015 22:32:22 +0000 (22:32 +0000)]
am 74890df7: (-s ours) am 3cb7e91f: am 199c74ea: Merge "DO NOT MERGE. Truncate and ellipsize app name if too long for dialog." into lmp-mr1-dev

* commit '74890df7267d1c203fdbc5e90052f723a3c89f3d':
  DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.

8 years agoam 0bafa33f: (-s ours) am 35c1eb9e: am 82b70db7: [DO NOT MERGE] Bump up the timeout...
Tao Bao [Mon, 31 Aug 2015 22:32:17 +0000 (22:32 +0000)]
am 0bafa33f: (-s ours) am 35c1eb9e: am 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

* commit '0bafa33fcdebeaf6bdfd36a3f75e461d630b86bc':
  [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

8 years agoam 3cb7e91f: am 199c74ea: Merge "DO NOT MERGE. Truncate and ellipsize app name if...
Bart Sears [Mon, 31 Aug 2015 22:20:06 +0000 (22:20 +0000)]
am 3cb7e91f: am 199c74ea: Merge "DO NOT MERGE. Truncate and ellipsize app name if too long for dialog." into lmp-mr1-dev

* commit '3cb7e91f2cd1fb29e6d0926e35f90647200c1af4':
  DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.

8 years agoam 35c1eb9e: am 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.
Tao Bao [Mon, 31 Aug 2015 22:19:58 +0000 (22:19 +0000)]
am 35c1eb9e: am 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

* commit '35c1eb9e6506b407a1af40359d48bb06d884385d':
  [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

8 years agoam 199c74ea: Merge "DO NOT MERGE. Truncate and ellipsize app name if too long for...
Bart Sears [Mon, 31 Aug 2015 22:03:48 +0000 (22:03 +0000)]
am 199c74ea: Merge "DO NOT MERGE. Truncate and ellipsize app name if too long for dialog." into lmp-mr1-dev

* commit '199c74eab1a30bff7db7bb4d24c161f36edb7f5b':
  DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.

8 years agoam 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.
Tao Bao [Mon, 31 Aug 2015 22:03:44 +0000 (22:03 +0000)]
am 82b70db7: [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

* commit '82b70db7dd906013d131737a5bec2ae59b41ae61':
  [DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

8 years agoMerge "DO NOT MERGE. Truncate and ellipsize app name if too long for dialog." into...
Bart Sears [Mon, 31 Aug 2015 21:53:46 +0000 (21:53 +0000)]
Merge "DO NOT MERGE. Truncate and ellipsize app name if too long for dialog." into lmp-mr1-dev

8 years ago[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.
Tao Bao [Sat, 29 Aug 2015 00:46:20 +0000 (17:46 -0700)]
[DO NOT MERGE] Bump up the timeout for uncrypt to 900s.

Bug: 23629892
Change-Id: I7b722f1b3f43a31dc82c55127c46df6123f14b5d

8 years agoEnsure host is set before onInflate()
Todd Kennedy [Mon, 31 Aug 2015 21:10:04 +0000 (14:10 -0700)]
Ensure host is set before onInflate()

Bug: 22512520
Change-Id: I70f3b3c3234d7015880e0b83ae13f6fbe218f19a

8 years agoMerge "Rename carrier config constant." into mnc-dr-dev
Tyler Gunn [Mon, 31 Aug 2015 21:01:19 +0000 (21:01 +0000)]
Merge "Rename carrier config constant." into mnc-dr-dev

8 years agoMerge "Fixed a bug where the secure camera would flash when rotated" into mnc-dr-dev
Selim Cinek [Mon, 31 Aug 2015 20:27:48 +0000 (20:27 +0000)]
Merge "Fixed a bug where the secure camera would flash when rotated" into mnc-dr-dev

8 years agoRename carrier config constant.
Tyler Gunn [Mon, 31 Aug 2015 20:15:27 +0000 (13:15 -0700)]
Rename carrier config constant.

Bug: 23063217
Change-Id: I0050f0009a7681df1b04edbbd9331bc2918464a2

8 years agoMerge "Disable fingerprint after force lock" into mnc-dr-dev
Adrian Roos [Mon, 31 Aug 2015 20:04:46 +0000 (20:04 +0000)]
Merge "Disable fingerprint after force lock" into mnc-dr-dev

8 years agoam 0e2e8589: Merge "Don\'t throttle "while idle" alarms while not dozing" into mnc-dev
Bart Sears [Mon, 31 Aug 2015 20:02:34 +0000 (20:02 +0000)]
am 0e2e8589: Merge "Don\'t throttle "while idle" alarms while not dozing" into mnc-dev

* commit '0e2e85898743a070a0c42036fa9d841694819a00':
  Don't throttle "while idle" alarms while not dozing

8 years agoMerge "Don't throttle "while idle" alarms while not dozing" into mnc-dev
Bart Sears [Mon, 31 Aug 2015 19:49:11 +0000 (19:49 +0000)]
Merge "Don't throttle "while idle" alarms while not dozing" into mnc-dev

8 years agoMerge "Add carrier config for allowing non-emerg calls in ECM mode." into mnc-dr-dev
Tyler Gunn [Mon, 31 Aug 2015 19:46:12 +0000 (19:46 +0000)]
Merge "Add carrier config for allowing non-emerg calls in ECM mode." into mnc-dr-dev

8 years agoMerge "BatteryStats: Start using cpu power from kernel" into mnc-dr-dev
Adam Lesinski [Mon, 31 Aug 2015 19:04:46 +0000 (19:04 +0000)]
Merge "BatteryStats: Start using cpu power from kernel" into mnc-dr-dev

8 years agoAdd carrier config for allowing non-emerg calls in ECM mode.
Tyler Gunn [Fri, 28 Aug 2015 21:14:11 +0000 (14:14 -0700)]
Add carrier config for allowing non-emerg calls in ECM mode.

Default value is TRUE for all carriers, meaning that non-emergency calls
are allowed even when the phone is in emergency callback mode.

Bug: 23063217
Change-Id: I4a227ce64a1e594a055560f42c7611c8eccdae0f

8 years agoAdd TDSCDMA family
Sungmin Choi [Wed, 15 Jul 2015 06:17:01 +0000 (15:17 +0900)]
Add TDSCDMA family

Bug: 22639018
Change-Id: I7a65337838ef3dfa24ce8b59564ec831c5cb5094

8 years agoTelephony: Add TD-SCDMA SignalStrength
Sungmin Choi [Wed, 26 Aug 2015 18:05:46 +0000 (11:05 -0700)]
Telephony: Add TD-SCDMA SignalStrength

Bug: 22639018
Change-Id: I0381e18fb65807c88290df1f2333b2636f0b0c18

8 years agoam 4cb113ed: Merge "Fix a NPE when shutting down instrumentation" into mnc-dev
Svetoslav Ganov [Mon, 31 Aug 2015 17:22:53 +0000 (17:22 +0000)]
am 4cb113ed: Merge "Fix a NPE when shutting down instrumentation" into mnc-dev

* commit '4cb113ed72b771d3148c00a025eb8bc949ff6a41':
  Fix a NPE when shutting down instrumentation

8 years agoMerge "Fix a NPE when shutting down instrumentation" into mnc-dev
Svetoslav Ganov [Mon, 31 Aug 2015 17:16:23 +0000 (17:16 +0000)]
Merge "Fix a NPE when shutting down instrumentation" into mnc-dev

8 years agoFix a NPE when shutting down instrumentation
Svet Ganov [Sun, 30 Aug 2015 17:44:39 +0000 (10:44 -0700)]
Fix a NPE when shutting down instrumentation

bug:23657953

Change-Id: I7187c3d911de24abe20a2c462a10352dd741efed

8 years agoMerge "Support uneditable enhanced 4g lte mode config" into mnc-dr-dev
Pavel Zhamaitsiak [Sat, 29 Aug 2015 15:40:05 +0000 (15:40 +0000)]
Merge "Support uneditable enhanced 4g lte mode config" into mnc-dr-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 29 Aug 2015 15:37:22 +0000 (08:37 -0700)]
Import translations. DO NOT MERGE

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