199954 Commits

Author SHA1 Message Date
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
Ajay Panicker
3e5b01185c Merge "Add StateMachine.removeDeferredMessages()" into mnc-dev 2015-08-27 19:21:39 +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
Renato Mangini
81e0dff0da Minor fix on Auto Desktop Head Unit doc.
Change-Id: I245484e87fadcc98fabc6f4c4fc67f2b454f9874
2015-08-27 11:11:55 -07: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
fd538001f5 Merge "Added event log for camera launch gesture." into mnc-dr-dev 2015-08-27 03:23:46 +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
Rich Slogar
9dbc35d10b am 258b56ec: am 9f37bd8a: am 0238bf24: docs: New auto Desktop Head Unit (DHU) docs
* commit '258b56ec58fca2b740bcfe9a2af81f0f59a14abb':
  docs: New auto Desktop Head Unit (DHU) docs
2015-08-27 01:45:36 +00:00
Deepanshu Gupta
442c48b98c am a4a1e68f: am ebdedb47: (-s ours) am 42994097: am a1be8b43: LayoutLib: Update golden test images. [DO NOT MERGE]
* commit 'a4a1e68fe76134a940e02f3d425b3429791177e5':
  LayoutLib: Update golden test images. [DO NOT MERGE]
2015-08-27 01:45:32 +00:00
Deepanshu Gupta
e81c3b45ca am c2e98ca3: am 68ff174b: (-s ours) am 2b99b5da: am c9862b44: An ugly hack to render CalendarView. [DO NOT MERGE]
* commit 'c2e98ca39a67bd24e305826c51a0ba85f7b59ef4':
  An ugly hack to render CalendarView. [DO NOT MERGE]
2015-08-27 01:45:28 +00:00
Deepanshu Gupta
52bd715d5d am 58967c69: am d9600c98: (-s ours) am 7eb81868: am b1ad4a15: LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
* commit '58967c69b96492fb64a258c0131f0c6791057ed3':
  LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
2015-08-27 01:45:24 +00:00
Deepanshu Gupta
14d291e866 am 5d282e3f: am 5769732e: (-s ours) am 9d6e87b6: am da687918: Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
* commit '5d282e3f3c280642ce7c99c4e72f0ccf7132fc09':
  Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
2015-08-27 01:45:20 +00:00
Deepanshu Gupta
1ddcfe8442 am 47530108: am 728fc731: (-s ours) am c43506fc: am 8c674fda: Fix layout mirroring. [DO NOT MERGE]
* commit '47530108c22cb8eb50d425cd10be48b4fb3005b0':
  Fix layout mirroring. [DO NOT MERGE]
2015-08-27 01:45:13 +00:00
Deepanshu Gupta
7b552da2d1 am 4116ed7b: am 37ae8f4e: (-s ours) am 918e62f1: am 7aa36129: Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
* commit '4116ed7b0524b42d8d3b0cb01545e1dc3bac6c6c':
  Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
2015-08-27 01:45:09 +00:00
Deepanshu Gupta
6fb997626a am dfcd35d7: am e4b4b084: (-s ours) am eb15670c: am 92f373fe: Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
* commit 'dfcd35d7929025fdcd2f13a1fe5ec84090f07716':
  Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
2015-08-27 01:45:04 +00:00
Deepanshu Gupta
66c51bef2f am a0bef60c: am 05ed2d91: (-s ours) am 42e53ecb: am 66d91401: Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
* commit 'a0bef60c3670e4484b5bfc3fc5cc79b7f9918603':
  Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
2015-08-27 01:45:00 +00:00
Deepanshu Gupta
f0d24b6561 am af3deb06: am 21f66a6b: (-s ours) am 5078ad32: am 6b1b651f: Fix imports. [DO NOT MERGE]
* commit 'af3deb06be28a6131d854ae4a109aa49dc8179dc':
  Fix imports. [DO NOT MERGE]
2015-08-27 01:44:56 +00:00
Deepanshu Gupta
84544de7fe am 554f3a35: am 34f6f597: (-s ours) am 4a213763: am 5ad4dae1: Fix theme namespace in tests. [DO NOT MERGE]
* commit '554f3a352a0a2091321cf72b4ddf32869c901dcb':
  Fix theme namespace in tests. [DO NOT MERGE]
2015-08-27 01:44:52 +00:00
Deepanshu Gupta
baff0776bd am 4ed5de88: am 39b4f4cc: (-s ours) am f988761c: am 723e136f: Run setup for full tests only once. [DO NOT MERGE]
* commit '4ed5de8861ab085f253086141de7c96f54acf41a':
  Run setup for full tests only once. [DO NOT MERGE]
2015-08-27 01:44:46 +00:00
Deepanshu Gupta
e77d052b25 am dd7d7aac: am de8da279: (-s ours) am e54dbc4a: am 3ba16c1d: LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
* commit 'dd7d7aacfea68dfd20a7b6d4be67777a7cfe2993':
  LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
2015-08-27 01:44:42 +00:00
Deepanshu Gupta
be6438aaf4 am 28677599: am 963cac18: (-s ours) am 147c0506: am 55a36337: LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
* commit '28677599a9adc1e41f4e48623fbbe7839a43223a':
  LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
2015-08-27 01:44:37 +00:00
Deepanshu Gupta
143837717d am fe0e8709: am 76111ecb: (-s ours) am e093bbf3: am d861fd81: Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
* commit 'fe0e87094c1df6ee3ec5a1bf420c74b134bd673d':
  Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
2015-08-27 01:44:33 +00:00
Deepanshu Gupta
0155fb6454 am b342aba0: am c5bd6146: (-s ours) am 8a50ecea: am 82fae621: LayoutLib: translucent sys ui bars [DO NOT MERGE]
* commit 'b342aba021104d167608349e69e1398b65cf57de':
  LayoutLib: translucent sys ui bars [DO NOT MERGE]
2015-08-27 01:44:28 +00:00
Deepanshu Gupta
a5e87b01ff am 23a7bc9c: am 6dcfe1e2: (-s ours) am d4be80d9: am 9068539a: Update nav bar icons. [DO NOT MERGE]
* commit '23a7bc9cc65952c6127ccbbdce6c80fc4c04e89a':
  Update nav bar icons. [DO NOT MERGE]
2015-08-27 01:44:24 +00:00
Deepanshu Gupta
befeb76711 am 884cc475: am 5eaa09ff: (-s ours) am d1dde055: am e5afc311: Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
* commit '884cc4754b4062d7263000006b58bade82d09985':
  Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
2015-08-27 01:44:20 +00:00
Deepanshu Gupta
1f178854af am d7e001e6: am 1f2c15ca: (-s ours) am 87f5fd6b: am c989950d: CalendarView rendering: use R.styleable to find attr. [DO NOT MERGE]
* commit 'd7e001e640d5255525138631dd8b62fda8d63da0':
  CalendarView rendering: use R.styleable to find attr. [DO NOT MERGE]
2015-08-27 01:44:15 +00:00
Deepanshu Gupta
a097124d65 am 19229a8e: am 36e164e0: (-s ours) am e3eecca9: am b2fdaca9: Add tools:openDrawer to open a DrawerLayout. [DO NOT MERGE]
* commit '19229a8e1f929393b0bbd2cdd1f27bfe15865411':
  Add tools:openDrawer to open a DrawerLayout. [DO NOT MERGE]
2015-08-27 01:44:10 +00:00
Deepanshu Gupta
5e570d37df am c1b987f0: am 13cd7660: (-s ours) am b4060700: am a14ec6f4: Change tools:list_item to listitem. [DO NOT MERGE]
* commit 'c1b987f0b574b25ecea115562122faf5c74b142e':
  Change tools:list_item to listitem. [DO NOT MERGE]
2015-08-27 01:44:02 +00:00
Deepanshu Gupta
44063c65f6 am af51c690: am a556d756: (-s ours) am 8bfc5a9d: am b1e21330: Implement tools:list_item for RecyclerView. [DO NOT MERGE]
* commit 'af51c69052e4a7e4c8a10358812976bb188f050c':
  Implement tools:list_item for RecyclerView. [DO NOT MERGE]
2015-08-27 01:43:52 +00:00