55462 Commits

Author SHA1 Message Date
Nicolas Prevot
c3093eb86b Merge "Making getProviderMimeType work across users." into lmp-dev 2014-08-07 18:39:40 +00:00
Nicolas Prevot
1dddc7fc79 Making getProviderMimeType work across users.
For apps with cross-user uri grants, but without INTERACT_ACROSS_USERS.

BUG: 16128346

Change-Id: I0136cd274eaf457804d196c09f746f66c1fe599f
2014-08-08 15:26:23 +01:00
Brian Carlstrom
ce5bbbea08 Move image classes options from art to AndroidRuntime [frameworks/base]
Bug: 15165413

(cherry picked from commit 108166c749f0418d45f220419a9611c4afec1311)

Change-Id: Ib0d638ac3ca6668a5be04cdbdfd46740dabeceaa
2014-08-06 22:25:01 -07:00
Brian Carlstrom
0d8fb01963 Disable compilation based on vold.decrypt. [frameworks/base]
Bug: 15165413

(cherry picked from commit 4fd561637a173c7fa6a1d71e9115db1db90514ff)

Change-Id: I2a13b63f9d4a7ffd69a8d21666c6dce84739c6ed
2014-08-06 22:25:01 -07:00
Brian Carlstrom
3fbfbb4ade Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/base]
This will allow us to conditionally change the compiler-filter based on other properties.

Bug: 15165413

(cherry picked from commit f60d3a4702f6d00d7edb5d348c53b9b03ae16b76)

Change-Id: I293c81ba817e9abbf9c05b3fb554ef2f0ad0c4ed
2014-08-06 22:25:00 -07:00
Michael Lentine
b46dea562c Merge "New screen shut down animation." into lmp-dev 2014-08-06 23:49:20 +00:00
Michael Lentine
0839adb25c New screen shut down animation.
Bug: 16845774

Change-Id: I355f8d73f54a873f6df180dc48c177b993f170f9
2014-08-07 19:32:40 -07:00
Dan Sandler
dd06d04064 Publicize Material notification text styles.
Important for anyone attempting to make custom content views
that match the Material style of Builder-created
notifications.

Bug: 16520833
Change-Id: Ifc6c54cc50aaceed252dfbab7459b15216d53df1
2014-08-08 09:01:50 -04:00
Dianne Hackborn
38b5e8768c Merge "Fix issues #16655104 and #16875776 in battery stats." into lmp-dev 2014-08-07 15:00:45 +00:00
Dianne Hackborn
cd0e335be3 Fix issues #16655104 and #16875776 in battery stats.
Issue #16655104: Android system used 21% of battery

We weren't clearing the current process state when we now retain
process objects across resets.

Issue #16875776: abnormal outliers in screen-off battery life in go/batterystats

The checkin data since charged was using the since unplugged data
for the amount of drain with the screen on/off.

Also added a new version tag in the checkin output containing
the platform build number and internal version format number, to
start moving away from the wasteful version code on every line.

And fixed a bug in figuring out when things have changed over
discharge levels.

Change-Id: I89b89513a748016aacc848f14bbbc8b2400d92ca
2014-08-07 22:34:27 -07:00
Jeff Sharkey
6c0b9da65e Handle null IPackageDeleteObserver.
Bug: 16862614
Change-Id: I0c197a994b89d49123027f24fe46827c2b994ab6
2014-08-08 05:08:58 +00:00
Adam Powell
82a53881f1 Un-hide WindowInsets#isConsumed
Bug 16874227

Change-Id: I8b6386b46e71a06890cda2d3d6d9278ab35fc700
2014-08-07 18:52:22 -07:00
Wei Wang
717094176f Merge "Add a TLV to support different result storage" into lmp-dev 2014-08-07 18:39:40 +00:00
Wei Wang
0d0df3ce25 Add a TLV to support different result storage
Change-Id: Ic20a1720b783508cf85b234950b7fd0c79e9e7c3
2014-08-07 18:57:24 -07:00
Yigit Boyar
414222c28a Merge "Fix RTL horizontal spacing in Gridview" into lmp-dev 2014-08-06 23:49:20 +00:00
Raph Levien
e272a26de1 Make letterSpacing and fontFeatureSettings public
We added APIs and TextView xml attributes to give access to letter
spacing and OpenType features. This patch makes these changes part of
the public API.

Bug: 15246510
Bug: 15594400

Change-Id: I7a54cb0da2746304a5c72a687612a279cac652e0
2014-08-07 18:37:16 -07:00
Alan Viverette
f79aad6308 Send accessibility click event after calling click listener
This ensures that any state changes made by the click listener are
correctly reflected in the accessibility event.

BUG: 16847704
Change-Id: Ib0a3b3cd5879bb77c2cd3d97e923cdfa31c8051a
2014-08-08 01:11:33 +00:00
Alan Viverette
1a2aad0abb Fix docs build
Change-Id: Ieaea48c597efd23449615d22969a107e607bbdc2
2014-08-08 01:07:02 +00:00
Alan Viverette
4afbbfd547 Add insets to dialog background
Also adds inset attribute to InsetDrawable to control all four insets.

BUG: 16868069
Change-Id: I909d05a6dc69747e9092e9ac34551b18d70d2b9f
2014-08-08 01:06:26 +00:00
Yigit Boyar
661041194c Fix RTL horizontal spacing in Gridview
Bug: 16659566
Change-Id: I0e7c834c6fedf39562fe880284373eda43412563
2014-08-07 23:10:06 +00:00
Jeff Sharkey
f060095423 Logic to confirm uninstalls.
Prompt user for confirmation when caller doesn't have DELETE_PACKAGES
permission.  Also extend uninstall events to return failure codes.

Bug: 16515814
Change-Id: I15b52190ff02dbeaaf038b92364264f64c57ba89
2014-08-08 00:45:20 +00:00
Alan Viverette
b1e1dbfb36 Update disabled states to be less opaque
Also adds Resources method for retrieving floating-point values.

BUG: 16374059
Change-Id: I68c6a40cbe5badfad624548b9abf2d657dbc2019
2014-08-08 00:18:23 +00:00
Christopher Tate
58d467a584 A little more system API in RestoreSetObserver
Bug 16542048

Change-Id: I8b773df872e3cc50c42645e3833d40a691edc4e7
2014-08-08 00:02:25 +00:00
Etan Cohen
bb7b6d0874 Add COLP/COLR configuration success/failure message strings.
Change-Id: I0985c9a84b92b2111afc189a5c46aed08496ace4
2014-08-07 23:30:43 +00:00
Christopher Tate
54f0894169 Merge "API to tell the transport to cancel a full backup in progress" into lmp-dev 2014-08-07 18:39:40 +00:00
Christopher Tate
e079264b98 API to tell the transport to cancel a full backup in progress
Bug 16524520

Change-Id: If2cbffd3c8a03bf4eb7b11ff1ae784c437e27e7f
2014-08-07 23:16:19 +00:00
RoboErik
dbf45c14af Merge "Add descriptions to MediaController buttons" into lmp-dev 2014-08-07 17:50:16 +00:00
RoboErik
94ca536419 Add descriptions to MediaController buttons
This widget was missing some accessibility descriptions.

bug:16536697
Change-Id: I6f50fd1f4fc0a804151ff465b612128d71a1fde6
2014-08-07 15:48:46 -07:00
Alan Viverette
7a83aa016b Merge "Update cab_background assets for Material" into lmp-dev 2014-08-07 15:00:45 +00:00
Alan Viverette
da42a9c2b5 Update cab_background assets for Material
BUG: 16491778
Change-Id: I1bef337db42668b3b0c4ca4f8700c50025dfaa1f
2014-08-07 15:57:57 -07:00
ztenghui
f143ae8ffe Removing fill and stroke opacity
bug:16850076

attrs/public.xml update will be separated for build break friday.

Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f
2014-08-07 22:48:46 +00:00
Igor Murashkin
6d8a97e139 camera2: (LEGACY) Don't stop preview when there are no requests left
* This allows flash mode=TORCH to keep working if only a single
request is submitted and the device goes to the idle state.

Bug: 16305644
Change-Id: Id2e3451f85dbf9b545d3a70977b8fcfb0922a0eb
2014-08-07 22:05:33 +00:00
Kenny Guy
49ecc4ec6a Merge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev 2014-08-07 18:39:40 +00:00
Adam Powell
4884c64288 Add AbsListView#fling
ScrollViews can programmatically fling from public API and now
ListViews/GridViews can too. This helps support applications that wish
to propagate flings across scrolling containers as part of nested
scrolling.

Bug 15538504

Change-Id: I0318c6717c7fb8788a006f96c8f8170556dd8b9e
2014-08-07 14:19:25 -07:00
Kenny Guy
c08cb0ed7a Revert "Revert "Remove String version of getBadgedLabel""
This reverts commit 82020f109d78af889dfc5e86ede04c54fb6f1de2.

Bug: 16484455
Change-Id: I601edbb705cacd29bf30f90c8666c5f516796ebb
2014-08-07 21:11:15 +00:00
Chris Craik
e54f075855 Merge "Cap scales used for tessellation with minimum and maximum" into lmp-dev 2014-08-07 17:50:16 +00:00
Christopher Tate
2e5979236c Mark beginRestoreSession() as system API
Bug 16874911

Change-Id: Idb06ebf2d0f54bb13af1d2eeacf0d7b06fda68db
2014-08-07 22:44:15 +00:00
Jeff Sharkey
7328a1b39b Logic to confirm permissions on install sessions.
When an app without INSTALL permission attempts to commit a session,
we involve user to confirm permissions.  We currently point at the
base APK, which defines all permissions for an app, handling the case
where a session may only be adding splits.

Add failure codes to represent rejection.  Fix bug by ignoring stages
during initial boot scan.

Bug: 16515814
Change-Id: I702bb72445216817bcc62b79c83980c1c2bb0120
2014-08-07 22:40:38 +00:00
Chris Craik
74cf7e6a25 Cap scales used for tessellation with minimum and maximum
bug:15615144
Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6
2014-08-07 22:26:55 +00:00
John Spurlock
1ca722548d Merge "Saver: update feature description." into lmp-dev 2014-08-07 18:53:12 +00:00
John Spurlock
b95d8cdc2c Saver: update feature description.
Bug:16866427
Change-Id: Ib9a52b9ce13a0a84eaade5751ad48213b7f5cc26
2014-08-07 16:11:21 -04:00
Michael Wright
6720be4e8c Allow media projections to create public presentations.
Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
2014-08-07 20:07:04 +00:00
Prerepa Viswanadham
d5324e4183 OnLost/OnFound integration - onfound match is done in framework,
whereas hw signal is used to report onlost.

Bug 16733710

Change-Id: I7b177b7afd730341c336818857436c095735b53b
2014-08-07 19:51:59 +00:00
Christopher Tate
bcc48b6cb0 Merge "Reify the transport lookup/selection API" into lmp-dev 2014-08-06 23:49:20 +00:00
Christopher Tate
d5cf722ae6 Reify the transport lookup/selection API
Introduce a stable BackupTransport interface class for transport
implementations to derive from.

Make the interface for viewing/selecting the active backup transport
part of the stable API.

Make restore-related classes (RestoreSession, RestoreSet) stable API.

Express backup manager APIs needed for transport operation as
@SystemApi methods in BackupManager.

Bug 16661321

Change-Id: I423b87ae8f45c1b77831d4f8ffd97715484c2d2b
2014-08-07 19:43:22 +00:00
Dianne Hackborn
df192a47fc Merge "Fix to call VoiceInteractionSession.onDestroy()." into lmp-dev 2014-08-07 18:53:12 +00:00
Dianne Hackborn
9a35d78cad Fix to call VoiceInteractionSession.onDestroy().
Change-Id: I2b4f19538700c691dac3a83aadfa0959ef1fe458
2014-08-07 12:34:37 -07:00
Dianne Hackborn
0068d3dcf1 Fix issue @16555033: Battery history overflowing too much
- No longer track process starts/stops normally.
- Increase buffer size to 256KB.
- Buffer size increase requires reworking how battery stats
  are retrieved, since it is going to be hitting IPC limits.
- Also, store the last full stats after a reset, to be reported
  at the next checkin.
- Also, discharge and charge times are tagged with the screen
  and battery save state during that time.

Change-Id: Ie108ac9b626846108a9bb858101ac2b93276ac16
2014-08-07 12:19:39 -07:00
Behdad Esfahbod
ec2332121b Merge "Remove dependency on SkPaintOptionsAndroid" into lmp-dev 2014-08-07 18:49:59 +00:00
Derek Sollenberger
6f03023ece Remove dependency on SkPaintOptionsAndroid
Change-Id: I579a3503697efe3b8fd9bc809a6c9bfbf735cb1b
2014-08-07 14:38:51 -04:00