Commit Graph

235170 Commits

Author SHA1 Message Date
Jaewan Kim
fd27ae9611 Merge "PIP: Prepare PIP strings for translations" into nyc-dev 2016-03-10 00:58:09 +00:00
Jaewan Kim
1ea8722f93 Merge "PIP: Close PIP if media session is gone" into nyc-dev 2016-03-10 00:57:26 +00:00
Jaewan Kim
f40fcdca2c PIP: Close PIP if media session is gone
This keeps the PIP if there's no media session from the beginning.

Bug: 26717072
Change-Id: Idf5bab14d8979c0e50f4451f61bb9355d4562b96
2016-03-10 09:54:37 +09: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
Adam Lesinski
d96ce2675f Merge "AAPT2: Fix file::mkdirs when given absolute paths" into nyc-dev 2016-03-10 00:32:35 +00:00
Tomasz Mikolajewski
9ab36aa86e Merge "Improve sorting performance by 2.5 times." into nyc-dev 2016-03-10 00:28:24 +00:00
Chris Craik
727819d134 Merge "Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7" into nyc-dev 2016-03-10 00:26:20 +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
Chris Craik
034a10bf21 Partial revert of 261725fdb2
Bug:27534946

Mapping empty rects still must be done to get correct positions for
line/point rects describing strokable bounds.

Change-Id: I2f9efe543e58eb438b755276585491c1256d6719
2016-03-09 16:14:35 -08:00
Shreyas Basarge
33d693ac59 Merge "Restrict range of sync job ids" into nyc-dev 2016-03-10 00:14:29 +00:00
Todd Kennedy
3d2e374e70 Merge "Update API" into nyc-dev 2016-03-10 00:08:58 +00:00
Chris Craik
c17232598b Merge "Add initial BakedOpDispatcher tests" into nyc-dev 2016-03-10 00:08:46 +00:00
Todd Kennedy
ef342404c6 Update API
Change-Id: Ia1c913d1508d80489fcc0e01e5d10f72f8f9af5c
2016-03-09 16:08:09 -08:00
Chris Craik
419a1e7ef5 Add initial BakedOpDispatcher tests
bug:26571145
bug:26923968
bug:27389290

Change-Id: If8ba33732d09b335171f87d5efc419641bafa126
2016-03-09 16:03:52 -08: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
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
Shreyas Basarge
fa27253c2e Restrict range of sync job ids
Sync jobs now get an id greater than 100000.
This is done to avoid conflicts with other
jobs scheduled by the System process.

Change-Id: Ifcfa218e2ac5f81231c9e25aa25dbaecaf646603
2016-03-09 23:19:55 +00: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
Felipe Leme
63c2151b17 Merge "Fixed NPE when wifi is turned off." into nyc-dev 2016-03-09 23:03:53 +00: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
Rakesh Iyer
ef9716d2fd Merge "Fix issue with app launch from CarNavigationBar." into nyc-dev 2016-03-09 22:58:17 +00:00
Sudheer Shanka
8d774b752b Minor cleanup in RestrictedPreferenceHelper.setDisabledByAdmin.
Change-Id: I573ea3a0c4565c62d47c4458b7885a8cfbdf31cc
2016-03-09 14:48:19 -08:00
Makoto Onuki
4a07c34ca8 Merge "ShortcutManager: add remaining APIs." into nyc-dev 2016-03-09 22:28:45 +00:00
Felipe Leme
0108597395 Merge "Warn user when bugreport is finished but screenshot is pending." into nyc-dev 2016-03-09 22:12:25 +00:00
Andy Hung
55a2603026 Merge "Add audioserver to Watchdog stacks" into nyc-dev 2016-03-09 22:08:52 +00:00
Felipe Leme
509d407e30 Merge "Vibrate after a screenshot is taken, not before." into nyc-dev 2016-03-09 22:05:30 +00:00
Jeff Sharkey
2478f36428 Merge "Resolve ringtone Uris using Context user." into nyc-dev 2016-03-09 21:59:20 +00:00
Jeff Sharkey
265551de72 Resolve ringtone Uris using Context user.
The Context passed in has already been tied strongly to a specific
user, so resolve Settings based on that user.

Bug: 27568161
Change-Id: I1365c25f97c4177afe592d7c9f410eab777110e7
2016-03-09 14:56:01 -07:00
Andy Hung
3a64ecb7fd Add audioserver to Watchdog stacks
Needed for debugging after mediaserver split.

Bug: 27548913
Bug: 27570954
Change-Id: I7d1e92494c0543f10f3193153e3e9afdafd41655
2016-03-09 13:55:58 -08:00
Lifu Tang
e1b5358bae Merge "Modified the API to make coverage test possible" into nyc-dev 2016-03-09 21:53:17 +00:00
Suprabh Shukla
d7924b6063 Merge "Calling method in DPMS after resolving userId" into nyc-dev 2016-03-09 21:50:44 +00:00
Jason Monk
2c1c731183 Merge "Actually fix the QS anim curves" into nyc-dev 2016-03-09 21:48:12 +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
Adam Lesinski
96917c25f0 AAPT2: Fix file::mkdirs when given absolute paths
file::mkdirs would try to extract the first part of the
path '/path' which would be the empty string ''. Mkdir would
fail creating the empty string directory.

Change-Id: Ice8ba92135f145f52f3663499a2c49eebe797328
2016-03-09 13:23:12 -08:00
Dianne Hackborn
2d57bd2342 Merge "Fix issue #27408705: Runtime restart: WATCHDOG KILLING SYSTEM PROCESS..." into nyc-dev 2016-03-09 21:19:59 +00:00
Yorke Lee
7014a3a893 Merge "Add configurable nav bar opacity rules" into nyc-dev 2016-03-09 20:58:06 +00:00
Selim Cinek
e001805c40 Merge "Fixed a bug where notification icons were not animating when dozing" into nyc-dev 2016-03-09 20:51:54 +00:00
Adrian Roos
c59cb01c1e Merge "Don't close RemoteInputView on window focus loss" into nyc-dev 2016-03-09 20:48:54 +00:00
Adrian Roos
967f6199ba Don't close RemoteInputView on window focus loss
Fixes issues where the status bar would temporarily
lose focus to things like the IME or auto correction
popups.

Bug: 27340422
Change-Id: I0af6e89179b78b147eee1091361da1f8a97f186b
2016-03-09 12:47:39 -08:00
Selim Cinek
cd5b22f0c2 Fixed a bug where notification icons were not animating when dozing
This lead to them also being colored.

Bug: 27513595
Change-Id: I2bd5a66128fb550e0eea543fd60d946d36a4635f
2016-03-09 12:45:59 -08: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