Commit Graph

55200 Commits

Author SHA1 Message Date
Jeff Sharkey
a74cce6072 Merge "Fix activity-alias encryption awareness bug." 2016-01-28 20:32:16 +00:00
Jeff Sharkey
c26d59f6ab Fix activity-alias encryption awareness bug.
Since the activity-alias is backed by the same code as the original
activity definition, they should both have an identical encryption
awareness.  This fixes a bug where we accidentally dropped that value.

Bug: 26731340
Change-Id: I6ad615332df7d16542893a49e6997c88fc24334b
2016-01-28 13:30:07 -07:00
Yohei Yukawa
e8faad6b54 Merge "Add ACTION_KEYBOARD_LAYOUT_SETTINGS." 2016-01-28 20:17:01 +00:00
Adam Lesinski
63668e8ab0 Merge commit '5142a2d5b3f70c2017792ce04d3f254221ab3d21' into manual_merge_5142a2d5b3
Change-Id: I6681b0e132e95bd7e861e183e7369b4da07738eb
2016-01-28 11:55:58 -08:00
Adam Lesinski
5142a2d5b3 Merge "Don\'t change screen on time on time changes" into mnc-dr1.5-dev am: c46f6db46e
am: 9548f85d9d

* commit '9548f85d9dc4207c3d1a3eed51f98131f8210c5f':
  Don't change screen on time on time changes
2016-01-28 19:30:10 +00:00
Adam Lesinski
9548f85d9d Merge "Don\'t change screen on time on time changes" into mnc-dr1.5-dev
am: c46f6db46e

* commit 'c46f6db46ed5474fbe8312a1229b59debbbae994':
  Don't change screen on time on time changes
2016-01-28 19:24:44 +00:00
Jeff Sharkey
087ee8952e Merge "Make PreferenceActivity/Fragment encryption ready." 2016-01-28 19:10:20 +00:00
Jeff Sharkey
fd37abe9d5 Make PreferenceActivity/Fragment encryption ready.
Developers using these classes can getPreferenceManager() and
explicitly set the storage location for any SharedPreferences values
persisted through it.

Bug: 26747519
Change-Id: I133045df6a69aa99f33b6b6c447f52605468b927
2016-01-28 12:04:06 -07:00
Phil Weaver
fbc728041d Merge "Clean up some accessibility documentation." 2016-01-28 19:02:56 +00:00
Phil Weaver
40ded287c4 Clean up some accessibility documentation.
Removed and updated some obsolete documentation about window
content. Stated the purpose of accessibility. Updated docs
for getTextSelection to include its ability to get cursor
position. Clarified wording for accessibility overlays.

Change-Id: Iaa11b499c2b7ece12ca182d336376d97b961b54f
2016-01-28 11:00:07 -08:00
Fyodor Kupolov
7b9f2e1d86 Merge "Added SystemApi for getting serial numbers of users" 2016-01-28 18:58:05 +00:00
Fyodor Kupolov
940e8577a1 Added SystemApi for getting serial numbers of users
Also added UserHandle version of queryBroadcastReceiversAsUser.

Bug: 25844894
Change-Id: I78ecbef186e4ced10425ae2899db72c2d91c5792
2016-01-28 10:55:28 -08:00
Etan Cohen
e496c555b9 Merge "Allow NetworkFactories to match any network specifier on a request" into mm-wireless-dev
am: bd0858ba67

* commit 'bd0858ba679cced35bda55a643707ad69e4caa34':
  Allow NetworkFactories to match any network specifier on a request
2016-01-28 18:24:23 +00:00
Etan Cohen
bd0858ba67 Merge "Allow NetworkFactories to match any network specifier on a request" into mm-wireless-dev 2016-01-28 18:20:09 +00:00
Jeff Sharkey
ec498e8ebe Merge "Report FBE through a feature string." 2016-01-28 18:20:03 +00:00
Jeff Sharkey
b92b05bb4b Report FBE through a feature string.
Since devices can be converted to enable/disable FBE across a
factory reset, we offer to add the features dynamically depending
on device status.

Bug: 26808417
Change-Id: I905140ba500a5e69756b547f2b1d6167b9a37dc6
2016-01-28 11:10:03 -07:00
Filip Gruszczynski
2a25dd5c91 Merge "Animate pinned stack resizing." 2016-01-28 17:57:52 +00:00
Ryan Lothian
0a4b4cdf1c Merge "Update SharedPreferences javadoc" 2016-01-28 17:48:17 +00:00
Wale Ogunwale
e8e22d796d Merge "Support different multi-window compatibility modes" 2016-01-28 17:12:36 +00: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
Filip Gruszczynski
84fa3351a2 Animate pinned stack resizing.
This introduces animating of stack bounds within window manager
module. It also uses this type of animation when moving an activity from
fullscreen stack to pinned stack.

Bug: 25672053
Change-Id: I75914a685d10021f8a7535b47ef12b6920b3fd5e
2016-01-28 08:47:54 -08: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
Michal Karpinski
bc0ce99043 Merge "Logging of keyguard actions into security log" 2016-01-28 11:47:23 +00:00
Zoltan Szatmary-Ban
15569c461a Merge "Introduce DEVICESUMMARY access level to NetworkStatsAccess." 2016-01-28 11:22:37 +00:00
Ryan Lothian
868ed48c13 Update SharedPreferences javadoc
Remove 6-year-old promise to add multi-process support
for SharedPreferences: our docs elsewhere suggest using
a ContentProvider for multi-process preferences instead.

Change-Id: Ic44550ce46fe62ed2c4ab40b6fa7f7090d5b1d7b
2016-01-28 11:19:29 +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
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
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
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
Tomasz Mikolajewski
ab821a517d Merge "Unhide DocumentsContract.isTreeUri." 2016-01-28 04:20:43 +00:00
Tenghui Zhu
de3dbb463c Merge "Gradient for VectorDrawable's fill and stroke" 2016-01-28 03:41:15 +00:00
Suprabh Shukla
5fc9b8b86b Merge "Added a constant to be used as an Intent extra" 2016-01-28 02:32:34 +00:00
Amith Yamasani
37ed8d1ce0 Tweaks to user creation intent text and error codes
Return error codes in some cases.
Tweak the message to the user.

Bug: 22776757
Change-Id: Ieff0caf0add9542287b5629d7d97331df0cada1e
2016-01-27 18:17:03 -08:00
Stephan Linzner
b51617f466 Deprecated platform Android testing APIs
- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace

Bug: 22314304
Change-Id: I1b1f0dd5132364110f1dfd4e3eb2dd044700d859
2016-01-27 18:09:58 -08:00
Chien-Yu Chen
bd098d4ed3 Merge changes from topic 'camera-hardening'
* changes:
  Add cameraserver process
  Camera: update connect call
2016-01-28 02:04:37 +00:00
Lifu Tang
45fbe46da6 Merge changes from topic '2016 GPS Changes'
* changes:
  Framework support to read newly added fields
  Added an API to query GPS hardware version info
  GPS Measurement and Navigation APIs go public
  Supported GNSS multi-constellation in frameworks
2016-01-28 02:02:17 +00:00
Adam Lesinski
b2d3ffaa20 Don't change screen on time on time changes
Screen on time should be measured in elapsed realtime, not wallclock.

Cause a checkIdleStates to occur when reloading stats
(on rollover and on time change).

When time changes occur in the negative direction, the new stats file
we create can overlap the previous one with regards to its end timestamp.
Use the begin timestamp to determine which of the latest stats to merge.
(b/22716352)

Bug: 26488100
Change-Id: If31b29bbbee9e98401205b5e26bce86e181286e7
2016-01-27 17:51:47 -08:00
Suprabh Shukla
74a2fe4f03 Added a constant to be used as an Intent extra
Added a constant which can be specified to skip the uninstallation
confirmation dialog. Useful in cases where we want to show a different
warning message to the user before starting the UninstallerActivity

Change-Id: Ia87184a9ad715b628118feb447388625b8bf7f1c
2016-01-27 17:51:40 -08:00
Stephan Linzner
3b3e57ef2b Merge "Revert "Deprecated platform Android testing APIs"" 2016-01-28 01:42:21 +00:00
Stephan Linzner
b1ac3142f0 Revert "Deprecated platform Android testing APIs"
This reverts commit d46a7d0d6e.

Change-Id: I4e4079d17f3bcdde7dc84e440a2168bb3e6d89d3
2016-01-28 01:40:29 +00:00
Stephan Linzner
b79a68368b Merge "Deprecated platform Android testing APIs" 2016-01-28 01:05:34 +00:00
Tomasz Mikolajewski
7db9c81937 Unhide DocumentsContract.isTreeUri.
Bug: 22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037
2016-01-28 10:00:52 +09:00
Peng Xu
a35b5539a9 Dynamic Sensor Discovery Implementation
Defined the dynamic sensor meta data type and UUID of sensor, as well
as the broadcast intent that is related to dynamic sensor status
change.

Modify SensorManager, SystemSensorManager and the JNI layer to support
dynamic sensor discovery.

Added SensorNotificationService to notify apps that sensor connected
or disconnected via broadcast.

Change-Id: I28adfb005357d7e3983d65117d6865830c75027d
2016-01-27 16:37:22 -08:00
Teng-Hui Zhu
dbee9bb342 Gradient for VectorDrawable's fill and stroke
Add ComplexColor interface for both GradientColor and ColorStateList.
Set up constant state, factory, theme attrs for GradientColor, while
refactoring the ColorStateList's similar code. (Functionality in CSL should
be the same).

Support themeing in both the root and item level in GradientColor.
For example, both startColor in <gradient> tag or color in <item> tag can
have theme color.
Add tests for both simple and complex cases with themeing etc.

Hook up the native VectorDrawable implementation using 2 extra JNI calls for
simplicity. Such calls only happen at inflate and applyTheme call.

b/22564318

Change-Id: Ibdc564ddb4a7ee0133c6141c4784782f0c93ce0e
2016-01-27 16:32:42 -08:00
Yohei Yukawa
d8701bfed0 Add ACTION_KEYBOARD_LAYOUT_SETTINGS.
This CL adds ACTION_KEYBOARD_LAYOUT_SETTINGS so that IME developers can
navigate users to the settings to configure the hardware keyboard layout
as needed, as we have exposed ACTION_INPUT_METHOD_SETTINGS and
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS.

Bug: 25752827
Change-Id: I8f371702904b3354043cd6d23fc9a8ff8be9b537
2016-01-27 16:15:01 -08:00
Adam Lesinski
72c3927f86 Merge "Record ModemActivityInfo and distribute power blame to apps" 2016-01-28 00:03:56 +00:00