235158 Commits

Author SHA1 Message Date
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
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
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
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
Julia Reynolds
e85b98adb5 Merge "Query calendar in a background thread." into nyc-dev 2016-03-09 20:42:24 +00:00
Jason Monk
a97776abde Actually fix the QS anim curves
Also fix the gravity of the panel in landscape

Bug: 27201532
Change-Id: I56b33fb142afdabd9461177f15434a7d78b9f8bc
2016-03-09 15:41:25 -05: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
John Reck
99f1215607 Merge "Add basic LsaVector tests" into nyc-dev 2016-03-09 20:29:46 +00:00
Lifu Tang
0f1ab04516 Modified the API to make coverage test possible
Bug: 27462840
Change-Id: Idfd2c3c108b25f8be9046fd4bb72dbc57edc24bd
2016-03-09 11:32:43 -08:00
Alan Viverette
0dda14c671 Merge "Add missing annotations, getters to GradientDrawable" into nyc-dev 2016-03-09 19:22:34 +00:00
Felipe Leme
5ee846dd18 Warn user when bugreport is finished but screenshot is pending.
BUG: 27524556
Change-Id: Iaecdd01605dc4b01cdf669baf443eaee7fb20f6f
2016-03-09 10:41:32 -08:00
Alan Viverette
366e137c0e Merge "Clean up SimpleMonthView formatters" into nyc-dev 2016-03-09 18:40:47 +00:00
Steve McKay
32c90f1d53 Merge "Make disabled items look disabled." into nyc-dev 2016-03-09 18:35:33 +00:00
Alan Viverette
5f63721a6c Add missing annotations, getters to GradientDrawable
Fixes getColor() NPE when colors array is null.

Bug: 27543512
Change-Id: Ieec8a2315d0a2e4ab0ddbe053bccdd8c43080857
2016-03-09 13:30:35 -05:00