142060 Commits

Author SHA1 Message Date
Quddus Chong
4696936e9b am 8e086faf: am 9afee0df: docs: Added missing instructions for copying the Google Play Services library project.
* commit '8e086faf89a0c59163731cbe2c7778b7365722ab':
  docs: Added missing instructions for copying the Google Play Services library project.
2014-07-09 23:14:57 +00:00
Jeff Sharkey
30303faea6 Merge "Extend pm to support sessions and split APKs." 2014-07-09 21:45:32 +00:00
Jeff Sharkey
ec55ef0934 Extend pm to support sessions and split APKs.
Separate commands to create an install session, stream files into the
staging area, and then commit the install.  Streaming can accept data
from stdin across adb, avoiding extra copy from push.

Extend FileBridge to support blocking close().  Always destroy
session regardless of result.

Bug: 14975160
Change-Id: Ic3f462e7d1901079b785e210228950cdfa676466
2014-07-09 16:55:56 -07:00
ztenghui
83f7ee8d12 Remove the unnessary log
We still need to investigate the underlying problem and fix it.

bug:16015708

Change-Id: If38b550d5af990d5aaa6633ee129a61e927d66c1
2014-07-09 23:53:54 +00:00
Jeff Sharkey
2cfc848226 Add versionCode to split manifest; compile.
To verify consistency at install time, all APK manifests must declare
the same package name and version code.  Also start compiling the
manifest, since versionCode is an attribute.

Bug: 14975160
Change-Id: I2a1a769bd3dfde05b19563af5ca9b6c15a9c95ff
2014-07-09 16:12:49 -07:00
Selim Gurun
cb665af8f1 Merge "Add an API to disable data reduction proxy." 2014-07-09 22:27:31 +00:00
Selim Gurun
7871554e1a Add an API to disable data reduction proxy.
Bug: 16011253

Under rare circumstances, the application may need to disable the
data reduction proxy. This is to provide a way to do that.

Change-Id: I031f689f9d72460c7241aec78459185e0b31f059
2014-07-09 16:50:00 -07:00
Andres Morales
54f5884b35 Merge "Service for reading and writing blocks to PST partition" 2014-07-09 22:27:31 +00:00
Andres Morales
68d4acd205 Service for reading and writing blocks to PST partition
Permits apps with permission
android.permission.ACCESS_PERSISTENT_PARTITION to obtain
a read and write data blocks to the PST partition.

Only one block ever exists at one time in PST. When
a client writes another block, the previous one is
overwritten.

This permits storing a block of data that will live
across factory resets.

Change-Id: I8f23df3531f3c0512118eb4b7530eff8a8e81c83
2014-07-09 16:27:17 -07:00
Colin Cross
ed51d70df8 Merge "ActivityManager: pass the main uid of the app to lmkd" 2014-07-09 21:39:59 +00:00
Ruben Brunk
7f3c084c95 camera2: Add NoiseProfile HAL tag.
Change-Id: Iac1b5b7708222b00a9eb1fb1adc85f0d0a7912cb
2014-07-09 22:47:45 +00:00
Jeff Sharkey
307f1d9e71 Merge "Add versionCode to split manifest; compile." 2014-07-09 21:34:29 +00:00
Winson Chung
78155d5d14 Merge "Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily." 2014-07-09 21:30:41 +00:00
Winson Chung
bdbb87dd74 Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily.
Change-Id: I93ab512642f6e95ee96e041614f063f46420bb39
2014-07-09 14:39:52 -07:00
Prerepa Viswanadham
b108a6fef1 Unhide the Bluetooth(BLE) offload capability apis
Change-Id: Ice3f4f5ff4b8318bf6afe7021b253fe9ea4661d3
2014-07-09 21:23:51 +00:00
Jim Miller
c522d1646a Decouple critical policy power update from SCREEN_ON broadcast
This attempts to fix a bug where ordered broadcasts like
ACTION_SCREEN_ON are substantially delayed by misbehaving
receivers.  Instead, we immediately send the state to mPolicy
so that it can wake/sleep the device without delay.

Fixes bug 14313639

Change-Id: I21a191f90e0a19f1ee75c160ecc4e63e8def709e
2014-07-09 21:12:09 +00:00
Prerepa Viswanadham
8f2e74cac2 OnFound and Onlost callback integration
Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
2014-07-09 21:07:13 +00:00
Jeff Sharkey
dbbf07a5c7 Upgraded system apps could be mono or cluster.
Derive old-style paths for monolithic installations, otherwise
assume cluster installation.

Bug: 16163776
Change-Id: I03f1a12f9c07f6177a5c09be2bfe967416c07652
2014-07-09 13:14:01 -07:00
Anish Athalye
9b72700036 Fix extraneous allocation and copying
With breaks being allocated the way it was, there were 16 ints with
value 0 being stored in the beginning of the vector. Because of the way
the rest of the code is structured, this did not result in incorrect
operation, but it still wasted time and memory.

Change-Id: Ic0df3e5484417da51f2465ec2d72222fefffc18a
2014-07-09 19:41:47 +00:00
Robert Ly
21aa5ad5fb am 0d15ec78: am d7880b6a: docs: fix packaging instructions again to reflect correct metadata name
* commit '0d15ec78286df8bc8372c37fd932680c8ed7a0d7':
  docs: fix packaging instructions again to reflect correct metadata name
2014-07-09 19:35:38 +00:00
Svetoslav
554776e515 Remove an obsolete code comment
Change-Id: Ia04f18eb9e9153d46e12219482e84b862e4ec8e6
2014-07-09 19:30:49 +00:00
Santos Cordon
a4c7524b68 unhide SHOW_REGULATORY_INFO intent.
Change-Id: If14e6599626f8570087fe56952ac3e9026ec9a94
2014-07-09 19:24:25 +00:00
Ying Wang
fa68c30bbd Fix System API build.
Change-Id: Iece27eb0be2a83a468fbf6584a1170ec9e20f803
2014-07-09 12:08:02 -07:00
Santos Cordon
0bae09fdde Move showCallScreen & isInAPhoneCall to PhoneManager.
Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
2014-07-09 18:53:41 +00:00
Winson Chung
a433fa9c17 Updating task grouping logic.
- More fixes for graphical glitches when picking up task views.

Change-Id: I93fab1c2a9cc727c68d8f8fbd506bedaf681715f
2014-07-09 18:49:20 +00:00
Winson Chung
6057c91563 Refactoring a few things with the full screen overlay and enter animation.
- Fixing issue with configuration change triggering enter animation
- Using a proper target task rect when animating into a group

Change-Id: I856d29a663f5e8c000ca22fd1025c09f65032893
2014-07-09 18:47:48 +00:00
Ricardo Cervera
0a4a89f622 am 811aeae9: am e34167ce: Merge "docs: Fixed minor issues with Wear docs. Bug: 16062631" into klp-modular-dev
* commit '811aeae95370bcce395e6d2ecafe2d148b50f58c':
  docs: Fixed minor issues with Wear docs. Bug: 16062631
2014-07-09 18:46:55 +00:00
Ricardo Cervera
6b88a0615c am 941fe577: am 3a958b9f: docs: Fixed nav bar color in material docs. Bug: 16160906
* commit '941fe5773508b4dba9062cd61cb0e3d82df59f9f':
  docs: Fixed nav bar color in material docs. Bug: 16160906
2014-07-09 18:46:49 +00:00
Svet Ganov
525a66b2bb Adding print preview.
This change adds the pring preview part of the new print UX. The
UI has two parts, the top section is the print options and the
bottom section print preview with a list of pages. The user can
interact only with one of them. When print options are expanded
they cover the preview content and a scrim is laid out on top of
the preview. Tapping the scrim collapses the print options. When
the user types in page ranges and closes the options to look at
the preview, the latter is updated to show only these pages. In
the list of pages the user can further prune pages by deselecting
them.

Change-Id: I0b23d2c598afe2a34400ccfa43e4e935af83c72f
2014-07-09 18:43:38 +00:00
Robert Ly
d8da5c8ff5 am fdefaada: am a0d38aa4: Merge "docs: remove gms core preview for wear and redirect" into klp-modular-dev
* commit 'fdefaadab556bf4919c85ed32e2d0a68f9e6c778':
  docs: remove gms core preview for wear and redirect
2014-07-09 18:42:12 +00:00
Colin Cross
d908edd810 ActivityManager: pass the main uid of the app to lmkd
The uid and pid will be used to together to find any forked processes
and kill them.

Bug: 15313911
Change-Id: I2edb51527e5d1a977c0fad0e6c959c8438bb4be9
2014-07-09 11:30:51 -07:00
John Spurlock
cfa39d269b Defer opening a stats session until first use.
Bug:16174801
Change-Id: Ia70f9a01bd348809db4ab2992e5e1265778cfcfa
2014-07-09 14:29:01 -04:00
Yorke Lee
99bd4eabd1 Merge "Add manage voicemail permission (1/4)" 2014-07-09 14:50:26 +00:00
Robert Ly
33f5a318b9 Merge "docs: surface ui toolkit at a higher level" into klp-modular-dev 2014-07-09 14:43:38 +00:00
Dianne Hackborn
8ecc8e19fa Merge "Add tracking of uid process states in battery stats." 2014-07-09 14:38:35 +00:00
Andy Hung
285fa63c61 Add MediaCodec.CodecException
Also clarify MediaCodec exception handling in documentation.

Bug: 12034929
Change-Id: Ie82a15cc6ee4b772191edaf128823487cad00d0a
2014-07-10 03:32:42 +00:00
Yohei Yukawa
fccd37fb7e Spans should be preserved in TextInfo whenever possible
This is a follow up CL for Ib58ece68dee4c6187d469049fca8c3.

Now SpellCheckerService is expected to store span information
in TextInfo whenever possible so that spell checker service
can use it later.

BUG: 15869548
Change-Id: I481a2efe359de6162ebe095f60506aba3db3d762
2014-07-10 03:07:01 +00:00
Yohei Yukawa
eea0b8b051 Fix inconsistencies in CursorAnchorInfo#equals
This CL addresses some inconsistencies found in
CursorAnchorInfo#equals.

- #mComposingText is now taken into consideration when
  compared with other instances.
- NaN is now treated as if it was just a number in
  CursorAnchorInfo#equals if and only if NaN is used in
  -- #mInsertionMarkerHorizontal
  -- #mInsertionMarkerTop
  -- #mInsertionMarkerBaseline
  -- #mInsertionMarkerBottom.
  This is useful if we want to use NaN as a marker to
  indicate that no value is specified.

Change-Id: Ibff31bc34b9d488731b294ad38240c567a06b627
2014-07-10 03:06:04 +00:00
Dianne Hackborn
61659e5daa Add tracking of uid process states in battery stats.
We now keep track of how long each uid had processes in
various states: foreground, active, running.  This is based
on a collapse of the various activity manager process states
into these three bins.

You'll see these in a checkin like this:

8,10013,l,st,61504,61504,83109

Also fix issue #16021555: App showing up as on "top" even
when the screen is off.  This is "fixed" by just saying we
always report the current app at the top of the activity stack,
regardless of the state of the screen.

Change-Id: I1204904225101243eb00b43425d9806bffdd2ab9
2014-07-09 20:04:03 -07:00
Maxim Siniavine
6b1e88e5d0 Add test apps for shared uid package manager test
Change-Id: I00c0db7a122774260d93d06212f4485210f86532
2014-07-09 19:36:19 -07:00
Jim Miller
85516d028b Add new "pin complex" type to supported keyguard PINs
This adds a feature to allow DevicePolicyAdmins to prevent using
simple PINs, which are defined as those containing more than 3
repeated values. Examples include '1234', '2468', '1111', '9876', etc.

Bug 12081139

Change-Id: I4ebe1c76a48087dcd7c878e9bd79a4e3ee2a27fe
2014-07-10 01:54:49 +00:00
Yuncheol Heo
9f6414d0e6 Merge "Add HdmiCecMessageValidator to verify the incoming messages." 2014-07-09 17:22:29 +00:00
Deepanshu Gupta
ae712853cb am 95e63613: (-s ours) Fix default level flags for bidi. [DO NOT MERGE]
* commit '95e636130dfc2c0203f16f5315a7fe14b03eb689':
  Fix default level flags for bidi. [DO NOT MERGE]
2014-07-10 01:36:46 +00:00
Yuncheol Heo
75a77e7d6c Add HdmiCecMessageValidator to verify the incoming messages.
- Remove all param's length-check-logics in the package.

Bug: 16051295, Bug: 16117332, Bug: 15841545
Change-Id: If48ad9731f4f4613fd22aa3d9ada7ba3142bc999
2014-07-10 10:16:05 +09:00
Deepanshu Gupta
3a6cedfe72 Fix default level flags for bidi. [DO NOT MERGE]
Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
2014-07-09 18:13:59 -07:00
Robert Ly
cc2af1c010 Merge "Revert "Change list for NDK Revision 10. Staged at: http://boku.mtv.corp.google.com:9198/tools/sdk/ndk/index.html"" into klp-modular-dev 2014-07-09 14:38:35 +00:00
Robert Ly
9cac8112e0 Revert "Change list for NDK Revision 10. Staged at: http://boku.mtv.corp.google.com:9198/tools/sdk/ndk/index.html"
This reverts commit 42fcd1463d416ede744550810bdfd7974e685f15.

Change-Id: I0956e4e07b558c1f445d3209a52a54974e060b99
2014-07-10 00:04:45 +00:00
Robert Ly
e0b5829eb1 Merge "docs: fix 2d picker image description" into klp-modular-dev 2014-07-09 14:38:35 +00:00
Robert Ly
6f52e7be18 Merge "docs: fix link to messages doc" into klp-modular-dev 2014-07-09 14:38:35 +00:00
Brian Carlstrom
ce75618e12 am 5aba0149: am b85afb38: Merge "Make dex2oat heap size product configurable [frameworks/base]"
* commit '5aba0149b953fb8e85851811dde995fb35c10051':
  Make dex2oat heap size product configurable [frameworks/base]
2014-07-09 12:36:47 +00:00