201062 Commits

Author SHA1 Message Date
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
Pavel Zhamaitsiak
0f1ddb586b IMS: Fix registrationFeatureCapabilityChanged declaration in AIDL
Two arrays are passed from caller (in this case IMS service
implementation) to listener (in this case client of ImsManager).
Listener is not modifying arrays and caller is not expecting
data to be returned back.

Bug: 23749309
Change-Id: I6231cfd16852acfca88ee43e8538b2440058d774
2015-09-02 11:01:34 -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
Tim Kilbourn
ee72f99dd1 Merge "Allow shell to disable keyguard when not secure" into mnc-dev 2015-09-02 17:28:08 +00:00
Clara Bayarri
01232c508e am 582b186c: am f7b220ab: Merge "Fix Custom action mode menu item onclick is not working" into mnc-dev
* commit '582b186cd3b41c5c67649ae2ba9176c3860ab1ec':
  Fix Custom action mode menu item onclick is not working
2015-09-02 10:10:47 +00:00
Clara Bayarri
582b186cd3 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
2015-09-02 09:59:36 +00:00
Clara Bayarri
f7b220ab9f Merge "Fix Custom action mode menu item onclick is not working" into mnc-dev 2015-09-02 09:31:06 +00:00
Vineeta Srivastava
9edfb36a4b am dd124802: Merge "set config_use_sim_language_file false for KR LGU+/KT" into mnc-dr-dev
* commit 'dd124802a7220a813aeb5afe1b1d6ef1cb7277e2':
  set config_use_sim_language_file false for KR LGU+/KT
2015-09-02 07:39:09 +00:00
Vineeta Srivastava
dd124802a7 Merge "set config_use_sim_language_file false for KR LGU+/KT" into mnc-dr-dev 2015-09-02 07:29:33 +00:00
Joshua Schwarz
258a7cd95e Merge "Use LOCAL_MAC_ADDRESS permission in bluetoothtests." into cw-e-dev 2015-09-02 07:27:39 +00:00
Hyejin
85ca8141f5 set config_use_sim_language_file false for KR LGU+/KT
BUG=23611386
Change-Id: Ifb635ccab9994f0bc2c0a75b539f29d71111b1ed
2015-09-01 23:43:13 -07:00
Roshan Pius
8750f04a73 am a14e9001: Merge "Reformat only KR numbers with leading "+82"." into mnc-dr-dev
* commit 'a14e900181aa03daa760e3ba6eb1e7e00d438305':
  Reformat only KR numbers with leading "+82".
2015-09-02 06:12:56 +00:00
Roshan Pius
a14e900181 Merge "Reformat only KR numbers with leading "+82"." into mnc-dr-dev 2015-09-02 06:06:45 +00:00
Selim Cinek
9e30e20233 am 2af5010a: am 36a75d6a: Merge "Fixed a crash in the notification group manager" into mnc-dev
* commit '2af5010a6793d27eda86432f1ec3ebbe92e1d99e':
  Fixed a crash in the notification group manager
2015-09-02 01:08:38 +00:00
Deepanshu Gupta
7209945fd3 am 0e150a8b: am 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
* commit '0e150a8b947f657a5875382bd65f37b5a07c0f79':
  LayoutLib: Fix typedArray caching.
2015-09-02 01:08:34 +00:00
Joshua Schwarz
12fa3d1909 Use LOCAL_MAC_ADDRESS permission in bluetoothtests.
Change-Id: If2b0797a4bc526e1fdb058d83d4d2bc676875cee
2015-09-01 18:03:18 -07:00
Selim Cinek
2af5010a67 am 36a75d6a: Merge "Fixed a crash in the notification group manager" into mnc-dev
* commit '36a75d6aefcddb91df7d513292d346f1f51ec702':
  Fixed a crash in the notification group manager
2015-09-02 00:54:32 +00:00
Deepanshu Gupta
0e150a8b94 am 0c5fd7e3: am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
* commit '0c5fd7e3791f0b1a3a3b1c1ebe34f568155ba11f':
  LayoutLib: Fix typedArray caching.
2015-09-02 00:54:26 +00:00
Jim Miller
4f7d5dcd66 am be342fc3: Merge "Only allow foreground app and keyguard to access FingerprintManager" into mnc-dr-dev
* commit 'be342fc3c7a21bf22901255ed489a90c00f8bd93':
  Only allow foreground app and keyguard to access FingerprintManager
2015-09-02 00:40:40 +00:00
Jim Miller
be342fc3c7 Merge "Only allow foreground app and keyguard to access FingerprintManager" into mnc-dr-dev 2015-09-02 00:32:11 +00:00
Selim Cinek
36a75d6aef Merge "Fixed a crash in the notification group manager" into mnc-dev 2015-09-02 00:25:05 +00:00
Deepanshu Gupta
0c5fd7e379 am eb541727: am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
* commit 'eb54172719db60740a0b8dde6380db54d4006159':
  LayoutLib: Fix typedArray caching.
2015-09-02 00:11:24 +00:00
Selim Cinek
0b4aeab281 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
2015-09-02 00:10:45 +00:00
Deepanshu Gupta
eb54172719 am dd21212f: am eb26f5ce: LayoutLib: Fix typedArray caching.
* commit 'dd21212fa1a9c907d5d2f80f3de2413f6c14da7a':
  LayoutLib: Fix typedArray caching.
2015-09-01 23:59:10 +00:00
Jim Miller
975f145c01 Only allow foreground app and keyguard to access FingerprintManager
Fixes bug 21309357
Fixes bug 23566317

Change-Id: Ie776c36e2cc5c15a8789d76b604a9c7507efb605
2015-09-01 16:57:36 -07:00
Filip Gruszczynski
dbf8c0d926 am 991e4936: am cbacd4f0: Merge "Don\'t perform layout while adjusting displays/stacks state." into mnc-dev
* commit '991e493616a644b6bb7fdea9a99990520d77348a':
  Don't perform layout while adjusting displays/stacks state.
2015-09-01 23:49:41 +00:00
Eino-Ville Talvala
7f2b4b6a63 am 7e28b3bc: am f50d4ce6: Merge "DO NOT MERGE: Fix DngCreator default crop calculations." into mnc-dev
* commit '7e28b3bced7d6963114f667fc2ec0a13ff64607d':
  DO NOT MERGE: Fix DngCreator default crop calculations.
2015-09-01 23:49:37 +00:00
Selim Cinek
3e64c75f33 am 146dc265: am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev
* commit '146dc26511a9a1b82bf62d679b9cae6e8966241f':
  Fixed when the notification effects are being cleared
2015-09-01 23:49:33 +00:00
Deepanshu Gupta
dd21212fa1 am eb26f5ce: LayoutLib: Fix typedArray caching.
* commit 'eb26f5cecd5366b29b3cb746a7edaf3769f40480':
  LayoutLib: Fix typedArray caching.
2015-09-01 23:40:40 +00:00
Filip Gruszczynski
991e493616 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.
2015-09-01 23:33:58 +00:00
Eino-Ville Talvala
7e28b3bced am f50d4ce6: Merge "DO NOT MERGE: Fix DngCreator default crop calculations." into mnc-dev
* commit 'f50d4ce6d31c8401b36cbf07df75264bc417519d':
  DO NOT MERGE: Fix DngCreator default crop calculations.
2015-09-01 23:33:54 +00:00
Selim Cinek
146dc26511 am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev
* commit '9a2d5742bd11c2a7a583d53b1ef1ad12d75e239e':
  Fixed when the notification effects are being cleared
2015-09-01 23:33:50 +00:00
Deepanshu Gupta
eb26f5cecd 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
2015-09-01 23:17:56 +00:00