204598 Commits

Author SHA1 Message Date
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
Jeff Sharkey
90023609cf am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit '71f1579190ee3658db15f55a4e5571f03ce431b6':
  Give shell permission to move apps.
2015-08-28 19:48:26 +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
David Friedman
1367b508f0 am 65d43856: am 8b403e8c: am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '65d438563a16ae4bfaeedb8bac7ec5484fbff11c':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 18:50:06 +00:00
David Friedman
d4f02f0b2d am eeaf35cd: am 144020c9: am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit 'eeaf35cd07a93aa03676a1e99cdf3bc8108ccae5':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 18:50:00 +00:00
David Friedman
65d438563a am 8b403e8c: am 3ab2e664: Merge "Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3." into mnc-dev
* commit '8b403e8cb1bc6bfa2e9ba627f5c48d1a0bc65738':
  Docs: Localized DAC landing pages for M Preview, updated for Dev Prev 3.
2015-08-28 18:41:08 +00:00
David Friedman
eeaf35cd07 am 144020c9: am 02e5b0f2: Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
* commit '144020c9ff683fd7fdcf479d71e2920d9f70b182':
  Docs: Fixes a mistaken TOC item at top-right so it now matches the item it links to.
2015-08-28 18:41:03 +00: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
a3d10f015f am c02034a1: am 34c08828: Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev
* commit 'c02034a131082080f7dee50c040ee037f6350be2':
  Fix NPE in AR hardware binding sequence. b/22772433
2015-08-28 15:36:30 +00:00
Anatol Pomazau
c02034a131 am 34c08828: Merge "Fix NPE in AR hardware binding sequence. b/22772433" into mnc-dr-dev
* commit '34c0882898c3e37ea1733e4614233c8a4cb71b67':
  Fix NPE in AR hardware binding sequence. b/22772433
2015-08-28 15:27:08 +00: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
fec26a37a1 am 7c388b0f: am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit '7c388b0f73b1b2f881aa97458657a394e43e6727':
  BatteryStats: Bump checkin version
2015-08-27 23:42:19 +00:00
Ashish Sharma
7c388b0f73 am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
* commit 'ffa3d0408f9c3ffb5ab3ee45ef6c466d795fb2c8':
  BatteryStats: Bump checkin version
2015-08-27 23:34:04 +00: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
30aa53c7af am 92fb5342: am c07701f2: am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit '92fb534298dc2d7e91e6dc1a8d8454b7f3f173f8':
  Add StateMachine.removeDeferredMessages()
2015-08-27 19:49:47 +00:00
Ajay Panicker
92fb534298 am c07701f2: am 3e5b0118: Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev
* commit 'c07701f2764a1c09dc3e8af4321ff0ef66056fee':
  Add StateMachine.removeDeferredMessages()
2015-08-27 19:40:05 +00: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
Ajay Panicker
3e5b01185c Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev 2015-08-27 19:21:39 +00:00
Eric Laurent
155c1ad113 am 38f6f487: am aef51d09: am 4a8034ca: AudioTrack: error reporting for getTimestamp()
* commit '38f6f487b2a8de7ebd7c07b216588dcbb53887ae':
  AudioTrack: error reporting for getTimestamp()
2015-08-27 18:42:35 +00:00
Eric Laurent
38f6f487b2 am aef51d09: am 4a8034ca: AudioTrack: error reporting for getTimestamp()
* commit 'aef51d09ef33eb3f03789c71edc25a7b103728d1':
  AudioTrack: error reporting for getTimestamp()
2015-08-27 18:33:41 +00:00
Eric Laurent
aef51d09ef am 4a8034ca: AudioTrack: error reporting for getTimestamp()
* commit '4a8034caea13a90c01800ff554539772c6ff5523':
  AudioTrack: error reporting for getTimestamp()
2015-08-27 18:28:48 +00:00
Adrian Roos
c63a12b78c am 6fe373b1: am 16d7245b: Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-dev
* commit '6fe373b10ef2a2e56745ee2c67588e96f5b8dcad':
  Prevent Fingerprint when SIM is locked
2015-08-27 18:24:03 +00:00
Adrian Roos
6fe373b10e am 16d7245b: Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-dev
* commit '16d7245b64062f4c65d55433642388d1dc9bdf70':
  Prevent Fingerprint when SIM is locked
2015-08-27 18:15:21 +00:00
Adrian Roos
16d7245b64 Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-dev 2015-08-27 18:06:44 +00:00
Eric Laurent
4a8034caea AudioTrack: error reporting for getTimestamp()
Add a new getTimestamp() method that returns an error code.

Bug: 21886109.
Bug: 22202349.
Bug: 17548098.

Change-Id: Ib072dd3442de79bab9aca77c3c33b0790b492154
(cherry picked from commit 4e1ccd370fc268f3207c5baee08ac8c943c3fdf9)
2015-08-27 17:52:38 +00:00
Zhentao Sun
49ea8298b3 am 60220b77: am fd538001: Merge "Added event log for camera launch gesture." into mnc-dr-dev
* commit '60220b77b920b1547620281b911f0911df1ea249':
  Added event log for camera launch gesture.
2015-08-27 03:37:26 +00:00
Jim Miller
1aee37ea3f am d255b44c: am dfb8cca0: Merge "Don\'t check the keyguard PIN a second time" into mnc-dr-dev
* commit 'd255b44c83fa3dfb460c2ef332761bde2cdc4956':
  Don't check the keyguard PIN a second time
2015-08-27 03:37:20 +00:00
Zhentao Sun
60220b77b9 am fd538001: Merge "Added event log for camera launch gesture." into mnc-dr-dev
* commit 'fd538001f5c7f1fad68a27d8143c839bda82491b':
  Added event log for camera launch gesture.
2015-08-27 03:31:19 +00:00
Zhentao Sun
fd538001f5 Merge "Added event log for camera launch gesture." into mnc-dr-dev 2015-08-27 03:23:46 +00:00
Jim Miller
d255b44c83 am dfb8cca0: Merge "Don\'t check the keyguard PIN a second time" into mnc-dr-dev
* commit 'dfb8cca04dd64dcdf1df4550f7e808360de0517d':
  Don't check the keyguard PIN a second time
2015-08-27 02:52:16 +00:00
Jim Miller
dfb8cca04d Merge "Don't check the keyguard PIN a second time" into mnc-dr-dev 2015-08-27 02:44:18 +00:00
Ajay Panicker
c211978650 Add StateMachine.removeDeferredMessages()
Bug: 23111466
Change-Id: Ifbb67d4eb080313af0968d5cb6b9508837e3458e
2015-08-26 19:34:52 -07:00