143406 Commits

Author SHA1 Message Date
Alan Viverette
4f64c04850 Clean up view tinting APIs, tileModeX/Y attribute docs
BUG: 16400590
BUG: 16403307
Change-Id: Ie924815a39eb0e683d1982b08ec478ed3edbfb7b
2014-07-22 01:03:58 +00:00
Jean-Michel Trivi
0d964e77b9 Merge "Unhide SoundPool builder with AudioAttributes" into lmp-dev 2014-07-21 15:42:19 +00:00
Alan Viverette
7d6866086a Fix switch animation end state colors
BUG: 16418389
Change-Id: I678eb25c38a1303141dc89cfe1cccbd1bd8bcdc1
2014-07-22 00:17:17 +00:00
Jean-Michel Trivi
fb52139bd8 Unhide SoundPool builder with AudioAttributes
Change-Id: I9ec6ca310a342f72cc1a0de5d93fe650b0ca2125
2014-07-21 16:00:43 -07:00
Jeff Sharkey
6038625175 Detect bundled app ABI for cluster-style layout.
Now that build system switched to cluster-style layout for bundled
apps, we need to detect primary/secondary ABI based on that layout.

Bug: 16456263
Change-Id: If6daf60ee1815bb6fde560a0c373b4f2bc8bd3a8
2014-07-21 13:28:16 -07:00
Amith Yamasani
b74a7babaa Merge "Fix a security exception when checking cross-profile caller-id cap." into lmp-dev 2014-07-21 15:43:35 +00:00
Amith Yamasani
eee5094f96 Fix a security exception when checking cross-profile caller-id cap.
No need to enforce that the caller is in the system process.
We're only checking if the device policy is allowing access.

Bug: 16301261
Change-Id: I87a7c808d116c86aa68cebb36631c46d0a54be96
2014-07-21 17:04:44 -07:00
Amith Yamasani
9c44933958 API Review: Improvements to RestrictionsManager API
Use an activity intent for local approval instead of a type.
Use PeristableBundle instead of Bundle.
Pass requestId as an explicit argument in cases where it's required.

Bug: 16400892
Change-Id: Id882033f17c39aa9cd63a7eeb73bb7b51f98cf5b
2014-07-22 00:03:39 +00:00
Amith Yamasani
e5bcff624f Rename setApplicationBlocked to setApplicationHidden
This corrects the expected behavior of the app state. Hidden apps
can be installed by the store to be brought out of hidden state.

Bug: 16191518
Change-Id: Id128ce971ceee99ba1dea14ba07ce03bd8d77335
2014-07-21 22:18:40 +00:00
Jean-Michel Trivi
79bf7284b9 Merge "New MediaFormat keys for AAC" into lmp-dev 2014-07-21 15:42:19 +00:00
Jinsuk Kim
469085e4fe Revert "Send TV app the intent for the new active source"
This reverts commit 9808af71a190844cd5eb493d87870238a31fa408.

Change-Id: I0e019534c07b230173230d064c6d8bc389fafcbc
2014-07-21 23:52:39 +00:00
Jean-Michel Trivi
a8a3f55865 New MediaFormat keys for AAC
Decoder:
    KEY_AAC_DRC_ATTENUATION_FACTOR
    KEY_AAC_DRC_BOOST_FACTOR
    KEY_AAC_DRC_HEAVY_COMPRESSION
    KEY_AAC_DRC_TARGET_REFERENCE_LEVEL
    KEY_AAC_ENCODED_TARGET_LEVEL
    KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT
Encoder:
    KEY_AAC_SBR_MODE

Change-Id: I69abe01add135875446914134d93a58815992e07
2014-07-21 16:47:34 -07:00
Jinsuk Kim
0f68d62a4b Send TV app the intent for the new active source
When signalled by an external CEC device about to become a new active
source, TIF(TvInputHardwareManager) sends an intent for TV app to tune to
the input mapped to the device.

Change-Id: I29b28a4365d1454a8bbe947ddb5df4371960c71a
2014-07-21 23:18:00 +00:00
Adam Lesinski
775ded1a91 Merge "Change UsageStatsService to check uses-permission" into lmp-dev 2014-07-21 15:43:35 +00:00
Yorke Lee
3818a89220 Expose call settings as public API (1/3)
Other settings activities like wifi settings, mobile network settings
etc are all accessible by third party apps via public intents, so
make CallFeaturesSettings similarly available.
Bug: 16298644
Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
2014-07-21 16:10:08 -07:00
Ying Wang
88e199045b Build framework.jar with multidex support.
We don't need the framework/framework2 split now with the multidex
support.

Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
2014-07-21 15:23:14 -07:00
Adam Lesinski
53ab92d890 Change UsageStatsService to check uses-permission
Have UsageStatsService check permission grants when AppOps
returns the default MODE_IGNORED mode for a package.

Change-Id: I784a708451a56863b13fc5f178e10bba6ce37a2f
2014-07-21 13:20:25 -07:00
Craig Mautner
2cfeb1ac39 Merge "Don't create a delegate for null callbacks." into lmp-dev 2014-07-21 15:42:19 +00:00
Craig Mautner
3d0c57a1d3 Don't create a delegate for null callbacks.
ActivityView does not create callbacks for the VirtualDisplay. This
leads to setting Looper.myLooper() from a Binder thread which
leads to NPE when trying to dereference its message queue.

Fixes bug 16386002.

Change-Id: I12760a22075ed4770f3fe960763e0135fe095cfe
2014-07-21 14:33:47 -07:00
Santos Cordon
d1c344e412 Revert "Change display Strings to CharSequence (1/2)"
This reverts commit b5e0084414258ff294e7d94bcf9f8492f8ab2d25.

Change-Id: I095483414f5e0076c0967b6f1955a0fe71f2b8d9
2014-07-21 18:43:35 +00:00
RoboErik
edb158f55f Deprecate apis that were replaced by sessions
These classes all have new components in the session APIs.

bug:16218444
Change-Id: Ib64ff0e23503e4c9eb2fd9162a878e1eaba7c4df
2014-07-21 18:26:42 +00:00
destradaa
facc7bce1b Merge "Update GPS HAL raw measurements support." into lmp-dev 2014-07-21 15:42:19 +00:00
destradaa
2102dd7255 Update GPS HAL raw measurements support.
Align the GPS framework with the GPS HAL
b/16374800

Remove localTime field from API
b/16241708

Update Property containers for measurements to use bit masks
b/16238371

Change-Id: Id4db16c3153d0020bf2edb5a67f59353662762d0
2014-07-21 10:38:12 -07:00
Deepanshu Gupta
3b37956010 Fix missing initial moveto in path definition.
The Path_Delegate was missing a moveTo call which resulted in
IllegalPathStateException when rendering the ProgressBar.

Change-Id: Ibdae5f90ffd0a71a3de4ba945238239faa0b18b2
2014-07-21 17:36:45 +00:00
Adam Powell
33a234b3b0 Merge "Sort ResolverActivity items based on UsageStats" into lmp-dev 2014-07-21 15:42:19 +00:00
Santos Cordon
9cc383353e Change display Strings to CharSequence (1/2)
Bug: 16416927
Change-Id: I81cd3572f3931cd97611621a1db12bea165bda56
2014-07-21 18:05:52 +00:00
Andrew Solovay
6f4d821003 am 30aa5924: am 643fa8d1: Merge "docs: Noted how singleTop affects "up" navigation." into klp-modular-dev
* commit '30aa5924f0a372a10c7245a16ee460359826ab9c':
  docs: Noted how singleTop affects "up" navigation.
2014-07-21 17:53:30 +00:00
Craig Mautner
1716baa6d3 Merge "Rename flag and attribute per API council" into lmp-dev 2014-07-21 15:42:19 +00:00
Ricardo Cervera
e6ab031e3c am fef00111: am d73eb7f9: am 940ae930: Merge "docs: Added note suggesting use of Android Studio over ADT" into klp-modular-docs
* commit 'fef0011144e2223df382abae412f145c5ea41548':
  docs: Added note suggesting use of Android Studio over ADT
2014-07-21 17:15:09 +00:00
Craig Mautner
7f72f53704 Rename flag and attribute per API council
ActivityInfo.DO_NOT_PERSIST => PERSIST_NEVER.
android:persistableMode="doNotPersist" => "persistNever".

Fixes bug 16400594.

Change-Id: I94d25f7d2e3dc453b1251c89bce8c210a65dc331
2014-07-21 10:07:12 -07:00
Adam Powell
09a65601b2 Sort ResolverActivity items based on UsageStats
Sort targets by the total amount of time the user has spent with their
containing package in the foreground.

Bug 15694906

Change-Id: I63c956424f78eb22911517674dfefd96901d19f8
2014-07-20 17:12:13 -07:00
Adam Powell
f1489c75f6 Merge "Allow focusable in touch mode views to ignore touchscreen focus blocks" into lmp-dev 2014-07-19 22:40:06 +00:00
Alan Viverette
c2ae1a6b45 Merge "Move insets out of edit text background" into lmp-dev 2014-07-19 22:40:06 +00:00
Alan Viverette
c6696c11d7 Move insets out of edit text background
BUG: 16405246
Change-Id: I7eb5b4e33071940cd835999325d2265a92db7e33
2014-07-21 10:54:55 -07:00
Alan Viverette
340c98cae8 Merge "Always apply surface insets" into lmp-dev 2014-07-21 15:42:19 +00:00
Alan Viverette
ac89416c77 Always apply surface insets
Change-Id: I9d8ad0c7fcf7a1016e01c2332f45614da5d2cf0c
2014-07-21 12:10:30 -07:00
Jean-Michel Trivi
122f599bb4 Merge "AudioAttributes for SoundPool" into lmp-dev 2014-07-19 22:40:06 +00:00
Jean-Michel Trivi
55a30c41b6 AudioAttributes for SoundPool
Add support for building a SoundPool instance and specify
 the AudioAttributes.
Remove SRC quality which was never implemented, while leaving
 room for supporting it later through the Builder pattern.
Remove stream types.
Update AudioService's use of SoundPool to the new scheme.

Change-Id: Ie51e4008684e5ba25f9b7368098e4f20266a15c7
2014-07-20 18:12:00 -07:00
Baligh Uddin
7226b9b62d Import translations. DO NOT MERGE
Change-Id: Iad977cd9e130e353572188f6cac5c004268fc28d
Auto-generated-cl: translation import
2014-07-20 20:43:58 +00:00
Jean-Michel Trivi
e9111d3067 Merge "API for audio session ID generation" into lmp-dev 2014-07-19 22:40:06 +00:00
Jean-Michel Trivi
289cc8e887 API for audio session ID generation
Expose the value used by the framework to generate an audio
 session ID when a value isn't known.
Rename allocateAudioSessionId() to generateAudioSessionId()
 as this operation doesn't "allocate" anything, and there is
 no allocated resource to free after this operation.

Bug 16401631

Change-Id: I7a7bc05b39ea0b024ff225254eb755a9c85a2ad9
2014-07-20 11:25:48 -07:00
Yao Chen
e3504260b9 Merge "Updated media browsing API & tests." into lmp-dev 2014-07-18 22:16:50 +00:00
Youngsang Cho
82992fb791 Add season/episode related constants in TvContract.Programs
Change-Id: I8d89157b1fbfea062bba73e2534ab0a27112f010
2014-07-21 21:20:27 -07:00
Yao Chen
17d47989ee Updated media browsing API & tests.
Change-Id: I3a1e3eead99a98b1890e05843dd90203cee517b7
2014-07-21 21:14:43 -07:00
destradaa
8207c58490 Merge "Fix GpsLocationProvider to return GpsStatus and Nmea events. b/16393308" into lmp-dev 2014-07-17 21:15:46 +00:00
destradaa
902f129dd1 Fix GpsLocationProvider to return GpsStatus and Nmea events.
b/16393308

Change-Id: Idda9e769b96bcbc3e1beb9f506a853a6403ea254
2014-07-21 13:01:30 -07:00
Andrew Lee
faa0f30a58 Merge "Add video call profile constructor which takes video state only." into lmp-dev 2014-07-19 22:40:06 +00:00
Santos Cordon
e8dc4bef00 Sent initial data to telecomm on connection creation. (1/3)
Telecomm was not sending the initial state for new connections forcing
the connection services to postpone when they set data on the connection
which resulted in hacky code.  This CL makes use of a
ParcelableConnection to send the intial connection data.

Change-Id: If571414aba19fa1bb282e30632431962b8366cf4
2014-07-21 19:29:39 +00:00
Andrew Lee
055e5a227b Add video call profile constructor which takes video state only.
Bug: 16014280
Change-Id: I218256ae1e20783084412758cf5a44f7f5dec52e
2014-07-21 12:20:56 -07:00
Andres Morales
1e586e08bf Don't register PDBService if not available on device
Bug: 16455896
Change-Id: If576ce8e837ba498f10848795706efb29e76974a
2014-07-21 12:16:32 -07:00