157495 Commits

Author SHA1 Message Date
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
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
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
Adrian Roos
6d0e2c9cb9 Merge "Trim navigation bar buttons" into lmp-mr1-dev 2014-11-18 16:23:55 +00:00
Adrian Roos
82c97a2484 Trim navigation bar buttons
Removes unnecessary transparent pixels from navigation
bar assets, saving on-disk, java heap, and texture memory.

Bug: 18412658
Bug: 10918599
Change-Id: I47ee92ed3a3eaf8d02be86f0b67a77f035a8fb43
2014-11-18 16:13:49 +00:00
Selim Cinek
652afdf504 Increases the falsing threshold when for the keyguard affordances
The minimum amount has been increased by 20dp and in addition the
Motion is cancelled whenever a POINTER_DOWN occurs, which should
help a lot with falsing.

Bug: 18298401
Change-Id: I04b1f30fd2555c08209224f4e84c610ecd7a33f1
(cherry picked from commit 1dc406505cdcbbf98ece4f15a2f98f621e24abdb)
2014-11-18 15:58:01 +00:00
John Spurlock
95ef08b348 Volume: Don't allow ringer volume of 0 exiting ringer mode.
For any device with vibration, not only voice-capable devices.

Bug: 18423530
Change-Id: I0f1a7df884d675e6bc6854dcf044426c07f3d2f7
2014-11-18 10:51:39 -05:00
George Mount
6cb51968c2 Merge "Fix Visibility transitions canceling when nothing has changed." into lmp-mr1-dev 2014-11-18 15:29:48 +00:00
Nicolas Prevot
34b6e35ba6 Fix javadoc in UserManager mentioning application restrictions.
The java doc of UserManager.KEY_RESTRICTIONS_PENDING contains mistakes.

BUG: 18414603
Change-Id: I9584dad545dcbef1eb2ee0e4f5df117486435e8a
2014-11-18 14:37:58 +00:00
Sander Alewijnse
5a1442589f Rename the dont_disable_system_apps constant.
Bug:18414080
Change-Id: Ief9c6ac4346ab0588514f89a659fcb09d10d6574
2014-11-18 13:25:04 +00:00
Andrew Solovay
1ca6af34b4 am b2d73807: am e4662f7e: am a7f226b8: docs: (Preview) Building an Android Messaging App guide.
* commit 'b2d73807a93495e132e6b12e5612cbaaeea06fd9':
  docs: (Preview) Building an Android Messaging App guide.
2014-11-18 10:26:05 +00:00
Andrew Solovay
b2d73807a9 am e4662f7e: am a7f226b8: docs: (Preview) Building an Android Messaging App guide.
* commit 'e4662f7e4b73a78074bd1f6b5c9fc17509759d45':
  docs: (Preview) Building an Android Messaging App guide.
2014-11-18 10:22:54 +00:00
Andrew Solovay
e4662f7e4b am a7f226b8: docs: (Preview) Building an Android Messaging App guide.
* commit 'a7f226b860455b26cc64f6db08f8c279be71117f':
  docs: (Preview) Building an Android Messaging App guide.
2014-11-18 10:17:53 +00:00
Andrew Solovay
a7f226b860 docs: (Preview) Building an Android Messaging App guide.
See the first comment for doc staging location.

Change-Id: Ibfa0f43abefbdd03c5468186b2ec0c76ed6c9ade
2014-11-18 02:08:05 -08:00
Andrew Solovay
2c55fbd495 am 7ca874e7: am 4a9945e9: am 7fe755e6: docs: (Preview) Building Android Audio Playback Apps guide.
* commit '7ca874e71c014718e2107e2f50e095bcc2c474fc':
  docs: (Preview) Building Android Audio Playback Apps guide.
2014-11-18 10:00:29 +00:00
Andrew Solovay
7ca874e71c am 4a9945e9: am 7fe755e6: docs: (Preview) Building Android Audio Playback Apps guide.
* commit '4a9945e9c03e8a2c006febf4b8325f0c1bf84b39':
  docs: (Preview) Building Android Audio Playback Apps guide.
2014-11-18 09:56:01 +00:00
Andrew Solovay
4a9945e9c0 am 7fe755e6: docs: (Preview) Building Android Audio Playback Apps guide.
* commit '7fe755e66b10244da2382c11f9244346b8184e48':
  docs: (Preview) Building Android Audio Playback Apps guide.
2014-11-18 08:59:15 +00:00
Andrew Solovay
7fe755e66b docs: (Preview) Building Android Audio Playback Apps guide.
Doc was previously titled "Building Android Media Apps"; per request,
changed "Media" to "Audio" whenever possible, and moved file location
accordingly.

See the comment after patch set 5 for the updated staging location.

Change-Id: I0d657851d44b46cdfb1b5806a51dad0565312c04
2014-11-18 00:46:58 -08:00
Quddus Chong
e76f90cc4f am 1f03a234: am f76cf8bf: am c6aed461: docs: Added developer docs for Android Auto 11/18 release.
* commit '1f03a234ff757736c771d1e99625f173f36ab89c':
  docs: Added developer docs for Android Auto 11/18 release.
2014-11-18 08:40:10 +00:00
Quddus Chong
1f03a234ff am f76cf8bf: am c6aed461: docs: Added developer docs for Android Auto 11/18 release.
* commit 'f76cf8bfd39f93b7b7be75d3688edc416d96c014':
  docs: Added developer docs for Android Auto 11/18 release.
2014-11-18 08:35:38 +00:00
Quddus Chong
f76cf8bfd3 am c6aed461: docs: Added developer docs for Android Auto 11/18 release.
* commit 'c6aed4612827be0359d2022f6a38a0e5fce0609c':
  docs: Added developer docs for Android Auto 11/18 release.
2014-11-18 08:31:31 +00:00
Quddus Chong
c6aed46128 docs: Added developer docs for Android Auto 11/18 release.
Change-Id: I2e3a2010f3b40f81c56dde9f710284cd2332217c
2014-11-18 00:25:52 -08:00
Dongwon Kang
c918172508 TIF: make the tune request handling more efficient
- Clear the pending tune operations to handle consecutive tune requests
  efficiently.
- Add time out for onTune() to make developers not to handle whole tune
  process in the onTune() method.

Bug: 18179595
Change-Id: I571e55b78d7c4d17c7237c5ce70203941bec2130
2014-11-18 15:49:08 +09:00
Eric Gilmore
54b32cbd24 am bb78bf1d: am c31a73c1: am 343c4193: Merge "Adding app quality criteria." into lmp-docs
* commit 'bb78bf1da5d0eebae311955662a3c36cb4d0ec74':
  Adding app quality criteria.
2014-11-18 05:50:51 +00:00
Eric Gilmore
bb78bf1da5 am c31a73c1: am 343c4193: Merge "Adding app quality criteria." into lmp-docs
* commit 'c31a73c1870d12de1c213cbd68cc358b74f58039':
  Adding app quality criteria.
2014-11-18 05:44:48 +00:00
Eric Gilmore
c31a73c187 am 343c4193: Merge "Adding app quality criteria." into lmp-docs
* commit '343c4193c0a1974e996eecdcab8d70cdcd4184a0':
  Adding app quality criteria.
2014-11-18 05:36:42 +00:00