Commit Graph

61529 Commits

Author SHA1 Message Date
Eino-Ville Talvala
7966d446cd Adjust graphics dataspace references to new standard
Bug: 27344373
Change-Id: I0ad67868894b01948d40336812d836ee2f3bcfdb
2016-03-14 13:21:03 -07:00
Eino-Ville Talvala
3e0023ae89 Camera2: Add buffer drop error callback
Previously single buffer drop errors were not propagated to
the client application, even though the HAL generated them.

Add new error callback to handle this case.

Bug: 24168122
Change-Id: Ice0d9a3592efed222351353abd7acc35854a20bd
2016-03-10 12:41:24 -08:00
Kenny Guy
ab750d283a Merge "Update docs to make suspend then uninstall clear." into nyc-dev 2016-03-10 19:19:08 +00:00
George Mount
fdce57b6dc Merge "Fix ArcMotion path creation in some quadrants." into nyc-dev 2016-03-10 18:19:10 +00:00
Todd Kennedy
23ca16865a Merge "fix docs" into nyc-dev 2016-03-10 18:11:31 +00:00
Todd Kennedy
1ed6b87634 fix docs
No code change; just doc clarification per API Review Council suggestions

Bug: 27531045
Change-Id: Ib1eef9635d68d44be596888b46de0650883d118c
2016-03-10 10:07:00 -08:00
Chris Tate
4206bde4d7 Merge "Improve AlarmManager docs" into nyc-dev 2016-03-10 17:58:19 +00:00
Chris Wren
46820517e4 Merge "revert recent changes around system listener registrations" into nyc-dev 2016-03-10 17:39:52 +00:00
Muyuan Li
2f14bb31ae Merge "Added shortcut key to dock windows" into nyc-dev 2016-03-10 17:33:44 +00:00
Jesse Hall
39ceeb5472 Refer to hasSystemFeature(String, int) in Vulkan feature docs
Bug: 27531286
Change-Id: Ifb32ae519fc8118923d6216e1d574cbbf83dfd23
2016-03-10 09:04:26 -08:00
Chris Wren
b7c810957f revert recent changes around system listener registrations
also guard against the ranker calling the self-service registration functions.
"why do we even have that lever?"

Bug: 27577115
Change-Id: I8a01cfdd801320e53d56bcbf515b9ba17e677166
2016-03-10 11:41:10 -05:00
Kenny Guy
871f3ebb56 Update docs to make suspend then uninstall clear.
Update docs to say suspending then unintalling an
app unsuspends the app. Point out admin can block
uninstall if they want.

Bug: 26935242
Change-Id: I4390fa20c9d8954b36ff80fc449b62891eee598c
2016-03-10 14:04:43 +00:00
Hyunyoung Song
4eb1a4e003 Revert "Apply transformations while offsetting focused rects"
b/27335262

This reverts commit 83e725da7a.

Change-Id: I55079bbaab81610e9de3a8d68ed21cf352da5983
2016-03-10 02:19:14 +00:00
Christopher Tate
2affae90b8 Improve AlarmManager docs
In particular, add some missing information about what
getNextAlarmClock() returns.

Bug 27562400

Change-Id: I8c76b0c4208082d4da8ea490518e023584da6440
2016-03-09 17:56:32 -08:00
Dianne Hackborn
839ff816a5 Merge "DO NOT MERGE: Add separate information about user whitelist." into nyc-dev 2016-03-10 01:46:03 +00:00
Dianne Hackborn
262ae5c8eb DO NOT MERGE: Add separate information about user whitelist.
Use this in the alarm manager to allow user whitelisted apps
to have free access to scheduling alarms.

Coming next: lifting sync/job restrictions.

Bug #26851107: Allow user whitelist apps more freedom

(Cherry-picked to nyc since it got lost in the branch from master.)

Change-Id: I4dc9f07514627ebdb6b6eff7c7a749f2c51a3797
2016-03-09 17:39:40 -08:00
Joe Onorato
04a72a2a51 Merge "Add an API for apps to get their System Health / Battery Stats data." into nyc-dev 2016-03-10 00:52:03 +00:00
Yin-Chia Yeh
0ae49cc667 Merge "Camera: codegen update" into nyc-dev 2016-03-10 00:24:56 +00:00
Makoto Onuki
495d124a67 Merge "ShortcutManaegr: load config from settings, also..." into nyc-dev 2016-03-10 00:18:36 +00:00
Jeff Sharkey
6b432fa255 Merge "Restrict TrafficStats due to privacy concerns." into nyc-dev 2016-03-09 23:59:21 +00:00
Jeff Sharkey
0d69d3dfe1 Restrict TrafficStats due to privacy concerns.
Granular per-UID network statistics can be used to infer user
behavior over time, so they fall under the umbrella of the
PACKAGE_USAGE_STATS permission.

Since we can't check app-ops based permissions in the kernel, the
best we can do is redirect users to the NetworkStatsManager class,
which offers a much more robust historical data set.

Bug: 27577101
Change-Id: I696bdc5e0b3d7e24acf35f388d0ab13617ed8af3
2016-03-09 16:49:45 -07:00
Joe Onorato
713fec85b8 Add an API for apps to get their System Health / Battery Stats data.
Change-Id: Ib27e1be469b826f6d83d73ce6024102bbdb1d47a
2016-03-09 15:47:24 -08:00
Vadim Tryshev
4eeb7e2cae Merge "Fixing bugs with peeking a wallpaper." into nyc-dev 2016-03-09 23:44:23 +00:00
Todd Kennedy
f96eee36df Merge "remove splits" into nyc-dev 2016-03-09 23:43:21 +00:00
Todd Kennedy
eb9b05392a remove splits
Individual splits can now be removed for an application. The
application will be terminated if it's running when a split is
removed.

To remove a split, either use either "uninstall":
    $ adb shell cmd package uninstall <PACKAGE> <SPLIT>

or "install-remove":
    $ adb shell cmd package install-create -r -p <PACKAGE>
    $ adb shell cmd package install-remove <SESSION> <SPLIT>
    $ adb shell cmd package install-commit <SESSION>

For "install-remove" you must use '-r' and '-p' when creating
the session.

Bug: 27547051
Change-Id: I4d71a19ad45e39f6622d9ab6791ea8c4230a79e0
2016-03-09 15:34:00 -08:00
Jeff Sharkey
93720d5729 Merge "Log when pre-N apps send too much to DropBox." into nyc-dev 2016-03-09 23:31:01 +00:00
George Mount
eddc8dbed6 Fix ArcMotion path creation in some quadrants.
Bug 27577177

When ArcMotion created paths in some quadrants, the control
points were placed in the wrong place, making a non-circular
arc instead of an arc of a circle.

Change-Id: Ie842524c09385038fb1f991b877b01ee5e740f20
2016-03-09 15:30:19 -08:00
Jeff Sharkey
b8e8a91f54 Log when pre-N apps send too much to DropBox.
Once they target N, they'll start getting exceptions, which is
intended to make sure they pay attention to data that would have
otherwise been dropped on the floor.

Bug: 27571535
Change-Id: I49163679c629cd0788327d2c3a654e757ecdcb99
2016-03-09 16:27:42 -07:00
Makoto Onuki
4362a66dba ShortcutManaegr: load config from settings, also...
support "cmd override-config" and "cmd reset-config" to help CTS.

Bug 27548047

Change-Id: Id6c9e6f41a2238856dd3470d88d88d0e7e686f26
2016-03-09 15:17:29 -08:00
Yin-Chia Yeh
373482009b Camera: codegen update
Add device custom scene mode range.

Bug: 26687007
Change-Id: I4a11e5f0bc5cbaabe85d4f9c6f2904125a038028
2016-03-09 15:01:06 -08:00
Makoto Onuki
4a07c34ca8 Merge "ShortcutManager: add remaining APIs." into nyc-dev 2016-03-09 22:28:45 +00:00
Suprabh Shukla
d7924b6063 Merge "Calling method in DPMS after resolving userId" into nyc-dev 2016-03-09 21:50:44 +00:00
Suprabh Shukla
8bea73e5c1 Calling method in DPMS after resolving userId
ActivityManagerService was calling
hasDeviceOwnerOrProfileOwner in DevicePolicyManagerService.LocalService
before resolving negative userIds to a real user. Moved the call to a point
when userId is already resolved.

bug: b/27538249
Change-Id: I760412978b3260523e9abcfe59d8e100ec4af12f
2016-03-09 13:38:15 -08:00
Kirill Grouchnikov
04c659299f Merge "Tweaks to ViewOverlay." into nyc-dev 2016-03-09 21:35:46 +00:00
Kirill Grouchnikov
b4b939cf1a Tweaks to ViewOverlay.
* Clarify Javadocs for add / remove when called with the same
Drawable.
* Add @NonNull annotation to all add / remove APIs and throw
IllegalArgumentException when null value is passed.

Bug: 27528798
Change-Id: Ied8f28c70775309e4fa85aff6a7202c1a0eb6aa3
2016-03-09 16:34:49 -05:00
Chad Brubaker
8064b4a687 Merge "Allow debug-overrides to be specified in an extra resource" into nyc-dev 2016-03-09 20:45:23 +00:00
Vadim Tryshev
93a914a77f Fixing bugs with peeking a wallpaper.
1. Cached wallpaper from one user could be retrieved
for another user. Fixed with adding a mCachedWallpaperUserId
member.

2. mDefault wallpaper was returned too early. Moved down
so that default wallpaper could be returned only after
making sure that system wallpaper is unspecified.

Bug: 25185253
Change-Id: Ie620621e5c4039d5d680211150aa5327f321f11a
2016-03-09 20:36:01 +00:00
Alan Viverette
366e137c0e Merge "Clean up SimpleMonthView formatters" into nyc-dev 2016-03-09 18:40:47 +00:00
Muyuan Li
a212999f24 Added shortcut key to dock windows
Meta + [ / ] will dock top window to left / right or cycle
between 1/3 1/2 2/3 of screen if it's already in docking mode

Change-Id: I546418235a9b9699d406b04f52914c85bd950532
(cherry picked from commit 63635675b56564a17e3897a221d73a19cfbc77f7)
2016-03-09 18:35:50 +00:00
Chris Wren
a82662e3f5 Merge "add a ranking service to the rocket" into nyc-dev 2016-03-09 16:26:56 +00:00
Alan Viverette
2c18cd0823 Merge "Set DatePickerListener last during DatePickerDialog construction" into nyc-dev 2016-03-09 15:52:35 +00:00
Robin Lee
9acee934de Merge "Corrections to javadoc for install & removeKeyPair" into nyc-dev 2016-03-09 15:48:25 +00:00
Robin Lee
a1b290e11a Corrections to javadoc for install & removeKeyPair
Making these more consistent - refer to 'certificate and private key
pair' in titles instead of 'credentials'. It is still used in one place
where 'credentials' makes sense.

Bug: 27533004
Change-Id: Ied80017c6f391646b10921b011be35eea113373f
2016-03-09 14:38:36 +00:00
Paul Lawrence
d5a3f3df40 Merge "Add API to IMountService to get encryption state" into nyc-dev 2016-03-09 13:42:41 +00:00
Gustav Sennton
c48b082dbb Merge "Allow disk reads during more parts of WebView loading." into nyc-dev 2016-03-09 12:59:03 +00:00
Martijn Coenen
2612bbc0f5 Merge "API to query which cores are exclusively assigned." into nyc-dev 2016-03-09 10:31:03 +00:00
Tony Mak
41371b5fe0 Merge "Update comment about enterprise contact id and lookup key" into nyc-dev 2016-03-09 10:05:27 +00:00
Keisuke Kuroyanagi
fae4578311 Make drag&drop be atomic for undo/redo.
For undo/redo, drag&drop is recorded as a 2 operations, paste and
delete. This CL makes drag&drop be atomic operation to be properly
undoed/redoed.

Bug: 27268820
Change-Id: Ia38d663f046c2c65f348985934f5cfa054b0437e
2016-03-09 06:07:01 +00:00
Shuzhen Wang
f52ebd119e Merge "Camera2: Handle binder death on ICameraDeviceUser" into nyc-dev 2016-03-09 03:43:01 +00:00
Makoto Onuki
5504622fb0 ShortcutManager: add remaining APIs.
- Icons are now persisted. (under /data/system_ce, as PNGs)
- the "load icon" APIs in LauncherApps are supported.
- Implement updateShortcuts()

- Addressed all the comments on the previous CL
- @hide the newly added constructor for PersistableBundle

- Enhance incoming shortcut validation
- A lot of internal clean-up.

Bug 27548047

Change-Id: I8e3c1ccd3e0a997a6d271c84d81170f0c022b60e
2016-03-08 18:37:32 -08:00