Commit Graph

246497 Commits

Author SHA1 Message Date
Adarsh Fernando
8dc27182df Docs: Changed URL references of relocated test_framework.png am: b4c6f2b637 am: 9b81008076
am: 7932d67607

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

Change-Id: Ifbfdcb353bf4b7100af20c0f0d784274945df2aa
2016-05-24 18:44:41 +00: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
Amith Yamasani
32257dbb4d Merge "Use correct synchronization lock" into nyc-dev
am: 638cc6cac9

* commit '638cc6cac9e35ec5a1410ba2fd63550b53e699ab':
  Use correct synchronization lock

Change-Id: Ibc7475f21c585ae457412214986cc14ac9ecbe8b
2016-05-24 18:29:45 +00: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
Felipe Leme
964914602b Merge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev
am: efd3a1749f

* commit 'efd3a1749f2737199643cc29bea6132a9786223b':
  Fixed enforceMeteredApnPolicy when Data Saver is on.

Change-Id: I5cd9701e6620abcc950f6a182b6e2b5f95127371
2016-05-24 18:13:14 +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
Ben Lin
9c14d14f43 Merge "Register change Uri and notify changes in bugreportServices." into nyc-dev
am: 5d5ddfa80e

* commit '5d5ddfa80ecb482e34ed4bfebae2c7308269a1c4':
  Register change Uri and notify changes in bugreportServices.

Change-Id: Ic118dd61f0471f61af3fe5fbace8a0dbae258484
2016-05-24 18:01:16 +00: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
Eric Laurent
a30335698c Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev
am: b143e3de34

* commit 'b143e3de34ab98463a641fd6d67165fce878f1ff':
  Fix AudioTrack and AudioRecord documentation

Change-Id: I861c0047b33730465c3ceeae1c4072f17b29d804
2016-05-24 17:43:34 +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
Chong Zhang
d2b0d2e231 Merge "Fix wallpaper crop during unlock animation" into nyc-dev
am: d4a45e0c40

* commit 'd4a45e0c40b46e3d57617a91dbb0a9dc4412208c':
  Fix wallpaper crop during unlock animation

Change-Id: I862e208435365cd8c0639beab8e4eaee5fee8b45
2016-05-24 17:21:30 +00: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
45c02ee9d5 Merge "Work on issue #27995384: Time in the top bar different..." into nyc-dev
am: cdcc53d007

* commit 'cdcc53d007d613ccfcf3a36ce22fa6823c5fe954':
  Work on issue #27995384: Time in the top bar different...

Change-Id: If1f18d7c56bbe56353319b2f394f90121f050fc7
2016-05-24 17:09:00 +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
59f656bee1 media: add missing levels in CodecProfileLevel and fix limits
am: 2a4001ee62

* commit '2a4001ee62f3374d7fffed72d71f77c5a833c331':
  media: add missing levels in CodecProfileLevel and fix limits

Change-Id: Iea860639751956dce3efd833e9bac36daefe3110
2016-05-24 16:07:21 +00: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
d31e42a52f Set autobundled summary color.
am: 3011fd4dbd

* commit '3011fd4dbd4585917af71e109353e6e02332ef5b':
  Set autobundled summary color.

Change-Id: Ic903b346211ae89d0cd531eae98e1d90138c385c
2016-05-24 13:58:18 +00:00
Julia Reynolds
3011fd4dbd Set autobundled summary color.
Change-Id: I8ceb0b045359dc364fcec411fcfc610f7f57d8db
Fixes: 28615262
2016-05-24 13:51:23 +00:00
Jason Monk
9458057c9b Merge "QS: Don\'t cause click noise when opening from QQS" into nyc-dev
am: 8a1561a772

* commit '8a1561a772e735b41b48dfb91269b620b5125602':
  QS: Don't cause click noise when opening from QQS

Change-Id: I6cd5281ab021be51ad92c86edc9e39b62188c713
2016-05-24 13:43:42 +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
7185fc8cc3 Merge "Set accessibility string for suspended widgets." into nyc-dev
am: 7b4b2fbc0a

* commit '7b4b2fbc0afd9cff3d4bb647b0ed7dc79ab747dc':
  Set accessibility string for suspended widgets.

Change-Id: Iedafb99a35224a37e816c510284ebfc01fe3c87d
2016-05-24 13:20:25 +00:00
Kenny Guy
7b4b2fbc0a Merge "Set accessibility string for suspended widgets." into nyc-dev 2016-05-24 13:11:12 +00:00
Mahaver Chopra
dd86aa141e Merge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev 2016-05-24 12:22:51 +00:00
Mahaver Chopra
830e32cdcc Disallow OEM unlock when DISALLOW_FACTORY_RESET applies
Bug: 28339424
Change-Id: I4b6dc6f186ea60a13e778f52d574e615b0b19b74
2016-05-24 12:03:40 +00:00
Gustav Sennton
a44129dd55 Merge "Load WebView even if WebView relro creation times out." into nyc-dev
am: a2fbfbce9e

* commit 'a2fbfbce9ef09ed7a98222e67709aa086e548c79':
  Load WebView even if WebView relro creation times out.

Change-Id: Icf6e99e3f3dfc9b1f4244f5da63e32b3d741459c
2016-05-24 10:46:16 +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
09a2690f91 Merge "Support IPv6 multicast filtering in APF." into nyc-dev
am: d954c6368f

* commit 'd954c6368fc6e591385e608fa6ebb42dc7606074':
  Support IPv6 multicast filtering in APF.

Change-Id: I6123c2390aa9641652fd200adcc16f9724799aab
2016-05-24 03:19:29 +00:00
Lorenzo Colitti
d954c6368f Merge "Support IPv6 multicast filtering in APF." into nyc-dev 2016-05-24 03:14:38 +00:00
Pavlin Radoslavov
c6a3503100 Reduced the impact of "synchronized" statements
am: eb50a39e98

* commit 'eb50a39e98acb78d16465041bb5c172aa1637e97':
  Reduced the impact of "synchronized" statements

Change-Id: I272dba69e9011720356a3c5b9ca849de281f5027
2016-05-24 02:34:23 +00:00
TreeHugger Robot
a09c9e0fc4 Merge "Adding RetailModeService to handle retail mode" into nyc-mr1-dev 2016-05-24 02:24:50 +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
Suprabh Shukla
cc30b0e790 Adding RetailModeService to handle retail mode
The service listens for the global setting DEVICE_DEMO_MODE and switches
device to demo mode when it is changed to 1. Also, acquires the wakelock
to
keep the screen on and puts up a notification to wipe and reset the demo
session when in demo mode.

Bug: 27280140
Change-Id: If1843016889ec2c50818c67432d60f33063e0986
2016-05-23 17:47:51 -07: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
Dianne Hackborn
74ebf3ec67 Merge "Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x" into nyc-dev
am: 9c252700f6

* commit '9c252700f6686767f5418677800ba171f441dddc':
  Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x

Change-Id: Ib2811fb49299da93459066d9d6312d403681eed4
2016-05-24 00:30:32 +00: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
Jaewan Kim
938c4e3564 Merge "PIP: Handle configuration changes" into nyc-dev
am: 75822138ad

* commit '75822138ad7f676592c5655df96fe76200b6ffb3':
  PIP: Handle configuration changes

Change-Id: Ic01a93b2031693b9051312598c084e871d84fedc
2016-05-24 00:22:27 +00: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