14509 Commits

Author SHA1 Message Date
Rubin Xu
63d1ee45ee Merge "Split ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED into two." into nyc-dev 2016-04-05 14:52:02 +00:00
Alan Viverette
29e2d427a4 Merge "Make Material switch style public" into nyc-dev 2016-04-05 14:51:04 +00:00
Alan Viverette
9e902f86ac Make Material switch style public
Bug: 28001482
Change-Id: I0dcbf585db13d2efffd09ec0e329170114f372a1
2016-04-05 10:14:27 -04:00
Bill Yi
f1ac762db1 Import translations. DO NOT MERGE
Change-Id: I2ee1e4554a52b1932121c963a8dd99a19e8bc990
Auto-generated-cl: translation import
2016-04-05 00:08:13 -07:00
Adrian Roos
cd2273c1d9 Merge "Get rid of negative margins" into nyc-dev 2016-04-04 23:55:54 +00:00
Roshan Pius
bf8ea13069 Merge "power_profile: Move all wifi power values" into nyc-dev 2016-04-04 22:21:25 +00:00
Ruchi Kandoi
b4aa2e9c37 PowerManager: Adds isSustainedPerformanceModeSupported()
isSustainedPerformanceModeSupported() returns true if the device
supports the mode. It checks for the boolean config
"config_sustainedPerformanceModeSupported" to be set.

Bug: 22864186
Change-Id: I0f9f0bcbb8c02b19f37e9c87570d88e8f78f7992
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-04 19:25:23 +00:00
Rubin Xu
e95057ade1 Split ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED into two.
Add more comment to EXTRA_QUIET_MODE

Bug: 27532254
Change-Id: I68a217561afca8b87f523c62393cdad097d5b75d
2016-04-04 16:08:47 +01:00
Pavel Zhamaitsiak
f3f7965eb3 Merge "Change UCE permissions from dangerous to signatureOrSystem" into nyc-dev 2016-04-01 21:27:32 +00:00
Pavel Zhamaitsiak
d9855c797c Change UCE permissions from dangerous to signatureOrSystem
Bug: 27812202
Change-Id: Icf9d97e4d3f802bc0b3ea26d61835e6471082118
2016-04-01 13:19:34 -07:00
Carlos Valdivia
51b651aea1 introduce GET_PASSWORD_PRIVILEDGED permission.
That will be used to filter in passwords for Session based
AccountManager flows.

Bug: 27590532
Change-Id: I4a6d0540bcff186e416351a6f719600ce35d86a0
2016-04-01 10:55:34 -07:00
Russell Brenner
f8c07d68c1 Merge "Add new permission for am.updateLockTaskPackages()" into nyc-dev 2016-04-01 16:23:25 +00:00
Russell Brenner
3ccb35421d Merge "Add new protection level for setup wizard" into nyc-dev 2016-04-01 16:22:49 +00:00
Roshan Pius
2a91e4aabc power_profile: Move all wifi power values
Move over all wifi related power values to power_profile.xml from
config.xml. If these parameters are present in both the xml files, we
ignore the one in config.xml, else we fall back to config.xml value.

Also add wifi tx level battery consumption

BUG: 27227497
Change-Id: I331dcdf5694740b951298b61c3105952b884690a
2016-04-01 08:57:02 -07:00
Prashant Malani
10ace25816 Merge "Make display brightness ramp rate fast configurable" into nyc-dev 2016-04-01 00:59:02 +00:00
Russell Brenner
b3ad567624 Add new permission for am.updateLockTaskPackages()
Adds android.permission.UPDATE_LOCK_TASK_PACKAGES, available only to
the system and setup wizard, providing access to
updateLockTaskPackages() without registering with the device policy
manager as a device owner.

Bug: 20016740
Change-Id: I6eceb5cece9407c84eabf3a818bb908f95989b91
2016-03-31 17:32:08 -07:00
Russell Brenner
b23346639b Add new protection level for setup wizard
Adds PROTECTION_LEVEL_SETUP, a privileged permission for use only by
the setup wizard.

Bug: 20016740

Change-Id: Ib95e349c54d5d12465bf43162975dfb628ef2434
2016-03-31 17:32:07 -07:00
Alan Viverette
b4e7b545a2 Merge "Remove DayNight theme" into nyc-dev 2016-03-31 21:04:10 +00:00
Alan Viverette
f0f919f19a Merge "Improve handling of AlertDialog padding between title and content" into nyc-dev 2016-03-31 21:03:20 +00:00
Alan Viverette
ae4908f41c Remove DayNight theme
Bug: 21854466
Change-Id: I739872112d0ae457d0d4620f9222206072d54b4b
2016-03-31 16:18:27 -04:00
Gus Prevas
bb8c30901d Merge "Updates Wear window animation styles." into nyc-dev 2016-03-31 20:15:06 +00:00
Adrian Roos
b986423aec Get rid of negative margins
Also fixes a bug where the reply history section was
missing in big picture and inbox style.

Bug: 27312771
Change-Id: I92d22ce2ede7122777a087444c0fabc8fc0b3252
2016-03-31 12:22:26 -07:00
Gus Prevas
5df3e95864 Updates Wear window animation styles.
Bug: 25281867
Change-Id: Ia16b7624946f8f29acdf36fcab602da612ab2dba
2016-03-31 13:38:35 -04:00
Yohei Yukawa
4f172d8673 Merge "Remove "Other keyboards" from IME switcher dialog." into nyc-dev 2016-03-31 06:12:32 +00:00
Yohei Yukawa
a102dbddaa Remove "Other keyboards" from IME switcher dialog.
Per comment from UX team, we remove "Other keyboards" button from the
IME switcher dialog because it now points to a stale location, and is
not really needed.

Bug: 27924222
Change-Id: I23b20de3ee0efbb67b7ccac2f9e458b6689dd4ed
2016-03-31 06:07:38 +00:00
Bill Yi
117dd705c4 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-31 04:17:33 +00:00
Bill Yi
bd1b56c22b Import translations. DO NOT MERGE
Change-Id: Iec6c28e663a94027fb9bc1f73ba400a28266491b
Auto-generated-cl: translation import
2016-03-30 19:58:55 -07:00
Alan Viverette
d6bfb82dc8 Improve handling of AlertDialog padding between title and content
Very slight improvements all-around. There is now greater separation
between the list's top edge and the title and less separation between
the list's bottom edge and the buttons.

Bug: 27535708
Change-Id: Ia0d0dfa5ea6d34597104885dd2c773144dcf446e
2016-03-30 20:56:30 -04:00
Philip P. Moltmann
9dcb86a48d Add the print service recommendation service
This service connects through the print manager to the print spooler:

PrintSpooler.AddPrintersActivity <-> PrintManager <-> PrintManagerService <-> UserState <-> RemotePrintServiceRecommendationService <-> PrintRecommendationService <-> PrintRecommendationServiceImpl

Hence there is a lot of mindless plumming.

The actual changes are only in the AddPrintersActivity which is extended
to show another list of services: The recommended services.

The PrintServiceRecommendationService is based on the experimenal print
service stubs provider. This provider was contributed the Android by
Mopria. As this services uses Android own network discovery service most
code from the experimental provider goes away. In fact the only logic
left over is the selections of mdns-txt fields to look at and the
printer vendor configuration.

This relies on the Android MDNS to get fixed (Bug: 27696905). This also
does not deal with how to update the recommendation service.

Bug: 24533249
Change-Id: I6edc6e25fc08a50d478b61c71bb8ea158b08624c
2016-03-30 17:21:07 -07:00
Yohei Yukawa
2bff490292 Update hard keyboard setup notification.
Starting from Android N, Settings.ACTION_HARD_KEYBOARD_SETTINGS is
available for navigating users to hardware keyboard settings.  We should
use this for keyboard layout notification.

This CL also updates the notification title and message based on
feedback from UX writing team.

Bug: 27795350
Change-Id: Ic93075f933d47486644092c469d7a3517eb2e541
2016-03-30 08:43:26 +00:00
Siyamed Sinir
d225f87ebc Merge "Revert "TextView setText/append methods set movement method"" into nyc-dev 2016-03-29 23:59:15 +00:00
Prashant Malani
99e6d43def Make display brightness ramp rate fast configurable
Add an overlay setting, and keep the default to its existing value of
200.

Bug: 26552257
Change-Id: Ifd29d80e28e57c5cfc640d519a62144ab5e963fa
2016-03-29 23:38:25 +00:00
Adam Powell
b3eca3161d Merge "Add contentInsetStartWithNavigation/EndWithActions" into nyc-dev 2016-03-29 22:12:34 +00:00
Dmitri Plotnikov
a8213eebdd Merge "Allowing AppWidgetService to start without FEATURE_APP_WIDGETS" into nyc-dev 2016-03-29 21:46:28 +00:00
Siyamed Sinir
6ffb0a6818 Revert "TextView setText/append methods set movement method"
This reverts commit 4ba0aa598ea86b7cffab8cd6ccd007e4e29cf883.

Change-Id: I7d6eb2584a1348014ce9c3fc3e53b4cf96e30db1
2016-03-29 21:43:27 +00:00
Adam Powell
679be2d6c4 Add contentInsetStartWithNavigation/EndWithActions
Allow developers to set different content insets on toolbars and
action bars to be used when navigation buttons or menu actions are
present. Set the default values for these according to the material
spec.

Bug 19317855

Change-Id: I13e04e1f19f0982bf551a3027eb70904d6b4674c
2016-03-29 14:24:15 -07:00
Oren Blasberg
77f30ccc7c Merge "Make context menu titles a nicer color." into nyc-dev 2016-03-29 20:56:04 +00:00
Chet Haase
fd48a321c9 Merge "Add setHasOverlappingRendering() method" into nyc-dev 2016-03-29 19:19:14 +00:00
Chet Haase
15b6ba5859 Add setHasOverlappingRendering() method
View.hasOverlappingRendering() is an important performance tweak that
subclasses can override to do the right thing return false when appropriate
to avoid expensive operations when view is translucent).
But this requires subclassing View to get this behavior.

This new API allows the property to be set from outside, enabling
standard views to have this behavior set. When the new method is called,
the behavior will derive from whatever it was set to. Otherwise, it
will default to the old/overriden behavior.

Issue #16561361  Make hasOverlappingRendering settable from outside/XML

Change-Id: If0fbc8667cdb82b1d85e795e782716a07196f3c0
2016-03-29 11:01:27 -07:00
Nicolas Prévot
82b1a68ed4 Merge "Update cross-profile intent resolver." into nyc-dev 2016-03-29 13:25:48 +00:00
Oren Blasberg
621fab8664 Make context menu titles a nicer color.
Use the accent color (i.e. teal) instead of gray. This results in
greater contrast between the menu title and the items in the menu
which looks much better.

Bug: 27293568
Change-Id: I8a3b75ca8dc08961fdde2611cd8a5899088109e1
2016-03-28 17:10:32 -07:00
Andrii Kulian
ad462701a8 Fix API numbering issues
This fixes issues with API numbering introduced in
2e751b8c778fd991fcdcec3bc2d1f32a722f436b.

Original commit replaced 'minimalSize' resource with 'minimalWidth' and
'minimalHeight' and 'make update-api' shifted the numbering of other resources.
This change reverts the shift, reuses number of 'minimalSize' and adds
another one new.

Bug: 27528326
Change-Id: I7d327f00043c2bd2aab7285e03223a042e8c97a3
2016-03-28 11:16:31 -07:00
George Mount
bf72e03dd5 Merge "Wrong layout file chosen for 6" phones." into nyc-dev 2016-03-28 14:33:48 +00:00
Daichi Hirono
57e1539a8f Merge "Add new text for USB type C host." into nyc-dev 2016-03-28 04:28:53 +00:00
Daichi Hirono
b6abccc8f3 Add new text for USB type C host.
If you use USB type C, you can charge Android from USB power or you can
supply power from Android to the other connected device.

Previously Android showed the notification saying "USB for charging".
The CL updates the text so that it shows the current power direction
explicitly.

Change-Id: Ic15ba70eaf8ade028283d8f490ac36e8d5e4db21
FIXED: 27706939
2016-03-28 10:52:17 +09:00
Andrii Kulian
2e751b8c77 Update ActivityInfo#WindowLayout apis (1/3)
Adds documentation, renames Layout to WindowLayout and
splits #minimalSize to #minimalWidth and #minimalHeight.

Bug: 27528326
Change-Id: Idb440cb081a14ccdc83309284e906454633c4504
2016-03-27 15:35:33 -07:00
Bill Yi
be3bcae7f6 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-03-26 17:28:48 +00:00
Bill Yi
35286960cb Import translations. DO NOT MERGE
Change-Id: Ida79dc685e550bd3c2765b1e93821a04c4effc52
Auto-generated-cl: translation import
2016-03-25 19:23:57 -07:00
Dmitri Plotnikov
0a3e17325c Allowing AppWidgetService to start without FEATURE_APP_WIDGETS
Bug: 26110877
Change-Id: Ide402274af4067c530793f0d674821f1294c4195
2016-03-25 17:24:57 -07:00
Jorim Jaggi
c39c7b0ce2 Add shadow during resizing in docked mode
Bug: 27738239
Change-Id: I48c45bd97c2aa7f3d7bbb5b1ba650fbe408bd0bf
2016-03-25 14:04:25 -07:00