201040 Commits

Author SHA1 Message Date
Joe LaPenna
acddf2b349 Do not wtf when the systemui is not present.
Not all devices, like wearables actually have a system ui.

BUG: 23822226

Change-Id: Ibc2d6c3b8db1de668b9cbced3efcec5a7a39f20b
2015-09-04 12:53:51 -07:00
Andre Eisenbach
1b03cd8e1b am 1d5e2e29: Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev
* commit '1d5e2e291d4c3fbcde1425af74644a24c94e1577':
  Bluetooth: Fix profile auto-connect logic
2015-09-04 00:12:33 +00:00
Andre Eisenbach
1d5e2e291d Merge "Bluetooth: Fix profile auto-connect logic" into mnc-dr-dev 2015-09-04 00:02:57 +00:00
Andre Eisenbach
7be83c578c 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
2015-09-03 15:20:09 -07:00
Dan Stoza
f615872cb4 am 0b887e57: Merge "SurfaceControl: Add colorTransform to DisplayInfo" into mnc-dr-dev
* commit '0b887e579b766012c09626e7089a3fade5415ee6':
  SurfaceControl: Add colorTransform to DisplayInfo
2015-09-03 22:03:08 +00:00
Dan Stoza
0b887e579b Merge "SurfaceControl: Add colorTransform to DisplayInfo" into mnc-dr-dev 2015-09-03 21:55:36 +00:00
Amit Mahajan
2f142ab077 am 8a670f1d: Merge changes from topic \'TDSCDMA support\' into mnc-dr-dev
* commit '8a670f1da434c4720b08dbb62c635316e593b9b3':
  Add TDSCDMA family
  Telephony: Add TD-SCDMA SignalStrength
2015-09-03 21:39:52 +00:00
Amit Mahajan
8a670f1da4 Merge changes from topic 'TDSCDMA support' into mnc-dr-dev
* changes:
  Add TDSCDMA family
  Telephony: Add TD-SCDMA SignalStrength
2015-09-03 21:24:46 +00:00
Sharvil Nanavati
16db410182 Merge "DO NOT MERGE Add 'bluetooth' user to the 'system' group." into cw-e-dev 2015-09-03 21:02:43 +00:00
Dan Stoza
904f485bc6 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
2015-09-03 13:38:39 -07:00
Adrian Roos
bd2ad550c5 am 34411e8f: Merge "Don\'t disable fingerprint when entering wrong credential" into mnc-dr-dev
* commit '34411e8fecab310a0402bd77e8fe5a5a488a783a':
  Don't disable fingerprint when entering wrong credential
2015-09-03 19:46:45 +00:00
Adrian Roos
54ceea195b am 95200e6f: Merge "Poke fingerprint timeout when vold password is correct" into mnc-dr-dev
* commit '95200e6f4eb34818ac0b652167cffacfcfb4fdff':
  Poke fingerprint timeout when vold password is correct
2015-09-03 19:46:41 +00:00
Adrian Roos
34411e8fec Merge "Don't disable fingerprint when entering wrong credential" into mnc-dr-dev 2015-09-03 19:42:39 +00:00
Adrian Roos
95200e6f4e Merge "Poke fingerprint timeout when vold password is correct" into mnc-dr-dev 2015-09-03 19:41:22 +00:00
Adrian Roos
af4ab3e2d3 Don't disable fingerprint when entering wrong credential
Bug: 23748205
Change-Id: I0ee2a0562d5ef2992a6a4b40d235601b19dcef16
2015-09-03 12:34:12 -07:00
Adrian Roos
f6d51acec6 Poke fingerprint timeout when vold password is correct
Bug: 23718313
Change-Id: I6c88fbba9ae460594b8e2f1a77c6545b305e5813
2015-09-03 12:34:11 -07:00
Adrian Roos
b90f1de216 am 1b5cc3a4: Merge "Show face unlock even when fingerprint is running" into mnc-dr-dev
* commit '1b5cc3a4ba46029b798adb9e362d87df5673bc52':
  Show face unlock even when fingerprint is running
2015-09-03 19:08:53 +00:00
Adrian Roos
1b5cc3a4ba Merge "Show face unlock even when fingerprint is running" into mnc-dr-dev 2015-09-03 18:59:37 +00:00
Ian Pedowitz
cb92577aa6 am 7d223aee: am 0a76afb9: Merge "Don\'t crash on (invalid) hardware address lengths > 127." into mnc-dev
* commit '7d223aeef8c9108210e0d13e9458b4d701781ee0':
  Don't crash on (invalid) hardware address lengths > 127.
2015-09-03 18:14:49 +00:00
Svetoslav Ganov
a5cd5d8756 am 0b5162c8: am 6dd856b1: Merge "Don\'t drop runtime permissions on older system app update." into mnc-dev
* commit '0b5162c85f01f8451120e7ad82aa7193850862f7':
  Don't drop runtime permissions on older system app update.
2015-09-03 18:14:17 +00:00
Wale Ogunwale
1942f8a72d am d4ef34ce: am 512141d5: Merge "Respect DONT_KILL_APP flag when bringing down a disabled service." into mnc-dev
* commit 'd4ef34ce8d9cfb351e1a063ce2ff354ee0b9c13b':
  Respect DONT_KILL_APP flag when bringing down a disabled service.
2015-09-03 18:14:13 +00:00
Ian Pedowitz
7d223aeef8 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.
2015-09-03 17:34:50 +00:00
Ian Pedowitz
0a76afb93e Merge "Don't crash on (invalid) hardware address lengths > 127." into mnc-dev 2015-09-03 17:22:21 +00:00
Svetoslav Ganov
0b5162c85f 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.
2015-09-03 17:17:46 +00:00
Wale Ogunwale
d4ef34ce8d 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.
2015-09-03 17:17:42 +00:00
Svetoslav Ganov
6dd856b1ea Merge "Don't drop runtime permissions on older system app update." into mnc-dev 2015-09-03 17:08:57 +00:00
Wale Ogunwale
512141d581 Merge "Respect DONT_KILL_APP flag when bringing down a disabled service." into mnc-dev 2015-09-03 17:06:03 +00:00
Michael Wright
59c1a0e1cb am 8ae90587: Merge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev
* commit '8ae90587a510f72a176119b1f23add8bc36285b9':
  Add TabletModeChangedListener for SystemUI.
2015-09-03 14:10:05 +00:00
Michael Wright
8ae90587a5 Merge "Add TabletModeChangedListener for SystemUI." into mnc-dr-dev 2015-09-03 14:00:52 +00:00
Lorenzo Colitti
d64144a37c 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
2015-09-03 21:28:48 +09:00
Adrian Roos
e07cbaf53c Show face unlock even when fingerprint is running
Bug: 23318158
Change-Id: I02b085297c2546c814d97d725d18beba79568b33
2015-09-02 16:26:34 -07:00
Jim Miller
f873f9ab6e am bd5b61c4: Merge "Fingerprint should throttle after 5 attempts" into mnc-dr-dev
* commit 'bd5b61c489fb0543c8db29030e57189c273010eb':
  Fingerprint should throttle after 5 attempts
2015-09-02 23:19:26 +00:00
Jim Miller
bd5b61c489 Merge "Fingerprint should throttle after 5 attempts" into mnc-dr-dev 2015-09-02 23:07:58 +00:00
Jim Miller
73633ddbcf Fingerprint should throttle after 5 attempts
Fixes bug 23762058

Change-Id: I62665dd3097b8e71075a5eddbf34a551db1507d5
2015-09-02 15:35:33 -07:00
Daniel Estrada Alva
1afe952ca1 am 90738c2a: Merge "Use private action for SUPL related connectivity changes." into mnc-dr-dev
* commit '90738c2a7e85cd07ac2cf3ab61246b7745c8fb80':
  Use private action for SUPL related connectivity changes.
2015-09-02 22:13:10 +00:00
Daniel Estrada Alva
90738c2a7e Merge "Use private action for SUPL related connectivity changes." into mnc-dr-dev 2015-09-02 22:04:30 +00:00
Wale Ogunwale
2cb2dd40d6 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
2015-09-02 14:53:29 -07:00
Daniel Estrada Alva
967c8816e5 am cfd45ae4: Merge "Add SUPL-specific network bcast" into mnc-dr-dev
* commit 'cfd45ae4718934d403a17410ab6a7c722bdd01fc':
  Add SUPL-specific network bcast
2015-09-02 21:11:38 +00:00
Christopher Tate
623def69ef am 7bae31f8: am 60aae166: Apply default link-handling policy at OTA from pre-M
* commit '7bae31f88f8dcaf8114d9d43b29e154bc23374ad':
  Apply default link-handling policy at OTA from pre-M
2015-09-02 21:11:34 +00:00
Daniel Estrada Alva
cfd45ae471 Merge "Add SUPL-specific network bcast" into mnc-dr-dev 2015-09-02 21:04:19 +00:00
Christopher Tate
7bae31f88f am 60aae166: Apply default link-handling policy at OTA from pre-M
* commit '60aae166e99dff0dba379e14c0fc43e89fd1a018':
  Apply default link-handling policy at OTA from pre-M
2015-09-02 20:57:28 +00:00
Jorim Jaggi
ac2b543be6 am 304e3772: Merge "Fix wrong mode for fingerprint unlock when bouncer not showing" into mnc-dr-dev
* commit '304e3772273cd39ae55fbdc1c453d8fa50258670':
  Fix wrong mode for fingerprint unlock when bouncer not showing
2015-09-02 20:54:42 +00:00
Svetoslav
6499a85a30 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
2015-09-02 13:53:08 -07:00
Jorim Jaggi
304e377227 Merge "Fix wrong mode for fingerprint unlock when bouncer not showing" into mnc-dr-dev 2015-09-02 20:43:04 +00:00
Christopher Tate
60aae166e9 Apply default link-handling policy at OTA from pre-M
Not just at first (wiped) boot.

Bug 23744303

Change-Id: I9ab42f7b081e92231d89b3c97935135c3dd901d4
2015-09-02 13:01:52 -07:00
Joe LaPenna
93e6673856 Enable debugging for device idle in wear branch DO NOT MERGE ANYWHERE
BUG: 23753686

Change-Id: Ie28631a3abc68001a82a8324054c4480508d930f
2015-09-02 18:56:37 +00:00
Jorim Jaggi
bf04cf51e6 Fix wrong mode for fingerprint unlock when bouncer not showing
Bug: 23748205
Change-Id: I4c751fcbb99d1f409a1433309e795addf1a2232c
2015-09-02 11:53:02 -07:00
Joe LaPenna
23d681bb90 Device Idle: Android wear support
- Provide config param: autoPowerModeThresholdAngle allowing us to
  adjust the tilt threshold on a per-device basis.
- Provide config param: autoPowerModePrefetchLocation allowing us to
  skip location prefectching on a per-device basis.
- Provide config param: autoPowerModeAnyMotionSensor allowing us to
  use a device-specific sensor on to detect additional types of movement
  that would trigger exiting device idle.
- PRovide config param: autoPowerModePreferWristTilt allows us to use
  the wrist tilt detector in lieu of the SMD if an anymotion sensor
isn't specified.
- Allow DeviceIdleController to use wrist tilt sensors if the device provides
  one.
- Use wrist tilt or SMD when an "any motion" sensor isn't available.
- Fix bugs where DeviceIdleController would crash on devices that did
  not have a location and/or gps provider (some android wear devices).

BUG: 22661021

Change-Id: Ib9f7cdf8f16483ba8f466b7b5c97bdf0494ba228
2015-09-02 11:37:48 -07:00
Tim Kilbourn
38ae119688 am 7cd6aaaf: am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
* commit '7cd6aaafda35509607e945fcadc4a556f75ed23b':
  Allow shell to disable keyguard when not secure
2015-09-02 17:48:28 +00:00
Tim Kilbourn
7cd6aaafda am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
* commit 'ee72f99dd14c8e531cd1a114d162a49636e7b809':
  Allow shell to disable keyguard when not secure
2015-09-02 17:40:36 +00:00