157573 Commits

Author SHA1 Message Date
Ricardo Cervera
b2a2d2c2fe am e9fddfd8: am 0d18b091: Merge "docs: Add link to "Voice search in your app" video." into lmp-docs
* commit 'e9fddfd802f9d00dd2d86bd78e3da3cc2f530d3c':
  docs: Add link to "Voice search in your app" video.
2014-11-18 23:26:41 +00:00
Ricardo Cervera
e9fddfd802 am 0d18b091: Merge "docs: Add link to "Voice search in your app" video." into lmp-docs
* commit '0d18b091eb5bb5be6f7142821b674e1648158a11':
  docs: Add link to "Voice search in your app" video.
2014-11-18 23:21:29 +00:00
Ricardo Cervera
0d18b091eb Merge "docs: Add link to "Voice search in your app" video." into lmp-docs 2014-11-18 23:16:22 +00:00
Andreas Gampe
cd9c6f508f Frameworks/base: Compiled-classes support
Let AndroidRuntime check for /system/etc/compiled-classes and push
it to the runtime for boot image creation.

Bug: 18410571
(cherry picked from commit ca775941f3b7981aabf3a6a3b84d6c94f4f76aff)

Change-Id: I04d195c12def4bf1136ed8c6b3dc439b640de7b2
2014-11-18 15:14:06 -08:00
Andres Morales
2830130770 Add a checksum to FRP partition
It will be hard to mandate the contents
of the FRP partition out of factory. Further, for upgrading
units, it would require that OEMs format the partition and then store
a bit saying that they've done so. This adds another attack vector.
Now defeating FRP means either compromising the FRP partition
OR wherever the OEMs decide to store that bit.

This patch adds a checksum to the FRP partition. If the checksum
is not valid, the partition is wiped - disabling OEM unlock.

This ensures that no matter what data comes on the partition, we will 
always disable OEM unlock by default. It also allows OEMs to not have to
worry about initializing the partition, as it happens automatically. 

Bug: 18322021
Change-Id: Ib30782baa771591c30ea95054d3b83f36fc08cc2
2014-11-18 22:52:58 +00:00
Andreas Gampe
2a20f42558 Merge "Frameworks/base: Compiled-classes support" into lmp-mr1-dev 2014-11-18 22:45:50 +00:00
Marco Nelissen
6104fb2862 Merge "Use stream type if set by user" into lmp-mr1-dev 2014-11-18 22:20:05 +00:00
Quddus Chong
25f20bdeab am 09cf0729: am f256d7ac: am 4741fb4b: docs: Fixed bugs for Auto docs.
* commit '09cf0729a3b21e7106918cf3690e881a1860ae8b':
  docs: Fixed bugs for Auto docs.
2014-11-18 22:17:53 +00:00
Chris Craik
bde9ffbd56 Merge "Fix missing ellipsis when just one character is truncated" into lmp-mr1-dev 2014-11-18 22:17:35 +00:00
Quddus Chong
09cf0729a3 am f256d7ac: am 4741fb4b: docs: Fixed bugs for Auto docs.
* commit 'f256d7ac189e58a6c21a5a71e5a1dddeab2d576f':
  docs: Fixed bugs for Auto docs.
2014-11-18 22:13:06 +00:00
Quddus Chong
f256d7ac18 am 4741fb4b: docs: Fixed bugs for Auto docs.
* commit '4741fb4bb146909fc133ae37ea43dbb7f9edbd04':
  docs: Fixed bugs for Auto docs.
2014-11-18 22:08:10 +00:00
Abhijith Shastry
6807e5f0fe Merge "Adding more javadocs to Carrier messaging API." into lmp-mr1-dev 2014-11-18 22:04:58 +00:00
Jeff Sharkey
3597b55d12 Speed up GrantUri.hashCode().
It's used as a key for all outstanding permission grants, so let's
keep it fast.

Bug: 18381401
Change-Id: I4db8dba13302b98f33aacfa3e9acd9a394541cd0
2014-11-18 14:04:18 -08:00
Alan Viverette
fb11949d5b Merge "Don't ignore accessibility overlays during visibility computation" into lmp-mr1-dev 2014-11-18 21:48:13 +00:00
Amit Mahajan
2733ea767b Merge "Telephony: STK CC feature implementation" into lmp-mr1-dev 2014-11-18 21:46:51 +00:00
Quddus Chong
4741fb4bb1 docs: Fixed bugs for Auto docs.
Change-Id: Iba8406a95374e5c621eb607c6bb0a8ad6a892f59
2014-11-18 13:46:44 -08:00
John Reck
37cdc191e3 Merge "Don't invalidate() on setClipBounds" into lmp-mr1-dev 2014-11-18 21:41:17 +00:00
John Reck
3cf61d4b79 Merge "Fix invalidateOutline" into lmp-mr1-dev 2014-11-18 21:30:48 +00:00
John Reck
f0f68117c4 Merge "Trace some interesting events" into lmp-mr1-dev 2014-11-18 21:23:50 +00:00
Jason Monk
cd356f0dda Automatically enable BT when entering BT QS panel
Bug: 18334326
Change-Id: Ifbcdee1a8260ce959eae53c0900851f8da2f97ee
2014-11-18 21:17:40 +00:00
Preeti Ahuja
d4180cc2d4 Telephony: STK CC feature implementation
Add strings and constants required for stk cc feature.

Bug: 17646476
Change-Id: I28c5c199f6138c4db2a00d524592667a481db8cd
2014-11-18 13:01:02 -08:00
Ye Wen
f984eb4272 Merge "Addressing API review issues for SmsManager (2/3)" into lmp-mr1-dev 2014-11-18 20:30:29 +00:00
Adrian Roos
ed0976897a Merge "Add animations for the system bar color views" into lmp-mr1-dev 2014-11-18 20:22:27 +00:00
Winson Chung
6aa73cf266 Merge "Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)" into lmp-mr1-dev 2014-11-18 20:10:05 +00:00
Christopher Tate
498c6cbd78 Prevent some alarm pathologies
* Sanity-check the recurrence interval.  Some buggy apps pass seconds
  where the API expects milliseconds, with the result that the device
  pins the CPU at 100% trying to deliver alarm broadcasts every 60 ms
  or what have you.  The minimum recurrence is now 1 minute.

* Sanity-check alarms being scheduled for the immediate future.  As
  with the above this will catch people trying to schedule alarms
  in a spammy way that keeps the device from entering low-power state.
  The minimum futurity of a new alarm is now 5 seconds.

Bug 17495168

Change-Id: If8ff7d88da48960532ac21a0ba20094af9912603
2014-11-18 12:00:58 -08:00
Winson Chung
f95a9fe537 Merge "Fixing high cpu usage due to case not falling through to wait logic. (Bug 18390735)" into lmp-mr1-dev 2014-11-18 19:58:56 +00:00
Winson Chung
15a2ba813a Use SystemClock time to keep track of last event times. (Bug 17995039)
Change-Id: I7df1ee82568cbe3a6adbf948bd4e75dd57791032
2014-11-18 11:53:02 -08:00
Andreas Gampe
ca775941f3 Frameworks/base: Compiled-classes support
Let AndroidRuntime check for /system/etc/compiled-classes and push
it to the runtime for boot image creation.

Bug: 18410571
Change-Id: I2510316381f2661166af24d7e14b013f4e045556
2014-11-18 11:48:22 -08:00
Marco Nelissen
1c066306c6 Use stream type if set by user
Bug: 18426086
Change-Id: I0df390ddb850f8e2a02e24296f2a0d39f5718839
2014-11-18 11:28:28 -08:00
Sander Alewijnse
0925db8715 Merge "Rename the dont_disable_system_apps constant." into lmp-mr1-dev 2014-11-18 19:28:17 +00:00
Bryce Lee
d4e55bdfc5 am 8f7b84e0: Merge "Always wake device on power key from non interactive immediately." into lmp-sprout-dev
* commit '8f7b84e037e35db9d3b46873bc1adf712b307cbe':
  Always wake device on power key from non interactive immediately.
2014-11-18 19:12:43 +00:00
Bryce Lee
8f7b84e037 Merge "Always wake device on power key from non interactive immediately." into lmp-sprout-dev 2014-11-18 19:09:11 +00:00
Vinit Deshpande
c3eb155644 Fix WPS docs for LABEL method
Since we don't support LABEL method in startWps, document
it explicitly.

Bug: 18298388

Change-Id: I5d4c2475a68f1b41e5fc449c911b7b01b3b82fc4
2014-11-18 11:07:58 -08:00
RoboErik
519c7744b5 Handle volume events on master volume devices correctly
We weren't passing volume events to the master volume correctly on
devices that only use a master volume. This fix checks if the device
only has a master volume and adjusts the master volume instead of the
stream's volume if that's the case.

bug:18305790
Change-Id: Iec35e0a7dc59e6d73c9dfc88da324660bb15b1f3
2014-11-18 11:00:34 -08:00
Dianne Hackborn
9522055f1d Merge "Add time estimates to batterystats dump." into lmp-mr1-dev 2014-11-18 18:43:29 +00:00
Dianne Hackborn
ad6a99b32a Add time estimates to batterystats dump.
Also fix some java docs.

Change-Id: Ie705f236db6f06e34fa5581c20852e5c8f7c2c17
2014-11-18 10:41:09 -08:00
Winson Chung
66e86f9774 Fixing high cpu usage due to case not falling through to wait logic. (Bug 18390735)
Change-Id: I78068567225f85efaa4858dc947de88d39df3f10
2014-11-18 10:38:41 -08:00
Selim Cinek
5e3b4f1786 am b510a1cb: am 652afdf5: Increases the falsing threshold when for the keyguard affordances
* commit 'b510a1cb7633364a0303d69f615c74acc1715ca9':
  Increases the falsing threshold when for the keyguard affordances
2014-11-18 18:38:27 +00:00
Selim Cinek
b510a1cb76 am 652afdf5: Increases the falsing threshold when for the keyguard affordances
* commit '652afdf504cacaae8dcc334b0f1a9e282a95d768':
  Increases the falsing threshold when for the keyguard affordances
2014-11-18 18:33:44 +00:00
Alan Viverette
d0c73f49b7 Don't ignore accessibility overlays during visibility computation
Just don't use then to compute unaccounted space. This is a partial
revert of commit 9538eea5ff6f8e2183ced81b5b8eac60b0e774ea.

Change-Id: Ie2e29c8934da8ef707d20db1333abd4e240cd213
2014-11-18 10:25:04 -08:00
Ricardo Cervera
c3b2a00371 docs: Add link to "Voice search in your app" video.
Bug: 18407660

Change-Id: I9062c708b64586116e5af4df5d83b73988189e8a
2014-11-18 10:02:15 -08:00
Jae Seo
3a9a53cb75 Merge "TIF: make the tune request handling more efficient" into lmp-mr1-dev 2014-11-18 18:01:47 +00:00
Jae Seo
f0a8c3e674 Merge "TIF: fix NPE for TvInputHardwareManager" into lmp-mr1-dev 2014-11-18 18:01:09 +00:00
John Spurlock
ce66d35fc3 Merge "Volume: Don't allow ringer volume of 0 exiting ringer mode." into lmp-mr1-dev 2014-11-18 17:57:10 +00:00
Rubin Xu
a97855b784 Remove permission check in DevicePolicyManager.isUninstallBlocked()
This is to allow Play to use this API to find out whether a package
is uninstallable due to profile or device owner policy's restriction.

Bug: 17914630
Change-Id: I4ce2963884ecdf3306805f36db80ed1ebf04d88f
2014-11-18 17:53:46 +00:00
Jason Monk
d2263cd9db SysUI: Refactor the NetworkControllerImpl
Minimal changes to interface/callbacks, all of the changes are
internal and prepare for MSIM.

Separate out AccessPoint and MobileData from the NetworkController
interface to give some space.

A SignalController class has been created as a base for both
WifiSignalController and MobileSignalController, both of which
internally handle the state of their respective connectivity and
only reach up into the NetworkControllerImpl when completely
necessary (such as for combined carrier label).

Bug: 18222975
Change-Id: I75b954bbece187371cdb8571dd8420e7d2cad978
2014-11-18 12:48:42 -05:00
Alan Viverette
68235e4dbc Merge "Prevent NPE when computing FastScroller position with no visible items" into lmp-mr1-dev 2014-11-18 17:46:52 +00:00
John Spurlock
b30d902ed4 Merge "Volume: Dismiss panel on nav bar interaction." into lmp-mr1-dev 2014-11-18 16:47:11 +00:00
John Spurlock
7fbf573e0b Volume: Dismiss panel on nav bar interaction.
Bug: 18409164
Change-Id: I7b7f26eb823b8477a4df86a8622b4f1171ad96e6
2014-11-18 11:40:22 -05:00
Jason Monk
caf4828c77 Merge "SysUI Tests: Make tests not break SysUI" into lmp-mr1-dev 2014-11-18 16:35:47 +00:00