231088 Commits

Author SHA1 Message Date
Mihai Nita
fc881a25b4 Create the locale list with ICU4J's ListFormatter
The list of user locales showing under Language & input -- Language
used a hard-coded comma as separator.
Changing that code to use the ICU locale-aware formatter.

Bug: 26848487
Change-Id: I36975da3a3770df8abaf7e3987b188f2e912f378
2016-01-28 09:45:30 -08:00
Adam Powell
5720c8c141 Merge "Revert "Pinning components in ChooserActivity"" 2016-01-28 17:20:07 +00:00
Tony Mantler
14d7b39544 Merge "Change AccessPoint sorting to bucket signal levels" 2016-01-28 17:15:12 +00:00
Wale Ogunwale
e8e22d796d Merge "Support different multi-window compatibility modes" 2016-01-28 17:12:36 +00:00
Adam Powell
e7c74cc96e Revert "Pinning components in ChooserActivity"
This reverts commit ec6bc41e1835804533fd21b3ef8047ecd893bcfd.

Bug 26842512

Change-Id: I9fc775d21081885d0e26fca4ade412a18da45b7c
2016-01-28 09:04:20 -08:00
Sudheer Shanka
afa51a0ee6 Merge "Add a DPM method to allow system to query parent profile instance." 2016-01-28 16:48:31 +00:00
Stephan Linzner
e97bce53df Merge "Deprecated platform Android testing APIs" 2016-01-28 16:40:25 +00:00
Sudheer Shanka
978fc0d44c Add a DPM method to allow system to query parent profile instance.
Bug: 26830384
Change-Id: Ib12b171b1032bd86488f32f8d22eb0a9efb75e8f
2016-01-28 16:36:00 +00:00
Wale Ogunwale
d26176f360 Support different multi-window compatibility modes
- Change idea of activity resizablility from true or false to
unresizeable, cropped_windows, resizeable, and resizeable_and_pipable
- Default pre-N apps to cropped_windows mode and N or greater apps to
unresizeable or resizeable depending on the value of resizeableActivity
attribute.
- Mark legacy apps that specify fix orientation or immersive only mode
as unresizeable.
- Change to hide docked stack when unsupported app is the focus app.

Bug: 26774816
Change-Id: Ie473d36ca95f08e9332ab10fd2f0ec17ef50a02f
2016-01-28 08:33:46 -08:00
Abodunrinwa Toki
46125323fc Merge "FloatingToolbar: Fix logic error in determining open/close overflow animation duration scale." 2016-01-28 14:45:47 +00:00
Sudheer Shanka
6a38e65b7d Merge "Update notification title when admin disallows unredacted ones." 2016-01-28 14:43:35 +00:00
Anton Daubert
c648662016 Merge "Fix the initialize of PreviewImageData to its default values." 2016-01-28 14:00:27 +00:00
Calin Juravle
e5342ad5fa Merge "Fix optimizable package filter" 2016-01-28 13:31:02 +00:00
Anton Daubert
8f7a8f1eba Fix the initialize of PreviewImageData to its default values.
Bug: 26762780, 26837999
Change-Id: Ifc268beb84903576b8c82681fddf2f51ffc4a2ec
2016-01-28 13:52:46 +01:00
Michal Karpinski
bc0ce99043 Merge "Logging of keyguard actions into security log" 2016-01-28 11:47:23 +00:00
Calin Juravle
8aaaf13888 Fix optimizable package filter
System apps don't have an oat dir according to Package.canHaveOatDir but
installd will put their oat files in dalvik-cache.

Bug: 26080105
Bug: 26740458

Change-Id: I3d293e95af42753ebb29f15f341e9ca366fa03cb
2016-01-28 11:33:53 +00:00
Zoltan Szatmary-Ban
15569c461a Merge "Introduce DEVICESUMMARY access level to NetworkStatsAccess." 2016-01-28 11:22:37 +00:00
Michal Karpinski
31502d3d95 Logging of keyguard actions into security log
Bug: 22860162
Change-Id: I7dbe68fff7d9d45b6c417d960cf025c8d0694917
2016-01-28 11:07:56 +00:00
Nicolas Prévot
64382cb7b4 Merge "Don't show suspended applications in system intent picker dialog." 2016-01-28 10:21:27 +00:00
Erik Kline
a52800a127 Merge "Add the network handle to the NetworkAgentInfo#toString() output." 2016-01-28 06:44:59 +00:00
Daichi Hirono
750d0f0c09 Merge "Reuse buffer when reading bytes from files." 2016-01-28 06:08:21 +00:00
Erik Kline
230d5ca498 Add the network handle to the NetworkAgentInfo#toString() output.
This will make it possible to find nethandles via, e.g.
 "dumpsys connectivity --short".

Without this, native multinetwork API debugging requires running
"dumpsys connectivity --diag" in order to see the nethandle values.

Bug: 19537384
Change-Id: Icdd2b112523d4ecf88d5339f229e714a56d248f8
2016-01-28 15:06:56 +09:00
Lajos Molnar
153d7ada2e Merge "MediaExtractor: add getDrmInitData API" 2016-01-28 05:55:07 +00:00
Jaewan Kim
3842e318b2 Merge "PIP: Disable translations for picture-in-picture temporarily" 2016-01-28 05:42:45 +00:00
Winson Chung
8e781d94ab Merge "Part 3: Fade in app icons" 2016-01-28 05:35:59 +00:00
Amith Yamasani
8484459717 Merge "Tweaks to user creation intent text and error codes" 2016-01-28 05:23:08 +00:00
Peng Xu
7cb255814a Merge "Implementation of sensor additioanl info report" 2016-01-28 05:21:08 +00:00
Daichi Hirono
2f310f6d5d Reuse buffer when reading bytes from files.
Previously AppFuse getObjectBytes returns byte array and the array's
length needs to equals to the exact number of bytes the method read.

The CL change the function signature so that it can return the number of
read bytes. And reuse a buffer array instead of slicing the array with
valid length.

BUG=None

Change-Id: I78b714554cac9ae71b895cb8929bc98969f5a8ca
2016-01-28 14:09:26 +09:00
Tomasz Mikolajewski
570d67cc3f Merge "Add DocumentsProvider::removeDocument()." 2016-01-28 05:08:07 +00:00
Tomasz Mikolajewski
cbcd39488b Add DocumentsProvider::removeDocument().
Multi-parents are supported already in moveDocument(). For parity, this CL
adds removeDocument, so it's possible to delete a file from a specific
parent.

Bug: 26481380
Change-Id: Icd4213abc0c3413931902f4f8984746c84c65e52
2016-01-28 14:06:22 +09:00
Jaewan Kim
f986b458d6 PIP: Disable translations for picture-in-picture temporarily
UX and strings are not finalized yet, so do not ask for translation
for a while.

Bug: 26602353
Change-Id: I8d823ace47cae39a07a68ac8867ae58e2cd03f70
2016-01-28 13:57:06 +09:00
Tomasz Mikolajewski
3ce2653cc0 Merge "Show a warning notification and a dialog in case of conversion when copying." 2016-01-28 04:53:50 +00:00
Peng Xu
a295835539 Implementation of sensor additioanl info report
This implements a mechanism for sensor hardware/HAL to deliver additional information beside sensor
readings to application. It includes internal temperature reading, untracked delay of sample,
location and pose of sensor device placement in phone frame, etc. This is also a very expandable
frame to account for future need.

Change-Id: Ifd52ff315ef675086326f118eab773b0194bae23
Note: sensor additional information report used to be called sensor meta data.
2016-01-27 20:49:26 -08:00
Daichi Hirono
376c5a8d34 Merge "Implement MtpDevice#getPartialObject64 in Java API." 2016-01-28 04:46:16 +00:00
Robert Shih
21b0008db6 MediaExtractor: add getDrmInitData API
Bug: 26070802
Change-Id: I32e256f5988e206188f43d1bef0ad2ffdce8caec
2016-01-27 20:42:27 -08:00
Jim Miller
4f93c58b39 Add account locked notification when users are encrypted
Fixes bug 26407543

Change-Id: Ic66669cd5f75b5fa41449e33133439752cef112b
2016-01-27 20:27:42 -08:00
Jean-Michel Trivi
8af734b80a Merge "API to query recording format and device on AudioRecordConfiguration" 2016-01-28 04:23:04 +00:00
Pavlin Radoslavov
2c6c25f246 Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am: 26fdbc1833
am: dc84cff34f

* commit 'dc84cff34f020e4768e99fa08749bbe0b87a2233':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user
2016-01-28 04:21:25 +00:00
Tomasz Mikolajewski
ab821a517d Merge "Unhide DocumentsContract.isTreeUri." 2016-01-28 04:20:43 +00:00
Tomasz Mikolajewski
748ea8cc78 Show a warning notification and a dialog in case of conversion when copying.
Change-Id: I451b0944069deb5f0b49b54c514e7761be449e3d
2016-01-28 13:12:55 +09:00
Arunesh Mishra
4666057155 Merge "SoundTrigger system API changes." 2016-01-28 04:10:38 +00:00
Tyler Gunn
d5ee47033f DO NOT MERGE Add capability to determine if downgrade to audio is denied.
am: a3fc54f0d8  -s ours

* commit 'a3fc54f0d879cbf0bdbb5bd2fe5043dd19232191':
  DO NOT MERGE Add capability to determine if downgrade to audio is denied.
2016-01-28 04:08:49 +00:00
Jason Monk
a9f128832f Add preview section to nav bar tuner.
It uses density scaling to show a slightly smaller real time version
of the nav bar, so you can see edits without possibly breaking the
nav bar.

Also fix rotation in the tuner, cause it was broken.

Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631
2016-01-27 23:05:11 -05:00
Jason Monk
8457ad89a8 Add keycode buttons to nav bar tuner
Allow a keycode (list generated from KeyEvent.java) and a image to
be selected as a new KeyButtonView to be shown in the nav bar.

Change-Id: I26fcad5b74a96090f2c5574fd214b4afbcadbb30
2016-01-27 23:05:11 -05:00
Jason Monk
3b58714344 Add clipboard to tuner
Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.

Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb
2016-01-27 23:05:06 -05:00
Jason Monk
46a196e250 Allow width control of nav bar buttons
Encode the width as part of the spec as a float. For instance:
"home[.5]" is a home button with half its normal width.

The UI will allow users to adjust the width of standard buttons and
spaces from .25 to 1.75, excluding the app shelf, which fills all
available space.

Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d
2016-01-27 23:03:36 -05:00
Jason Monk
3ebd23943b Nav bar tuner
Allows reorginization of the navigation bar.  First pass.

Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f
2016-01-27 23:03:36 -05:00
Jason Monk
f0c6f64e5b SysUI Tuner: Color mod v2
Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
2016-01-27 23:03:36 -05:00
Tyler Gunn
a3fc54f0d8 DO NOT MERGE Add capability to determine if downgrade to audio is denied.
By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0
2016-01-27 19:45:23 -08:00
Tenghui Zhu
de3dbb463c Merge "Gradient for VectorDrawable's fill and stroke" 2016-01-28 03:41:15 +00:00