Commit Graph

245370 Commits

Author SHA1 Message Date
Jean-Michel Trivi
602dc777c5 Remove deprecated AudioManager.AudioRecordingCallback method
Remove AudioRecordingCallback.onRecordingConfigChanged(
         AudioRecordingConfiguration[] configs)

Bug 28819230

Change-Id: I3b85bb9313267499ac407099939b5889bdba996b
2016-05-24 12:11:59 -07:00
Amith Yamasani
b5f3b5c2e5 Don't deliver broadcast to apps that are being backed up
When doing a full backup, mark the process as being in
backup and don't deliver any broadcasts to an app in
that state.

Bug: 25350780
Change-Id: I1adc95431f709495d3c1141c7c5d3616cf9cc1f0
2016-05-24 12:11:03 -07:00
Wyatt Riley
0f6363e8b3 Merge "Adding SBAS offset to Gps/Gnss SvStatus converter" into nyc-dev 2016-05-24 18:52:51 +00:00
Sid Soundararajan
0a02df5310 Add Content Description for Focusable Elements in TV Recents UI
Reusing strings from phone version. Will need new strings in MR1.

BUG: 28594452
Change-Id: I49dda83bb1d0d032a22d5171541123525fee929e
2016-05-24 11:49:46 -07:00
Mady Mellor
b0a824687f Children should have backgrounds
To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
  may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
  one alters its height and the ones below it are hidden
  to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
2016-05-24 11:39:12 -07:00
TreeHugger Robot
aba6e2c78f Merge "media: unhide codec levels" into nyc-dev 2016-05-24 18:36:57 +00:00
Sid Soundararajan
1103bfca8d Add support for dismissing in Talkback Mode
This should let the user be able to access dismiss in talkback
mode. However, because talkback relies on focus changes to work,
the focus change animator is disabled. This means some visuals
will not work the same as when talkback is turned off.

BUG: 28594452
Change-Id: Idb443fe559bd7a636ff381e6727f81d41d0bd325
2016-05-24 11:33:01 -07:00
Adarsh Fernando
7932d67607 Docs: Changed URL references of relocated test_framework.png am: b4c6f2b637
am: 9b81008076

* commit '9b810080769b26b1aecd97b96b3a1ffcd69341c1':
  Docs: Changed URL references of relocated test_framework.png

Change-Id: Ibcd8728ed898c32cac19eeff5ab55cb919acc14d
2016-05-24 18:25:31 +00:00
Adarsh Fernando
9b81008076 Docs: Changed URL references of relocated test_framework.png
am: b4c6f2b637

* commit 'b4c6f2b63713c958e46b02b6c520271ec77fdda2':
  Docs: Changed URL references of relocated test_framework.png

Change-Id: Ief551478b2fa023cdea013c766017e3bc0eba79e
2016-05-24 18:11:43 +00:00
Amith Yamasani
638cc6cac9 Merge "Use correct synchronization lock" into nyc-dev 2016-05-24 18:10:57 +00:00
Allen Hair
3fb03313e9 Deprecate shell-based UI Automator.
Change-Id: I15aee7a6aba551b737d2c41b4fafd5b0ced9a4b7
2016-05-24 11:10:44 -07:00
Adarsh Fernando
05c98d5458 Doc: delete old test_framework.png
- file now relocated to /studio/images/test/test-framework.png

Change-Id: Ieb2d93472e29741be73f104bf319911b09accf6f
2016-05-24 10:58:43 -07:00
Tony Mak
fd30332708 Fix first notification of each app is not shown
When app tries to post its first notification,
value of now is equal to that of mLastEventTime.
And hence getRate return a very large number.

Bug: 28902358

Change-Id: If5b5b3c46e2bb80a9b40988ba7f7d777e40cc8e7
2016-05-24 18:57:50 +01:00
TreeHugger Robot
efd3a1749f Merge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev 2016-05-24 17:51:36 +00:00
Ben Lin
5d5ddfa80e Merge "Register change Uri and notify changes in bugreportServices." into nyc-dev 2016-05-24 17:48:24 +00:00
Diego Perez
790e5f6c1c Workaround to display menus for AppCompat themes
Layoutlib currently does not implement menus for the support Toolbar.
When it detects that an AppCompat theme is being used, it will try to
use by default the support Toolbar which breaks the display of menus.
This works around the problem by forcing layoutlib
to use the framework toolbar in menu previews (regular activities
won't display the menu if they use AppCompat).

Bug: http://b.android.com/210946
Change-Id: Ic1d162c6d74119ef42895776c3bc3851a9549120
2016-05-24 18:27:35 +01:00
Lajos Molnar
6c2e08083a media: unhide codec levels
Bug: 28930361
Change-Id: Ic9c55389c75ef0b789722aa0a7bddd5f56b15049
2016-05-24 10:24:47 -07:00
Eric Laurent
b143e3de34 Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev 2016-05-24 17:15:11 +00:00
Chong Zhang
d4a45e0c40 Merge "Fix wallpaper crop during unlock animation" into nyc-dev 2016-05-24 17:09:09 +00:00
Dianne Hackborn
cdcc53d007 Merge "Work on issue #27995384: Time in the top bar different..." into nyc-dev 2016-05-24 16:56:01 +00:00
Adarsh Fernando
b4c6f2b637 Docs: Changed URL references of relocated test_framework.png
Change-Id: I45458480fd07fc9da7ad74a6fc04b5ccebd8d463
2016-05-24 09:42:41 -07:00
Wyatt Riley
f6527aebbc Adding SBAS offset to Gps/Gnss SvStatus converter
Opposite sign of Glonass & BDS offsets.  Noticed after screenshot search & further testing.

Bug: 28623392
Change-Id: I6a7c98f455ee7df278eed985ba57ec1c12d888e0
2016-05-24 09:25:02 -07:00
Lajos Molnar
2a4001ee62 media: add missing levels in CodecProfileLevel and fix limits
Bug: 28671284
Change-Id: Ie4a91f5639ce8f1c5ac825ec829ac82e695d18b5
2016-05-24 07:43:51 -07:00
Julia Reynolds
3011fd4dbd Set autobundled summary color.
Change-Id: I8ceb0b045359dc364fcec411fcfc610f7f57d8db
Fixes: 28615262
2016-05-24 13:51:23 +00:00
Kenny Guy
9fbed0378b Update suspended to disabled.
Say disabled rather than suspended
when an app widget isn't available.

Bug: 28909714
Change-Id: I785af193e6eff85691196742137f7e5f5af2b30d
2016-05-24 14:41:13 +01:00
Jason Monk
8a1561a772 Merge "QS: Don't cause click noise when opening from QQS" into nyc-dev 2016-05-24 13:35:03 +00:00
Kenny Guy
7b4b2fbc0a Merge "Set accessibility string for suspended widgets." into nyc-dev 2016-05-24 13:11:12 +00:00
Gustav Sennton
a2fbfbce9e Merge "Load WebView even if WebView relro creation times out." into nyc-dev 2016-05-24 10:39:32 +00:00
Robert Carr
e9953b1752 Force pending transactions to flush before screenshot.
Following 14e54ba747 (ag/1043009) we need to push an empty
synchronous transaction if we want to ensure all previous
transactions have occured before taking a screenshot. In
light of Bug 7552304 it seems wise to do this before screenshoting
applications.

Bug: 27098060
Bug: 7552304
Change-Id: I6d7dfbe634a288c55449d2f1d6fbbfc13bab08ad
2016-05-23 20:57:11 -07:00
Lorenzo Colitti
d954c6368f Merge "Support IPv6 multicast filtering in APF." into nyc-dev 2016-05-24 03:14:38 +00:00
Pavlin Radoslavov
eb50a39e98 Reduced the impact of "synchronized" statements
* Removed "synchronized" statements that are not needed
* Replaced "synchronized" statements with Read/Write lock as
 appropriate. The lock protects the access to and the setting of
 BluetoothAdapter.mService and BluetoothManagerService.mBluetooth and
 associated state.

Bug: 28734075
Bug: 28799467
Change-Id: I8f8281c505f0a1ae0add1e14a3caba1f5b2a98e4
2016-05-24 01:17:29 +00:00
Eric Laurent
219de73da2 Fix AudioTrack and AudioRecord documentation
Improve documentation for error codes returned by
AudioTrack.write() and AudioRecord.read() methods.
Fix native to JAVA error code conversion in JNI.

Bug: 28906466

Change-Id: I4d48b1d428834b7a39a14e2d81b6c164696817a8
2016-05-23 17:36:43 -07:00
Hang Yin
3ed27cc2b2 Created 4 camera preview stress test cases.
The 4 stress test cases cover situations of preview switch between
front/back camera and between photo/video mode. Followed Google
Camera App Kenai version streaming rules to set preview request in
the tests.

b/28916141 will be solved once this change is merged

Change-Id: I448be429df5b0813fa2e2f6ff05ad2936afee1b3
2016-05-23 17:29:28 -07:00
Amith Yamasani
f5c37eb3b7 Use correct synchronization lock
This is to fix an incorrect unregister() that was crashing
the system server. The only way it could be happening is
because of incorrect locking. So, hopefully this fixes it.

Bug: 28813750
Change-Id: Ie3c47ffa3024a0c533e12db0d2d021df8fc0367a
2016-05-23 17:21:08 -07:00
Dianne Hackborn
9c252700f6 Merge "Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x" into nyc-dev 2016-05-24 00:18:39 +00:00
Jaewan Kim
75822138ad Merge "PIP: Handle configuration changes" into nyc-dev 2016-05-24 00:05:27 +00:00
Selim Cinek
c22fff6cf6 Added accessibility action for scrolling the notifications
Also made the stackscroller focusable if and only if it is
scrollable. This will allow it to be important for accessibility
again.

Change-Id: I7773ed3a19d23f6bc62a1b9a23464cfbecd0ec03
Fixes: 25673942
2016-05-23 16:51:16 -07:00
Chong Zhang
616c7c10b9 Fix wallpaper crop during unlock animation
Do not crop wallpaper if the wallpaper target is animating but stack
clip mode is not STACK_CLIP_AFTER_ANIM. We can't crop wallpaper with
final bounds as the crop needs to apply before the transform.

bug: 28887408
Change-Id: I62b9a5ca818c3ca8d0af26d807318f63747b8ac4
2016-05-23 16:48:12 -07:00
Dianne Hackborn
aa9a59d410 Work on issue #27995384: Time in the top bar different...
...from time in the clock app

Always reset the kernel's next wake up time when we come
out of it, even if it didn't say an alarm went off.

Also add some more debugging to try to figure out what is
going on.

Change-Id: Ibf36d65b78c841128774d81517a7eb670c396c29
2016-05-23 16:34:16 -07:00
Erik Kline
4bf3157c45 Merge "Support DHCPv4 rebinding state" into nyc-dev 2016-05-23 23:19:04 +00:00
TreeHugger Robot
d15cc7a83e Merge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev 2016-05-23 23:04:36 +00:00
Christopher Tate
647cb6a6d8 DO NOT MERGE : backport of backup transport whitelist
Sysconfig define a whitelist of permitted backup transports

Previously any apk bundled in priv-app could insert a backup transport.
Reduce risk surface by giving the OEM explicit control over who is
allowed to handle backup data.

Bug 28406080

Backport of 494df79172 from N

Change-Id: I405b49daee8c576584575c3e46877cc97632d8c6
2016-05-23 15:37:57 -07:00
Chad Brubaker
80fd4e1292 Fix incorrect cleartext attribute
Bug: 28914756
Change-Id: Icb3b34b8b088eb8c03eb0b7049670df6d65973f9
2016-05-23 15:30:52 -07:00
Selim Cinek
954cc230ed Fixed a bug where the text directionality was inconsistent
The title would not be fully right aligned because it wasn't
layouted with match_parent because there could be a second visible
text when there is a progressbar.

Change-Id: I73d97d9a8addaec0e3b849349f220c764fa45db0
Fixes: 27893267
2016-05-23 15:00:22 -07:00
Dianne Hackborn
5035d29dcc Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x
Uh, yeah.

Change-Id: I452187fcdda634ebf00e5d6bcaa45433f348c17e
2016-05-23 14:39:45 -07:00
Adrian Roos
f5faf9db14 Deprecate unnecessairy Notification.Style constructors
Change-Id: I7a15eaaac4f756d137483aec5f389951c5a7eecb
Fixes: 28775574
2016-05-23 14:00:07 -07:00
TreeHugger Robot
42d4a337a3 Merge "Only resuming starting dontWaitForPause activity once" into nyc-dev 2016-05-23 20:51:40 +00:00
Jean-Michel Trivi
c991879f29 Merge "Recording activity notification: return list of configuration" into nyc-dev 2016-05-23 20:49:30 +00:00
Chad Brubaker
ef88f26b03 Track changes to network security config manifest configuration
Bug: 28908502
Bug: 28763009
Change-Id: If104c2344287ac3e19c34ff0e7cbff0cd6e95c98
2016-05-23 13:09:54 -07:00
Ben Lin
c6905cfb11 Register change Uri and notify changes in bugreportServices.
Bug: 28767380
Change-Id: Ia4d1f5a2e44881d300f2869c628d4990406caf40
(cherry picked from commit 6c9ff513c6d7d3de7ab8920d88111c2b1dc1bb1f)
(cherry picked from commit 93fafd67a6)
2016-05-23 20:07:04 +00:00