192302 Commits

Author SHA1 Message Date
Brian Colonna
9a61013d2d Merge "Removed unused Face Unlock aidl files" into mnc-dev 2015-05-13 13:27:15 +00:00
Erik Kline
cf304fb35c Merge "Initial IpReachabilityMonitor implementation." into mnc-dev 2015-05-13 13:11:13 +00:00
Erik Kline
787d935611 Initial IpReachabilityMonitor implementation.
Add a class that monitors on-link IP reachability and notifies
callers whenever any on-link addresses of interest appear to have
become unresponsive.

Bug: 18581716
Change-Id: I333eee6fe30fa97a21297c6745de14ceb95bb661
2015-05-13 21:36:15 +09:00
Tobias Sargeant
ebc456691e Merge "Improve documentation and rename insertVisualStateCallback to postVisualStateCallback." into mnc-dev 2015-05-13 11:33:18 +00:00
Tobias Sargeant
b365604977 Improve documentation and rename insertVisualStateCallback to postVisualStateCallback.
Bug: 21043955
Change-Id: I077cad68fb519581387d1b474f27d43222f68e3b
2015-05-13 11:23:57 +01:00
Erik Kline
5a5745b30c Merge "Add basic netlink library code." into mnc-dev 2015-05-13 07:05:00 +00:00
Lorenzo Colitti
de803d3af5 Merge "Fix a race when removing from LegacyTypeTracker." into mnc-dev 2015-05-13 06:31:38 +00:00
Erik Kline
6193aa3305 Add basic netlink library code.
Add netlink socket helpers and parsing code for basic netlink messages.
Additionally, support from some neighbor discovery -specific messages
is included.

Bug: 18581716
Change-Id: Ib2aa924222b63cdbebf09a8bf8ff35ee24269fc5
2015-05-13 15:18:39 +09:00
Jeff Sharkey
44b4add4ce Merge "New "sm" shell tool to call StorageManager." into mnc-dev 2015-05-13 05:27:30 +00:00
Nancy Chen
16b84b0ab5 Add phone account field for voicemail to distinguish the source.
When inserting a voicemail, sometimes we will want to provide a phone
account so add relevant fields to voicemail object and builder.
Also added insertion logic for phone account details into
VoicemailContract.

Bug: 19990866
Change-Id: I8848cc86167a83f93248d809a6b0164f5ebf421f
2015-05-12 22:07:12 -07:00
Adam Lesinski
dfa5e0705f AAPT2: Fix issue where @null was wrongly encoded
@null must be encoded as TYPE_REFERENCE with a value of
0. TYPE_NULL is used by the runtime as a placeholder when resolving
style attributes. If we set a style attribute to TYPE_NULL,
the runtime will throw. The runtime will convert a TYPE_REFERENCE
with value 0 to a proper null value.

Change-Id: Id983ca7e1fbee3124dddafe32f1b5741b824225b
2015-05-12 21:56:43 -07:00
Fred Chung
ba64991757 am 09a8de75: Merge "docs: M Preview Program Overview page" into mnc-preview-docs
* commit '09a8de7576945886b3de5ba70a8349629144ecd9':
  docs: M Preview Program Overview page
2015-05-13 04:36:53 +00:00
Lorenzo Colitti
976f044b2b Only activate the wifi alternate reality hack for KK and lower
Currently, the hack is activated for apps that target L or lower.
Per discussion, we should activate the hack only for apps that
target KK or lower. Apps that target L or above must instead use
the appropriate multinetwork APIs to deal with this situation.

Bug: 20081183
Change-Id: I29e1989e7a07aaabc10f604c20ecdc0d8b5366a3
2015-05-13 13:35:57 +09:00
Fred Chung
09a8de7576 Merge "docs: M Preview Program Overview page" into mnc-preview-docs 2015-05-13 04:28:53 +00:00
Dirk Dougherty
45fed51720 am 98794c01: Doc change: add new engagement and other distribute files.
* commit '98794c012c45369484df7abfa0bdf065447aff58':
  Doc change: add new engagement and other distribute files.
2015-05-13 04:06:00 +00:00
Svet Ganov
20cb37c6cb Merge "Lower protection level of permissions of permissions" into mnc-dev 2015-05-13 03:55:37 +00:00
Svet Ganov
b467330b14 Lower protection level of permissions of permissions
Permissions ACCESS_NETWORK_STATE, INTERNET, NFC, DISABLE_KEYGUARD
do not lead to unrecoverable damage and do not lead to PII leaks,
hence they do not meet the bar to be runtime permissions and we
are lowering their protection level.

bug:21078873

Change-Id: I30c8e742d6a69474171994b65ce070068402ae47
2015-05-12 20:50:17 -07:00
Adam Lesinski
d13fb24986 AAPT2: Debug: Dump only targetted style
Change-Id: Id7c5a4b5d0880520e1fea05e5a31d398946c5f05
2015-05-12 20:45:20 -07:00
Dirk Dougherty
98794c012c Doc change: add new engagement and other distribute files.
Change-Id: I1c80d134b6637db9f763b6a587cdc5817a66b9be
2015-05-12 20:42:10 -07:00
Adam Lesinski
bdaa092a19 AAPT2: inferred style parent processing
Change-Id: I8fbc4feef16b6039cf4c526fcfb767dc75a9c131
2015-05-12 20:41:31 -07:00
Adam Lesinski
330edcdf13 AAPT2: Support static lib referencing static lib
When a static library A references static library B,
and app C references both A and B, we get the following symbol merging,
symbols from library B get imported twice.

We must only check that symbol references to library B are valid
when building library A. We should only merge all the symbols
when building final app C.

Change-Id: I23cba33b0901dcbb5328d9c9dfaa6a979c073c36
2015-05-12 20:41:31 -07:00
Selim Cinek
131c1e2960 Made sure that HUNS with full screen intents stay pinned
When a HUN came in with a full screen intent came in and the shade
was open, the notification was not pinned and therefore got lost
when the shade was closed, potentially leading to missed alarms
or calls.

Bug: 20431566
Change-Id: I0d5da0f9baba8d9f68ba2755c40c5fd9a8471191
2015-05-13 03:35:38 +00:00
Jae Seo
3d04b76934 TIF: API Review: android.media.tv
Addressed the feedback from the API Review:

android.media.tv.TvView.TimeShiftPositionCallback
Please add more documentation to explain why we are using the wall-clock
time here.

android.media.tv.TvInputService
onTimeShiftSetPlaybackRate should be renamed to
onTimeShiftSetPlaybackParams and pass in the PlaybackParams object
(formerly known as PlaybackSettings) instead of the rate and mode
separately.

android.media.tv.TvTrackInfo
getDescription() should return a CharSequence not a String.

android.media.tv.TvTrackInfo.Builder
setDescription() should take a CharSequence as input.

android.media.tv.TvView
Change timeShiftSetPlaybackRate() to setTimeShiftPlaybackParams() and
use the PlaybackParams object (formerly known as PlaybackSettings)
instead of the rate and mode separately.

Bug: 21045120
Change-Id: I768665ae9c385fcb034bfb346c21b4c9f0891172
2015-05-12 20:14:37 -07:00
Fabrice Di Meglio
a5c24e3bfe Merge "Add IntentFilter auto verification - part 9" into mnc-dev 2015-05-13 01:53:08 +00:00
Joe LaPenna
37d0c94f7a am 0cbd0cbd: Merge "Reduce display device log spam." into lmp-mr1-modular-dev
* commit '0cbd0cbd138cdaa367d21f58d8a3fd36f1e73f69':
  Reduce display device log spam.
2015-05-13 01:37:02 +00:00
Yorke Lee
642737c8ae Merge "More video related API fixes" into mnc-dev 2015-05-13 01:33:15 +00:00
Joe LaPenna
0cbd0cbd13 Merge "Reduce display device log spam." into lmp-mr1-modular-dev 2015-05-13 01:26:26 +00:00
Selim Gurun
94fa03876e Merge "Add a temporary wrapper for ViewStructure until Webview APK is updated" into mnc-dev 2015-05-13 01:23:52 +00:00
Amith Yamasani
3fec527782 Merge "Allow exemption to idle apps at periodic intervals" into mnc-dev 2015-05-13 01:22:58 +00:00
Nicolas Prevot
ebe2d99160 Fix the doc for ACTION_MANAGED_PROFILE_PROVISIONED.
In the html doc, it showed up as (@see #ACTION_PROVISION_MANAGED_PROFILE).

Change-Id: I4b3eec26525c6bd87319296f4bb89d037dfc3d03
2015-05-12 18:17:17 -07:00
Selim Gurun
0b408586c6 Add a temporary wrapper for ViewStructure until Webview APK is updated
It turned out that after the API change from ViewAssistStructure to
ViewStructure, the suggested mechanism did not work, and webview
started throwing abstractmethoderror exceptions. Temporarily
solve the problem by wrapping ViewStructure inside a
ViewAssistStructure. Once Webview APK is updated, drop it.

Change-Id: I09dfe7dac9c2bc7c037d842844c61dd879629470
2015-05-12 18:06:59 -07:00
Alan Viverette
fe1ca2c535 Strip PNG metadata
Change-Id: I0d981780f9e6cc8823ff75e662af3f050ff00037
2015-05-12 17:46:07 -07:00
Alan Viverette
5401b4cd60 Merge "Update APIs to fix build" into mnc-dev 2015-05-13 00:29:09 +00:00
Alan Viverette
343639b659 Update APIs to fix build
Change-Id: I79e15ed436efe9f7223bc54e3737457885fdc571
2015-05-12 17:26:47 -07:00
Roozbeh Pournader
dac766c7a3 Merge "Make Noto Sans Japanese default font on extended profiles." into mnc-dev 2015-05-13 00:19:33 +00:00
Svet Ganov
221ffb2662 Merge "Runtime permissions for system components not revokable - framework" into mnc-dev 2015-05-13 00:17:46 +00:00
P.Y. Laligand
1018881ce5 DO NOT MERGE - Overlay display now support multiple modes.
b/20723241

Change-Id: I0262a9bc85b94ada2aa08b1805b9996a523fe4f9
(cherry picked from commit af9c52eb45d772301bf96dd6c54455ffa954ead5)
2015-05-13 00:15:51 +00:00
P.Y. Laligand
ba4d9162ba Merge "DO NOT MERGE - Allowing only a subset of display attributes to get overridden." into mnc-dev 2015-05-13 00:15:11 +00:00
Ruben Brunk
38303bccb4 Merge "camera2: Fix DngCreator default crop size." into mnc-dev 2015-05-13 00:10:41 +00:00
Ruben Brunk
4143fbcfa8 Merge "camera2: Fix crop selection in LEGACY." into mnc-dev 2015-05-13 00:09:50 +00:00
Fabrice Di Meglio
ef741da4d4 Add IntentFilter auto verification - part 9
- make verifyIntentFilter(int, int, List<String>) a SystemApi

See bug #19628271

Change-Id: I8b1f29da385867beb8b19829c124db1821450c41
2015-05-12 16:58:30 -07:00
Adam Powell
8c6cd9088e Merge "Apply API feedback for ChooserTarget" into mnc-dev 2015-05-12 23:57:32 +00:00
Alan Viverette
b23def0ca0 Merge "AnimatedRotateDrawable should inflate child elements" into mnc-dev 2015-05-12 23:53:37 +00:00
Svet Ganov
b3f22b48bb Runtime permissions for system components not revokable - framework
Change-Id: I5b1d7bb1618ffa8d1231618ece47d0905c82f7bf
2015-05-12 16:49:19 -07:00
Yorke Lee
32f2473160 More video related API fixes
android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String

android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
2015-05-12 16:45:14 -07:00
Alan Viverette
aa358194f0 AnimatedRotateDrawable should inflate child elements
This was missed during the update that extended from DrawableWrapper.

Bug: 20089503
Change-Id: Ie84c040deaecb415e882842f2172a344afa8df7b
2015-05-12 16:44:59 -07:00
Glenn Kasten
ada99cd762 Merge "Spell out parameters" into mnc-dev 2015-05-12 23:39:13 +00:00
Alan Viverette
c25771ce22 Merge "Update scrollIndicators XML enums to match View constants" into mnc-dev 2015-05-12 23:34:15 +00:00
Alan Viverette
a789325a0f Update scrollIndicators XML enums to match View constants
Bug: 21027462
Change-Id: I41e503e218253cf63bc44a82345f8b086261e379
2015-05-12 16:25:47 -07:00
Amith Yamasani
520d8f2ac6 Allow exemption to idle apps at periodic intervals
Triggers are device idle mode changing as well as
internal delayed message handlers.

Bug: 20066058
Change-Id: I0627cfbcc16cfc2b8ac7d298fd2c681a5a6571dd
2015-05-12 16:08:50 -07:00