192023 Commits

Author SHA1 Message Date
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
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
Joe Fernandez
d575b1cfea docs: M Preview Program Overview page
Change-Id: I3d5c06d8f5196d0fc1c216038221e6e31fc4f626
2015-05-12 16:04:22 -07:00
Roozbeh Pournader
49455ab3f5 Make Noto Sans Japanese default font on extended profiles.
This experimentally makes Noto Sans Japanese the default Japanese
font.

Bug: 21074688
Change-Id: I4a9396a03bd758541574431760d5d387a472bec6
2015-05-12 16:00:55 -07:00
Roozbeh Pournader
0ca0f58000 Merge "Add hyphenationFrequency attribute to TextView and StaticLayout." into mnc-dev 2015-05-12 22:59:47 +00:00
Jeff Sharkey
7d2af54a98 New "sm" shell tool to call StorageManager.
Surface basic StorageManager commands through shell tool, like
simple listing of disks and volumes, and commands like mounting and
partitioning.

The output is designed to be parsed by host-side testing tools,
instead of relying on fragile dumpsys parsing.

Bug: 19993667
Change-Id: I993e92ecf57996678965945f0ae648b392a77ea2
2015-05-12 15:52:43 -07:00
Alan Viverette
9050c97bc6 Use drawableStart in dialog list item so we can set padding
And you might think, why does CheckedTextView implement its own drawable
when we have a perfectly good TextView that not only supports drawables
but also supports adjusting the padding?

Good question.

Change-Id: I1ed598846c8a08fffaec9258cf0c3ff86c25353a
2015-05-12 15:25:29 -07:00
Ruben Brunk
0e679e75a2 camera2: Fix DngCreator default crop size.
Bug: 20090682
Change-Id: I4343fc10a4f812f706a5423b133fcd32a794976a
2015-05-12 15:09:10 -07:00
Xiyuan Xia
55e603ee9d Merge "Make PIN/Password/Pattern check async" into mnc-dev 2015-05-12 22:08:10 +00:00
Adam Powell
13036beab1 Apply API feedback for ChooserTarget
* Add better docs to ChooserTarget
* Change ChooserTarget to use android.graphics.drawable.Icon instead
  of Bitmap
* Preserve EXTRA_REFERRER when starting ChooserTargets

Bug 21045119

Change-Id: If859b86344cebaed3eaae477af132e7d7600aba6
2015-05-12 15:06:24 -07:00
Yohei Yukawa
c6c7cd2736 Show IME switcher also when hardware keyboard is connected.
As per discussion with UX team, we start showing IME switcher UI
not only when there are multiple IMEs are enabled but also when
a hardware keyboard is connected.

This CL also simplifies needsToShowImeSwitchOngoingNotification()
by renaming it with shouldShowImeSwitcherLocked() and unifying
related condition checking into that method.

Bug: 19496012
Change-Id: Id44724a2a46190382c283a52ece8edffb740807d
2015-05-12 15:05:45 -07:00
Mike Lockwood
62975ae43d Merge "MidiManager: Address API Council feedback:" into mnc-dev 2015-05-12 22:02:45 +00:00
Roozbeh Pournader
95c7a13f2a Add hyphenationFrequency attribute to TextView and StaticLayout.
This patch adds plumbing to TextView and StaticLayout to control the
frequency of automatic hyphenation used in laying out paragraphs.

Bug: 21038249
Change-Id: Ib45de190eb0a1ed738e69fd61f2b39561b11aec7
2015-05-12 14:56:57 -07:00
Glenn Kasten
5f68c7a3f8 Spell out parameters
Change-Id: I7937e5f84fabee64cc1ebd5b8c1b45a1ff759ffe
2015-05-12 14:35:23 -07:00
Jinsuk Kim
6dda58e7ac Merge "CEC: Let playback device send <Standby> upon power off" into mnc-dev 2015-05-12 21:34:31 +00:00
Yang Ni
20e16f4f76 Merge "Elaborate on description of ScriptGroup.execute" into mnc-dev 2015-05-12 21:25:29 +00:00
Hiroshi Yamauchi
5b406cb7b5 Replace JNI primitive array critical calls with non-critical ones.
The files generated by glgen + manually edited util.cpp.

Bug: 19235243

Change-Id: Id48d39bafc21c27fbf667ed0f4e082dda3a37be3
2015-05-12 14:24:09 -07:00
Santos Cordon
115cdd488b Merge "Fix build break." into mnc-dev 2015-05-12 21:23:06 +00:00
Jason Sams
0cf42ffbbe Merge "Fix API name based on API review" into mnc-dev 2015-05-12 21:20:15 +00:00
Santos Cordon
4055d64899 Fix build break.
Change-Id: Icca3603d3f4a38146fb9bc04a384a22ece4014f4
2015-05-12 14:19:24 -07:00
Adrian Roos
51cfdd622f Merge "Only dispatch systemUiVisibility when it actually changes" into mnc-dev 2015-05-12 21:16:24 +00:00
Adrian Roos
389beec68d Only dispatch systemUiVisibility when it actually changes
Bug: 19000727
Change-Id: I9302746281188186d18256d45fee681bd2ab50d5
2015-05-12 14:12:40 -07:00