147472 Commits

Author SHA1 Message Date
Jae Seo
546c635ad9 TIF: Change CEC specific names to more general ones
Now MHL device information is also a part of HdmiDeviceInfo (previously
HdmiCecDeviceInfo). This change adjusts method/variable names across our code
base to reflect that.

Bug: 16215362
Change-Id: I7a6692329f39842a4aec9a4ff036eca5474cfd33
2014-08-07 14:51:19 -07:00
Deepanshu Gupta
c8f2d5e6dc Add font rename script to rename one font only.
This change adds a script that renames only font at a time. This helps
in writing better Makefile rules and passes the job for parallelization
to the make rather than doing it in python which doesn't support ctrl-c
properly.

Change-Id: Icd380e3cc5d744260d6a9f497aa65a1a6c829c2e
2014-08-07 21:41:11 +00:00
Deepanshu Gupta
7ec9d001a9 Create a copy of the build_font.py
The copy will be modified to support renaming only one font at a time.
This is done in two steps to improve the diffs.

Change-Id: I47283745c25882283f0464c17e603396a8c9141e
2014-08-07 21:40:34 +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
Adam Lesinski
e8e9192507 Have styleable indices be non-final for library projects
Invoking aapt after merging resources from a library project
may yield a different ordering to styleable arrays, so have
the indices be non-final too.

Bug:16842410

Change-Id: I0432bea03dc4312d5908a770fc70a11f0a1596ae
2014-08-07 22:37:12 +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
Robert Greenwalt
bf4eed772a First pass of changing statusbar connectedness
Switching from GCM-only inet condition reports to using our network
validation (captive portal check).

Note that currently the GCM signal is disconnected.  Next step is to
make the bad-network report API trigger a re-evaluation of the network
and get negative reports from the NetworkMonitor.

Change-Id: Ie2ebab1e5c04775e3c4d6738f656a6c8157dba76
2014-08-07 22:31:05 +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
Robert Ly
8e115e6460 Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs 2014-08-07 15:00:45 +00: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
Dan Sandler
e2a8c53f3f Merge "Link to new app notification settings from the inspector." into lmp-dev 2014-08-07 09:28:12 +00:00
Dan Sandler
e9a4e90db6 Link to new app notification settings from the inspector.
Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3
2014-08-07 12:04:36 -04:00
Kenny Guy
ae267d20c6 Merge "Revert "Remove String version of getBadgedLabel"" into lmp-dev 2014-08-07 09:28:12 +00:00
Kenny Guy
9962f335a1 Revert "Remove String version of getBadgedLabel"
This reverts commit ed0096c14ae1b17845bc9bb8fbb1cdc47adfdd68.

Change-Id: If026db7e804be81aaa02cfd2a4e1a0a03ee020f1
2014-08-07 16:48:06 +00:00
Kenny Guy
4a4f275f24 Remove String version of getBadgedLabel
It was left to allow unbundled apps time to update.

Bug: 16484455
Change-Id: Ibae2576ac7fc88000ec81c669e66536aaa2e3e79
2014-08-07 11:28:48 +00:00
Robin Lee
faa4b3cb06 Disallow switching managed profile to foreground
Another check in the ActivityManager to stop us from getting into an
invalid state by a fat-fingered 'am switch' etc.

@bug 16814252

Change-Id: Id65ab647d5a535cc2f965139a1b717cf65aa7e69
2014-08-07 10:15:45 +01:00
Yuncheol Heo
7dea98f6f9 Allow to use device's own physical address.
- Fixed JavaDoc.

Change-Id: I6fdbf6596b5f2e41a238b36e128ba0889725c813
2014-08-07 17:58:59 +09:00
Yuncheol Heo
2849b7ccd1 Go to nap when receiving <Active Source> for the other devices.
- Previously, it went to sleep when it got <Active Source>, but this
  causes the other side-effects like can't-wake-up when changing to HDMI
  port directly.

Bug: 15578870
Change-Id: I0ca5bd2372c9e5e7446592d66483900eeba75500
2014-08-07 17:30:08 +09:00
Terry Heo
df9f0a321e TIF: Add system API 'isSingleSessionActive()'
Bug: 16498558
Change-Id: I4f815f431051dbf786216d2b04e9737be451a508
2014-08-07 08:07:17 +00: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
Alex Light
a25dc2bbe7 resolved conflicts for merge of 37651b60 to lmp-dev-plus-aosp
Change-Id: I1fe0e64d2069b7424014bd3ff0bf6f80b439220d
(cherry picked from commit 1faf2d0d25550dc759481fd523456711808e8251)
2014-08-06 22:25:00 -07:00
Ricardo Cervera
edcf7c5167 Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs 2014-08-06 23:54:36 +00:00
Ricardo Cervera
46baa5ff7d Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs 2014-08-06 23:49:20 +00:00
Ricardo Cervera
e2de5ca8ad docs: Release notes for ADT 23.0.3
Change-Id: I9e68f4ecaec47b8a139f32773ef9916c3011061b
2014-08-07 14:49:03 -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
Prashant Malani
fed4a5565b Merge "Move wakelock release to handleMessage" into klp-modular-dev 2014-08-06 23:49:20 +00:00
Prashant Malani
7450614a49 Move wakelock release to handleMessage
There were certain code paths in handleDockStateChange() that were
exiting without releasing the wakelock. So we move the release to the
calling function to prevent stray held wakelocks.

Bug: 16841895

Change-Id: I8ae4d2ab8f775c42a893d3bcdef34321c5f631a6
Signed-off-by: Prashant Malani <pmalani@google.com>
2014-08-06 22:22:18 -07:00
Robert Ly
6f273458fb Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs 2014-08-06 23:49:20 +00:00
RoboErik
98cb95a998 Merge "Change URI type metadata back to text" into lmp-dev 2014-08-06 23:49:20 +00:00
RoboErik
67098d0963 Unhide MediaMetadata.Description
This unhides the method and inner class for getting a small version
of the metadata for display.

Change-Id: I22f484cecd5f0630ac22bb648baad842d211d135
2014-08-08 17:16:37 +00:00
Ji-Hwan Lee
ca18eb045b Merge "TIF: Make TvContract URI consistent" into lmp-dev 2014-08-07 16:56:07 +00:00
Ji-Hwan Lee
156aeecef2 TIF: Make TvContract URI consistent
- input/*/channel -> channel?input=*
- channel/#/program -> program?channel=#

Bug: 16806157, Bug: 16804331
Change-Id: Idbded032da166e789148c4b8e38ea521468fd9fa
2014-08-08 22:15:00 +09:00
Dake Gu
46c4d8dc88 Merge "Transition: remap if views in calling activity became invalid" into lmp-dev 2014-08-06 23:49:20 +00:00
Dake Gu
b04b36eaad Transition: remap if views in calling activity became invalid
In activity back,  the calling activity might have re-constructed
UI, the accepted views captured in calling activity  was detached
and no longer valid.  Re-query the calling activity for shared
element in such case.  If the app has reconstructed UI of calling
activity,  it is app's responsibility to assign same transition name
to new view where it desires to transition back to.

b/16853679

Change-Id: Ia6729c6082fbaf54c2ce17f695d5b8d66bd9187d
2014-08-08 18:29:10 +00:00
Alan Viverette
0df0e19f29 Merge "Don't make ripples respond to selection state" into lmp-dev 2014-08-08 16:09:03 +00:00
Alan Viverette
dbcbca4475 Don't make ripples respond to selection state
Also exports view pressed state for hierarchyviewer.

BUG: 16622634
Change-Id: I754428dd1d59f3b7450b01976a73d5151d27152e
2014-08-08 12:23:41 -07:00
Andrew Lee
752217bfc6 Aidl changes related to VideoCallProvider in Ims.
+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
2014-08-08 12:09:54 -07:00
Alan Viverette
f9b4c2cc6f Merge "Fix CTS test for nine patch padding sanity check" into lmp-dev 2014-08-06 23:49:20 +00:00
Alan Viverette
ac1f5884fb Fix CTS test for nine patch padding sanity check
BUG: 16826969
Change-Id: I96628a38300dec58eb8523559741c28fed35eba2
2014-08-07 13:55:26 -07:00
Igor Murashkin
cd3a994e50 Merge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev 2014-08-07 17:50:16 +00:00