199831 Commits

Author SHA1 Message Date
Adrian Roos
781953123e Merge "Disable fingerprint after force lock" into mnc-dr-dev 2015-08-31 20:04:46 +00:00
Bart Sears
06fb3b2da8 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
2015-08-31 20:02:34 +00:00
Bart Sears
0e2e858987 Merge "Don't throttle "while idle" alarms while not dozing" into mnc-dev 2015-08-31 19:49:11 +00:00
Tyler Gunn
d833cb5453 Merge "Add carrier config for allowing non-emerg calls in ECM mode." into mnc-dr-dev 2015-08-31 19:46:12 +00:00
Adam Lesinski
da43a3aaca Merge "BatteryStats: Start using cpu power from kernel" into mnc-dr-dev 2015-08-31 19:04:46 +00:00
Tyler Gunn
387ce2fb81 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
2015-08-31 17:46:54 +00:00
Svetoslav Ganov
144c4ff08a am 4cb113ed: Merge "Fix a NPE when shutting down instrumentation" into mnc-dev
* commit '4cb113ed72b771d3148c00a025eb8bc949ff6a41':
  Fix a NPE when shutting down instrumentation
2015-08-31 17:22:53 +00:00
Svetoslav Ganov
4cb113ed72 Merge "Fix a NPE when shutting down instrumentation" into mnc-dev 2015-08-31 17:16:23 +00:00
Svet Ganov
a95f468d1f Fix a NPE when shutting down instrumentation
bug:23657953

Change-Id: I7187c3d911de24abe20a2c462a10352dd741efed
2015-08-30 11:00:31 -07:00
Pavel Zhamaitsiak
d9efca994f Merge "Support uneditable enhanced 4g lte mode config" into mnc-dr-dev 2015-08-29 15:40:05 +00:00
Geoff Mendal
469fa94613 Import translations. DO NOT MERGE
Change-Id: I770ccd06cea0e57fa92434a33e4e183d79010921
Auto-generated-cl: translation import
2015-08-29 08:37:22 -07:00
Jim Miller
3656975ef8 Merge "Run callbacks from fingerprintd through handler." into mnc-dr-dev 2015-08-29 01:14:45 +00:00
Jim Miller
8b3c25a34a Run callbacks from fingerprintd through handler.
This fixes a potential race condition on the client monitors
where an async event from fingerprintd could change the state
and disrupt communication with the clients.

Fixes bug 23633702

Change-Id: I69635ab768f1e8abefd0b0d8b8e73bb81e7b5695
2015-08-29 01:12:46 +00:00
Zhentao Sun
04f974082e Don't launch the camera if it already in foreground.
b/23431496. This change will not launch the Intent if the target app of
this Intent is already running in the foreground.

Change-Id: Ic8c99cf3312a2ead12dbdb94825181aed934e9f0
2015-08-28 17:43:46 -07:00
Sungmin Choi
8d2826bee2 Support uneditable enhanced 4g lte mode config
Bug: 23539759
Change-Id: I069d994eaef2f57c3d01ff2f36abcd274da431a5
2015-08-29 00:38:56 +00:00
Ian Pedowitz
8d027e6d52 am 3c227bf2: Merge "Show the ResolverActivity in dock mode" into mnc-dev
* commit '3c227bf2418c6d1b6831f0fa7ad0442b0fcbdc07':
  Show the ResolverActivity in dock mode
2015-08-29 00:31:29 +00:00
Ian Pedowitz
3c227bf241 Merge "Show the ResolverActivity in dock mode" into mnc-dev 2015-08-29 00:20:27 +00:00
Selim Cinek
90b5e07c70 Fixed a bug where the secure camera would flash when rotated
Bug: 23602571
Change-Id: I9608a004d97ad27a0f4c6da8e9d955dc644b4941
2015-08-28 17:05:56 -07:00
Adrian Roos
0cb50efdc2 Disable fingerprint after force lock
Bug: 23275072
Change-Id: Icaeffaa1fa22a4a800ddf0f38105099557c74317
2015-08-28 23:54:43 +00:00
Selim Cinek
e774bdd6f0 Merge "Added animation for trusted to fingerprint error" into mnc-dr-dev 2015-08-28 23:09:19 +00:00
Jorim Jaggi
acace94c17 Fix race condition by guarding callbacks
Bug: 23587553
Change-Id: Ia71760013f3acbb5aeb4e30bb716683c9c672742
2015-08-28 22:08:03 +00:00
Ruben Brunk
96990d0cdd Merge "Fix DngCreator default crop calculations." into mnc-dr-dev 2015-08-28 21:42:26 +00:00
Robert Greenwalt
5799f42806 am e3bcde94: Merge "Reduce CONNECTIVITY_CHANGE bcasts" into mnc-dev
* commit 'e3bcde94caf8440d5e3958a340b3d276d03f7691':
  Reduce CONNECTIVITY_CHANGE bcasts
2015-08-28 21:36:39 +00:00
Robert Greenwalt
e3bcde94ca Merge "Reduce CONNECTIVITY_CHANGE bcasts" into mnc-dev 2015-08-28 21:27:22 +00:00
Jorim Jaggi
b774e554f3 Optimize fp touch to wake: Shortcut for report next draw
When telling window manager that Keyguard window is in the correct
state for a fp-touch-to-wake sequence, it takes more than 1 frame at
the moment because the signal that WM is waiting for the next draw
is delayed by one frame because it is posted at the end of the
runnable queue.

To correctly fix this, we should post it at the beginning at the
queue, but this is way too risky this late. Instead, add a isolated
SysUI hack to report it faster.

Bug: 23401557
Change-Id: Icf64101e27611c7c01d108123021b22186f1e70c
2015-08-28 20:07:35 +00:00
Chris Tate
9b2f9bcb56 am 82d14d60: Merge "Crashing the system process is inadvisable" into mnc-dev
* commit '82d14d60e7a772ecf45b637fd51a2335ad2a40cf':
  Crashing the system process is inadvisable
2015-08-28 19:58:35 +00:00
Chong Zhang
482635e34d Merge "Fix deadlock when updating rotation" into mnc-dr-dev 2015-08-28 19:57:57 +00:00
Chris Tate
82d14d60e7 Merge "Crashing the system process is inadvisable" into mnc-dev 2015-08-28 19:48:38 +00:00
Robert Greenwalt
74ab4fae90 Reduce CONNECTIVITY_CHANGE bcasts
If an app uses the new api (requestNetwork) to bring up MMS, don't
mark it as a legacy request.  This was done because the messaging
service had to use a combination of new API and old
(requestRouteToHost) due to api problems.  This has been resolved
so don't mark these as legacy requests anymore.

The general stuff is still in for other types due to lack of testing
time but this should be removed altogether in the future.

bug:23350688
Change-Id: I41c27efb253c39d8af1357ae7916ed5315c716db
2015-08-28 12:37:54 -07:00
Jeff Sharkey
71f1579190 am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit 'd88152b4d910fa5e79908dcb6f14cd56ad03b21a':
  Give shell permission to move apps.
2015-08-28 19:36:31 +00:00
Jeff Sharkey
d88152b4d9 Merge "Give shell permission to move apps." into mnc-dev 2015-08-28 19:30:31 +00:00
Selim Cinek
c384198529 Added animation for trusted to fingerprint error
Bug: 21781452
Change-Id: Ib3b229c9ebece926a68a0c6a69341d0f68166698
2015-08-28 11:51:46 -07:00
Jeff Sharkey
e515c6495d Give shell permission to move apps.
Also clear identity when measuring ASEC sizes to relax a second
permission requirement.

Bug: 23600574
Change-Id: Ib3a104426758e0e8f35dff0e504fe874bed7311f
2015-08-28 11:50:22 -07:00
Ruben Brunk
a4ff47ced1 Fix DngCreator default crop calculations.
Bug: 23591407
Change-Id: I1b0e46e7371b3db63e8d68230964d09d7537c3ce
2015-08-28 11:35:42 -07:00
David Friedman
8b403e8cb1 am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '3ab2e66424d6e8faabd4342da21f488f7e3bfdb5':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 18:30:34 +00:00
David Friedman
144020c9ff am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit '02e5b0f2ffa54c67fe5ac8229ac7e6268a8519c6':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 18:30:30 +00:00
David Friedman
3ab2e66424 Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev 2015-08-28 18:22:16 +00:00
Michael Wright
78056370fa DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.
If the given app name is too long for the permissions dialog, then
it can push the warning that the application will be able to record
the screen below the fold, letting the app basically set its own
dialog message in a way that a user would be difficult to detect as
fraudulant.

Bug: 23345192
Change-Id: If5881ca75d5c155ef5174351d245dbc3abdaa584
2015-08-28 19:05:58 +01:00
Christopher Tate
0d446c18dc Crashing the system process is inadvisable
When asking for the set of services published by a package, it's
quite possible that there are none, in which case the returned List<>
is null rather than valid-but-empty.  Don't bother looking at it
when it's null.

Bug 23614440

Change-Id: Ibebb26b9c3f75ec810a95f1b9d2663e884cb98bc
2015-08-28 10:59:25 -07:00
Tim Murray
a326a116f7 Enable migration to big cores for app launches.
Uses cpusets to move all foreground tasks to the big cores in order
to improve overall app launch latency. Big cores will be used for
three seconds, and then the cpuset assignment is reset, allowing
foreground tasks to fall back to the little cores as appropriate.

Associated system/core and device/* changes in order to enable
the boost cpuset and configure it per-device.

bug 21915482

Change-Id: Id8a0efcb31950c1988f20273ac01c89c8c948eaf
2015-08-28 10:43:40 -07:00
Chong Zhang
5aaa0b3880 Fix deadlock when updating rotation
Post a runnable in MyOrientationListener.onProposedRotationChanged for
the updateRotation() so that it doesn't acquire WM lock while holding
WindowOrientationListener lock. It could cause deadlock if WM is
is performing a relayout and try to access WindowOrientationListener.

bug: 23507268
Change-Id: I5775f5a13cae0283fef64877801bf8a39dfc90a4
2015-08-28 10:29:07 -07:00
Anatol Pomazau
34c0882898 Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev 2015-08-28 15:21:38 +00:00
destradaa
a1c8a6b0e3 Fix NPE in AR hardware binding sequence.
b/22772433

To keep the old Watcher binding sequence backwards compatible,
it is required to ensure that the callback is only invoked if
the feature is supported by the platform, and an instance is
available.

Change-Id: I0a6335f10647184abdad3ee1583b505160a3308f
2015-08-27 18:12:04 -07:00
David Friedman
02e5b0f2ff Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
Change-Id: I78cf665fcf9a99aa579eda455ec34987328df445
2015-08-27 17:59:44 -07:00
Ashish Sharma
ffa3d0408f am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit '3883e72aeda7dcc5f76eba7ad2e95ad2cb041687':
  BatteryStats: Bump checkin version
2015-08-27 23:28:22 +00:00
Ashish Sharma
3883e72aed Merge "BatteryStats: Bump checkin version" into mnc-dev 2015-08-27 23:21:16 +00:00
Christopher Tate
175c22e201 Show the ResolverActivity in dock mode
If there are multiple dock apps present the end result should be
the disambiguation UI, not a fast-forward to the 'normal' home
app.

Bug 23501598

Change-Id: Iebc106b136cb1e446d1e93935738335504f5b812
2015-08-27 16:16:41 -07:00
Christopher Tate
aa244dafed Don't throttle "while idle" alarms while not dozing
Specifically, reduce the non-doze "while idle" minimum interval to
be the same as the generally-enforced minimum futurity of new alarms.

Bug 21602742

Change-Id: I044deaedc2daeff5d6f418f0fe091fea85f73fcf
2015-08-27 15:59:54 -07:00
David Friedman
1864bf13d4 Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
Change-Id: I031bfbec9673699ef3f8680612b67dcb143882e7
2015-08-27 15:43:04 -07:00
Ajay Panicker
c07701f276 am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit '3e5b01185c08c46b80c395ca1f9c93e45cd98ba5':
  Add StateMachine.removeDeferredMessages()
2015-08-27 19:33:31 +00:00