235158 Commits

Author SHA1 Message Date
Jae Seo
6256e27c1b TIF: Add more comments for TvInputInfo/TvTrackInfo
- Documented what TvInputInfo.getTunerCount returns if the input is not
  of TYPE_TUNER.
- Documented what all getters/setters in TvTrackInfo throw if not called
  on proper types.

Bug: 27531254
Change-Id: I32d83ce888507ec29cda8dce74871a3d55783766
2016-03-07 20:09:43 -08:00
Selim Cinek
89991a205a Fixed a bug where the font sizes where not enforced correctly
If a style was passed through it wasn't processed correctly.

Bug: 27431551
Change-Id: If764634cbc8a5bf13260a8fc4f392bc8b7482f4d
2016-03-07 19:51:54 -08:00
Yohei Yukawa
dd461a942c Merge "Rely on SystemService#onSwitchUser() in IMMS." into nyc-dev 2016-03-08 03:03:14 +00:00
Sudheer Shanka
3cb4da16dc Update DPM.getWifiMacAddress to take admin component as argument.
Bug: 27532280
Change-Id: I3a5e9557c3c6ac43c458c911a5309bdb2655fb66
2016-03-07 18:51:49 -08:00
Daichi Hirono
d517e6aeed Merge "Add a new key to Settings.Global to obtain the number of boot." into nyc-dev 2016-03-08 02:06:39 +00:00
Sungsoo Lim
e10739ab8b Merge "MediaBrowser: Copy options before using it in subscribe()" into nyc-dev 2016-03-08 01:46:13 +00:00
Steve McKay
cc90976612 Merge "Suppress tests that are consistently failing..." into nyc-dev 2016-03-08 01:38:52 +00:00
Amit Mahajan
0f90653ca1 Merge "New permission for bypassing premium short code check." into nyc-dev 2016-03-08 01:13:53 +00:00
Amith Yamasani
bf2ef61770 Reorder migration of settings from db to xml
Make sure we commit the Global table last, so that if the
runtime was restarted before the others were written, we don't
get into an inconsistent state of migration.

Not sure if this fixes the following bug, but it's one thing
that stood out as a possibility.

Bug: 27335488
Change-Id: I4166a157e9ff542b1d5e32797693417375e40581
2016-03-07 17:02:45 -08:00
Damien Bargiacchi
4259500ff2 Merge "Draw a clock on top of the Android boot animation" into nyc-dev 2016-03-08 00:44:35 +00:00
Steve McKay
d38b6f1f70 Merge "Show active downloads in Files app Downloads dir." into nyc-dev 2016-03-08 00:34:53 +00:00
Damien Bargiacchi
a704b7d344 Draw a clock on top of the Android boot animation
Don't draw on top of vendor specific animations/logos since we can't
make it look good.

Bug: 27209004
Change-Id: If4791b861ff476c23b37787ba896a3ef8d9df4fd
2016-03-07 16:15:31 -08:00
Ruben Brunk
875825d0c1 Merge "Add a VR listener service." into nyc-dev 2016-03-08 00:14:57 +00:00
Jean-Michel Trivi
598c0c9f65 Rename AudioRecordConfiguration to AudioRecordingConfiguration
In package android.media:
- rename AudioRecordConfiguration to
   AudioRecordingConfiguration to avoid ambiguity with the
   android.media.AudioRecord class
- rename AudioManager.getActiveRecordConfigurations() to
   getActiveRecordingConfigurations.

Bug 27385560

Change-Id: I5ef404ff36522193990c9b563d4545893529b365
2016-03-07 16:05:51 -08:00
Ruben Brunk
e24b9a6cfa Add a VR listener service.
Bug: 22855417
Bug: 26724891
Bug: 27364145

- Add an API for VrListenerService, which is bound/unbound
  from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
  VrManagerService and evict services as needed when packages,
  users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
  explicit selection of the running VrListenerService from
  the current VR activity.

Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
2016-03-07 15:54:12 -08:00
Philip P. Moltmann
ab7302c9f4 Merge "Correct how to deal with print service installation" into nyc-dev 2016-03-07 23:46:50 +00:00
Selim Cinek
f7f4537f4f Merge changes I6e5dc836,Ia0c663f0,I97eb6e79,I8a4a0213,I87798da9, ... into nyc-dev
* changes:
  Removed the group expand button
  Removed the bundle number from the header
  Fixed a crash with notification children
  Fixed a bug where the media header wasn't indented
  Fixed fading and dozemode for custom notifications
  Fixed a group bug with a single expanded child
  Fixed a bug where the top child notification wasn't expandable
  Fixed a bug where heads up where not expandable by touch
  Fixed a bug where the wallpaper was shining through the background
2016-03-07 23:43:58 +00:00
Steve McKay
5b6c9823c5 Merge "Send APKs through safe install path." into nyc-dev 2016-03-07 23:43:55 +00:00
Steve McKay
18d3e853cc Suppress tests that are consistently failing...
on APCT.

Change-Id: I3a3a718b8211a5188130aa698322934bf62d81d1
2016-03-07 15:36:14 -08:00
Philip P. Moltmann
852c950bbf Correct how to deal with print service installation
- Deal with case that there are currently no print services installed
- Deal with the case that a package modification adds a print service

Bug: 27530312
Change-Id: I67a647bd0982a092a4810d6c1285d0c7b64e104e
2016-03-07 15:32:25 -08:00
Mihai Niță
e47b0d4fc2 Merge "Back region to lang selection: preserve search & position" into nyc-dev 2016-03-07 23:18:31 +00:00
Selim Cinek
6db575803e Removed the group expand button
It's now a normal group expand button.

Bug: 27431551
Change-Id: I6e5dc83613533ef8590b0a8180d8c4be8322aa21
2016-03-07 15:11:56 -08:00
Selim Cinek
3b050317bf Removed the bundle number from the header
Bug: 27431551
Change-Id: Ia0c663f0bab875abba4b35d565f3ac4ed2306079
2016-03-07 15:11:55 -08:00
Selim Cinek
2b542424f7 Fixed a crash with notification children
Notification children would animate when removed even
though they were just transferring to a different parent
or to the root.

Bug: 27476798
Change-Id: I97eb6e795d7762fb150b63f49eec9bb6092339be
2016-03-07 15:11:55 -08:00
Selim Cinek
50c6e498b1 Fixed a bug where the media header wasn't indented
We need to remeasure in case we change the params.

Bug: 27494315
Change-Id: I8a4a0213db75f866a87a5c117f98d80fe80641c9
2016-03-07 15:11:52 -08:00
Winson Chung
fbc32f158b Merge "Preventing users from over scrolling too far." into nyc-dev 2016-03-07 23:10:04 +00:00
Jae Seo
3d684ca831 Merge "Fix NPE in PrintManagerService" into nyc-dev 2016-03-07 23:06:48 +00:00
Winson
12cb920eba Preventing users from over scrolling too far.
- Also tweaking the second part of the unfocused curve to make it more 
  linear to touch.

Bug: 27478701
Bug: 27376567

Change-Id: If187ea333579221ef24986d8d37d0606e50ab7bc
2016-03-07 15:06:43 -08:00
Teng-Hui Zhu
1664a829eb Add tileMode support into GradientColor
So VectorDrawable can have tileMode supported Gradient color.
b/27126035

Change-Id: Icbf5983be165f04dc640627f6208fb1292f15625
2016-03-07 15:02:32 -08:00
Winson
4333694d8a Fixing screenshot regression from ag/879131.
- We were not poking existing TaskViews from updating after their tasks
  have been updated (ie. with a new screenshot)

Change-Id: I33916aecf004afdb88a2462e69437ad1d9e8017d
2016-03-07 22:54:37 +00:00
Tony Mantler
cfa15bd1d5 Add hidden slide fraction call to Slide
b/27460758

Change-Id: I936ce1c0ece24dd6a9e1c546f0bf261b37ba97c1
2016-03-07 14:48:16 -08:00
Roshan Pius
4e7ad35b2f Merge "WifiScanner: Add hidden networkIds in scan setting" into mm-wireless-dev
am: d412376ca0

* commit 'd412376ca00545857df7a21829e3f674253c0567':
  WifiScanner: Add hidden networkIds in scan setting
2016-03-07 22:47:59 +00:00
Roshan Pius
d412376ca0 Merge "WifiScanner: Add hidden networkIds in scan setting" into mm-wireless-dev 2016-03-07 22:44:08 +00:00
Steve McKay
9bb98f3121 Send APKs through safe install path.
Basically push them through downloads.ui TrampolineActivity
    to get origin url and referer and other security bits
    added before handing off to package manager.

Bug: 24676446
Change-Id: Id40787ada6ace424c4e5e4bfeedc0a8005b7a734
2016-03-07 14:35:50 -08:00
Jae Seo
c2c83eeda6 Fix NPE in PrintManagerService
Bug: 27530312
Change-Id: I86800572a93fbcf37f2e073a1eaee6fbe6658de1
2016-03-07 14:30:33 -08:00
Seigo Nonaka
dcbd782635 Merge "Change suggestion window text color based on user feedback." into nyc-dev 2016-03-07 22:26:23 +00:00
Seigo Nonaka
ac27b30fa6 Change suggestion window text color based on user feedback.
Changing highlight text color to black alpha=.87 and normal text
to black alpha=.57.

It turned out that alpha value is ignored if we set alpha value
and textColor at the same time. Using #AARRGGBB style instead.

Bug: 27389556
Change-Id: I318379261c66d9da089e8f8bf9f8136c10958511
2016-03-07 22:24:51 +00:00
Lorenzo Colitti
7426a65269 DO NOT MERGE: Move PinningNetworkCallback out to a new NetworkPinner class.
am: 2a3ca73158  -s ours

* commit '2a3ca73158227751321e98ba707496adf84007a6':
  DO NOT MERGE: Move PinningNetworkCallback out to a new NetworkPinner class.
2016-03-07 22:19:32 +00:00
Steve McKay
75fe6bca49 Show active downloads in Files app Downloads dir.
And permit users to peek into zip files stored in Downloads.
But dont' show active downloads in pickers.

Bug: 26759955
Change-Id: Ib425a79488e953c981ddadeb01a37f6e1d8a8285
2016-03-07 14:17:06 -08:00
Xavier Ducrohet
f84d7bfb81 Merge "Add missing references to VNativeObject" into nyc-dev 2016-03-07 22:13:46 +00:00
Yohei Yukawa
d1f7c4bad1 Merge changes I2d6f9932,Ib3cc799d into nyc-dev
* changes:
  Rely on SystemService#onSwitchUser() in TSMS.
  Switch to SystemService lifecycle in TSMS.
2016-03-07 22:12:58 +00:00
Diego Perez
39b205cc92 Add missing references to VNativeObject
Change-Id: I2db4ad94009c0daff4649da6f85e5c084f4c01ea
2016-03-07 22:12:01 +00:00
Amit Mahajan
e5cd9fa439 New permission for bypassing premium short code check.
Bug: 18326557
Change-Id: I1b05f73103183b851bbef1280d0785ce0a48159a
2016-03-07 21:51:44 +00:00
Chris Wren
e0ba7eb365 rename the asisstant service for the ranker
Bug: 22960980
Change-Id: Ibe57933303a488b01c43a7621a488d425d6f707d
2016-03-07 16:50:27 -05:00
Philip P. Moltmann
ba245f98d6 Update 'more options' button when changing the printer.
Change-Id: I1bf71629027c18e297426e26db2923c447e47734
2016-03-07 13:44:59 -08:00
John Reck
0418afa362 Switch hwui to google-benchmark
Change-Id: Ia2b24b8288cb8dc4f9176f4132a24ddcae9b6edd
2016-03-07 13:42:11 -08:00
Yohei Yukawa
9faa2aeb8a Rely on SystemService#onSwitchUser() in TSMS.
SystemService class has already provided SystemService#onSwitchUser()
callback event.  We do not need to set up SynchronousUserSwitchObserver
separately in TextServicesManagerService.

Bug: 25816558
Bug: 27456430
Change-Id: I2d6f9932f30b72cf4ae4bc0c41810f75e2667478
2016-03-07 13:42:07 -08:00
Yohei Yukawa
a6a152e7de Switch to SystemService lifecycle in TSMS.
Like we did this for InputMethodManagerService [1],
TextServicesManagerService (TSMS) needs to be recognized by
SystemServiceManager with SystemService lifecycle mechanism so that we
can receive SystemService#onUnlockUser() event, which is necessary to
make TSMS encryption-aware.

As a preparation, with this CL we only does mechcanical migration to
SystemService lifecycle mechanism in TSMS.  Hence no user-visible
behavior change should occur.

  [1]: Ic17667df60b30e5355b61a3601ad27a000cab3a3
       1e33dc8fdf3f722ecd32cc586b2a9515de24a242

Bug: 27456430
Change-Id: Ib3cc799d384f259b4fa3f5295f2da198df015eb8
2016-03-07 13:41:15 -08:00
Seigo Nonaka
0ebc68a0e2 Merge "Introduce script matching for enabling default IME subtypes." into nyc-dev 2016-03-07 21:28:54 +00:00
Yohei Yukawa
7b18aec947 Rely on SystemService#onSwitchUser() in IMMS.
SystemService class has already provided SystemService#onSwitchUser()
callback event.  We do not need to set up SynchronousUserSwitchObserver
separately in InputMethodManagerService.

Bug: 25816558
Bug: 26279466
Change-Id: I8ce2ba1335ae4caa35f9a21d87b751bfb4614033
2016-03-07 13:04:32 -08:00