9483 Commits

Author SHA1 Message Date
Jaewan Kim
5c8a7012dc Fix typo in tv_content_rating_systems.xml
Change-Id: I4c92bd884b744d7b8342e106a9c0cf868cb0a114
2014-08-04 13:31:16 +09:00
John Spurlock
1bb480a3a4 Battery saver: new policy changes + SystemUI tweaks.
- Service policy changes: allow the user to turn off (snooze)
   saver mode below the auto-trigger level.  Plugging in the
   device always exits saver mode.
 - Default trigger level is now 0 (never) instead of 15.
 - SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
   since waiting for _CHANGED can take seconds.
 - Move shared feature description text into the framework so it
   can be shared.
 - Tweak dialog title + action strings.
 - Remove trigger-level from SystemUI, it no longer needs it.
 - Add the ability to turn off saver mode directly from the
   notification.
 - Migrate saver confirmation dialog to common system UI dialog
   helper, and add a few convenience methods.
 - Fix bug where the status bar area would be orange over the keyguard
   in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd
2014-08-02 17:12:43 -04:00
Behdad Esfahbod
e9ad3931fa Add fontFeatureSettings to TextView and attrs
New API is hidden.

Bug: 15246510
Change-Id: I8cdbbd3a36fc280e07569dbb130f8c237062fff5
2014-08-01 21:35:05 +00:00
Ben Murdoch
798e7f5cce Merge changes I2f40be36,I4af9fd7e,Ib0b4245f,I55acad96,Id276b71e, ... into lmp-dev
* changes:
  Cherry pick Cleanup debug messages in WebViewFactory and WebViewUpdateService DO NOT MERGE
  Cherry pick Move startIsolatedProcess implementation in ActivityManagerService DO NOT MERGE
  CHerry pick Find WebView package name from a config resource. DO NOT MERGE
  Cherry pick Remove dependency on WebView native library path. DO NOT MERGE
  Cherry pick Make WebViewUpdateService a SystemService. DO NOT MERGE
  Cherry pick Refactor ActivityManagerService and make WebViewFactory more pedantic. DO NOT MERGE
  Cherry pick Refactor native library path logic in WebViewFactory DO NOT MERGE
  Cherry pick Append WebView assets to AssetManager when loading the WebView. DO NOT MERGE
  Cherry pick Introduce startIsolatedProcess private API in ActivityManager DO NOT MERGE
  Cherry pick Load the WebView Java code from an APK. DO NOT MERGE
2014-07-31 19:45:19 +00:00
John Spurlock
1a66bdb9a6 Replace wifi tether icon with new style.
Bug:15988601
Change-Id: Idadb87e6312a02ed204c4b41537ff4aed02f84c7
2014-08-01 11:48:28 -04:00
John Spurlock
347ec2ec20 Update wifi icon for open network notification.
Bug:15988601
Change-Id: I66ac99d7e6cec46199f01ffb49ff71b062a38431
2014-08-01 09:46:24 -04:00
Torne (Richard Coles)
5651fc2fee CHerry pick Find WebView package name from a config resource. DO NOT MERGE
Use a config resource to determine the package name for the WebView
implementation to allow it to be changed by a resource overlay.

Original Bug: 16329371
Original Change-Id: I5977691c0223347e0382d584c3d3ee4428660180

Bug: 16723226
Change-Id: Ib0b4245f26cbf93f364aa0f30b231786931f9f16
2014-08-01 14:25:08 +01:00
Sungsoo Lim
2d99826605 Merge "TIF: Use XML file for representing TvContentRating" into lmp-dev 2014-07-24 16:04:26 +00:00
Sungsoo Lim
5c5b83fcd5 TIF: Use XML file for representing TvContentRating
This change addresses the following API council feedback.

- Remove all constants from TvContentRating. Instead this class becomes a
  general parser for a tuple of "rating domain"+type+subtype(s).
- Instead of constants in the API, the rating definitions should come from
  parsed XML meta-data tied to a TvInputService entry in the AndroidManifest.
  This XML should define a ranked order of the rating constants along with
  @string references for displaying in the Settings UI.  Mention that the
  "rating domain" should be scoped similar to a package name, for example
  "com.youtube.ratings".
- For system-defined rating types (like US, Korea, etc) we should parse this
  same XML format, but it may come from a hard-coded XML resource (since they
  aren't tied to a single TvInputService.)
- Thoroughly document the built-in supported types in javadoc on TvContentRating.

Change-Id: I0a9526c73c8ca67fd0eeac63f3c63c05657a45e3
2014-08-01 13:47:28 +09:00
Tadashi G. Takaoka
8e2a1dfa27 Change wording of input method picker dialog
Bug: 14860252
Change-Id: I8629d04eabf7eaacdcb81162fab035ba5f70a51d
2014-08-01 13:59:50 +09:00
George Mount
68f96d8db5 Add differentiating transitions for returning/reentering.
Bug 16550363

Change-Id: I85f9a8bcbc92ce048d06b36579bb05893534f7f8
2014-07-31 21:58:06 +00:00
Alexandra Gherghina
2f1cee80eb Upload new icons from ux
Change-Id: I47da0780b1a4cce1104ae8fc00fcf01701a6d27a
2014-07-31 10:27:24 +00:00
Alan Viverette
0c0dde7171 Update switch assets, fix SearchView asset 9-patch areas
BUG: 16606037
BUG: 16467249
Change-Id: I9a5888e37317d1f8a6481f9733f784bbd37268f3
2014-07-30 13:37:35 -07:00
Geoff Mendal
4dfd455d49 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-30 16:17:51 +00:00
Geoff Mendal
e061d44997 Import translations. DO NOT MERGE
Change-Id: Ie02a99d4e746803f482713fe8a35ef31fdb5fdcb
Auto-generated-cl: translation import
2014-07-30 11:04:05 -07:00
Xia Ying
482c6e7db4 SMS 8-bit GSM characters decoding support
Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet
string that's stored in 8-bit unpacked format) characters.

Change-Id: I790dd448a8aaed952d5e24961d9fc509112f7486

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
2014-07-30 10:03:31 -07:00
ztenghui
d511fc2fa4 API Review: VectorDrawable. Remove clipToPath, add MiterLimit
bug:16488254

Change-Id: I693fd46eaf9af016ea9cefe44b559e0aee7c8f03
2014-07-30 16:47:19 +00:00
Sander Alewijnse
6c9eee8747 Add warning in the disambig for specific launchers.
For launcher that do not support managed profiles.
Also, ignore the intent after click on those launchers.

Change-Id: I3d5691952a9409755b7cde68a3caba98a3772665
2014-07-30 10:27:44 +00:00
Jae Seo
783645e99f TIF: Merge TvParentalControlManager into TvInputManager
This change addresses the following API council feedback.

TvParentalControlManager:
-- Replace the listener interface with a broadcast Intent with well-known
   action, something like ACTION_BLOCKED_RATINGS_CHANGED.
-- TvParentalControlManager goes away, and two remaining methods move to
   TvInputManager.

== Implementation changes ==
-- The user-selected rating preferences should be stored in an XML file, and
   loaded at boot by your internal system service.  It should _not_ be stored in
   a Secure/Global setting.

Bug: 16542165
Change-Id: I278df963576652ec9163a66c1ef99419fcdb36c2
2014-07-30 15:39:39 +09:00
Alan Viverette
9b38f6c2cd Revert "Update switch assets, fix SearchView asset 9-patch areas"
Missing updated current.txt

This reverts commit dbf6b0d68a3d502430d061cd14f03f344b50f019.

Change-Id: I70846883f56be661fa89f9eaf20f5d103f2833c6
2014-07-30 02:39:07 +00:00
Alan Viverette
8bb399069d Update switch assets, fix SearchView asset 9-patch areas
BUG: 16606037
BUG: 16467249
Change-Id: Iabdf1634f4d8f87031ab3e5579140cdd428173de
2014-07-30 00:28:08 +00:00
Alan Viverette
60727e07c6 Clean up TimePicker and DatePicker styling
Removes the time and date picker specific themes and defaults their
theme attributes to use the alert dialog theme attribute's value.

BUG: 14973897
Change-Id: Id5cc74ea0c1a379fc1ee76b354a1bb5ba329585a
2014-07-29 12:49:50 -07:00
Alexandra Gherghina
1f33d77f04 Rename work icon symbol to match the prefix used for badges.
Also renames the images for consistency.

Bug: 16369104
Change-Id: I19f97ae22cb2ee4f7db210f083badc1a30520b44
2014-07-29 15:21:01 +00:00
Marcin Kosiba
eed396f792 Make webview text encoding and keySystemUUID mapping and error page public.
These resources will need to be accessed from the APK-bundled
WebView and therefore need to be made public.

BUG: 11505352
Change-Id: I5e988671cc8342ed4146a90b4de1246460232050
2014-07-29 15:17:07 +01:00
Adrian Roos
a06d5ca1d9 Make TrustAgentService a SystemApi
Bug: 16401527
Change-Id: I6d19281600bacac7c8a29afc07c39ca1d461d23c
2014-07-29 12:54:49 +02:00
Zoltan Szatmary-Ban
e37e43d0bd Update Data Usage Settings for Enterprise
Applications of the managed profile are shown
with badged icon on the "Data Usage" app list.
A total of managed profile data usage (if any)
is displayed top of the list.

Bug: 15466834

Change-Id: Ie75fb0ddc240ea1e5d1097feda7b7b5931256fcb
2014-07-29 10:21:43 +01:00
Baligh Uddin
06a1d14962 Import translations. DO NOT MERGE
Change-Id: I98856777334e10b3560806992290620a1bd58c1d
Auto-generated-cl: translation import
2014-07-28 23:12:20 +00:00
Jing Zhao
03cab4cbe6 Enable config CDMA home system by mcc mnc
Define CDMA home system IDs for Verizon

Change-Id: Ie10d838173df3095238c50d419bd9de589e34e55
2014-07-28 21:53:52 +00:00
George Mount
d17ac54df3 Fix slide edge constants to match the gravity values.
Bug 16544683

Change-Id: If9aeb585d5c3eb3a984288c09510e1dde0c03045
2014-07-28 20:37:24 +00:00
Alexandra Gherghina
f7f8fd64c8 Update string for account manager failures
Bug: 14642886
Change-Id: I200e38c7a93990787a3d6e01a583fe8ba193a987
2014-07-28 07:41:40 +00:00
Christopher Tate
5eeb59cceb Schedule full backups
Initial policy:  at most daily; backups only run when the
device is idle + charging + on an unmetered network.

Bug 16485874

Change-Id: I5665d890a943bac765adcef14be79d7dba6ce078
2014-07-28 01:21:48 +00:00
Alan Viverette
d0e9449963 Merge "Add public attribute for window clipToOutline" into lmp-dev 2014-07-25 21:16:23 +00:00
Alan Viverette
40982d46f9 Add public attribute for window clipToOutline
Also ensures clipToOutline is false is the background is null.

BUG: 16549166
BUG: 16566746
Change-Id: Iacb08b64464cb93cbd8f34f2ec0308a77d40aab5
2014-07-25 17:48:55 -07:00
Fabrice Di Meglio
5c8b789892 Fix permission icons size to 24dp
See bug: #14258811 Permissions icons are not visible in App info

Change-Id: Ib77bae60d4a14163c72fdeb4cb084ddbd739f69b
2014-07-26 00:38:35 +00:00
ztenghui
a95c8abb36 API REVIEW: VectorDrawable
- Merge <size> and <viewport> attributes all in to top-level <vector> tag
- Indent attributes under <group> in java doc.
- Updata android:stroke to be android:strokeColor, likewise android:fill
- Instead of android:clipToPath, make this a different clip-path tag.
- Document units of the various attributes
- Add example code for defining a VectorDrawable resource

More than that:
= Refactor the code to better support clipPath as a sub-class.
= Update all the xml files to use the new attributes and clip-path tag.

TODO:
-- Remove clipToPath, since that should happen on build break Friday.

bug:16488254

Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
2014-07-25 23:26:41 +00:00
Raph Levien
40d83df87e Fix docs build breakage in #TextView_letterSpacing
This patch removes the @hide annotations and public reference from the
new letterSpacing attribute, so the docs will build. It's still not an
ideal state because a test app can't find the attribute, but at least it
unbreaks the build.

Change-Id: I5425fbe3d63f7a759fabe43bd2136196c7112eed
2014-07-24 22:46:09 -07:00
Alan Viverette
50418d3a44 Fix preference panel style in DialogWhenLarge
BUG: 16550946
Change-Id: Ic419c9f6328b50383ca0ad09a1c1014129256b99
2014-07-25 01:02:04 +00:00
Alan Viverette
c734dafb21 Fix radio button tints
BUG: 16513084
Change-Id: I0cda30f25c54a3d9814bbbb4578893734efb5d82
2014-07-25 00:15:11 +00:00
Behdad Esfahbod
4774470e20 Merge "Add letter-spacing to Paint and TextView" into lmp-dev 2014-07-24 15:36:21 +00:00
Behdad Esfahbod
fa80f7491d Add letter-spacing to Paint and TextView
New API is hidden.

Bug: 15594400
Change-Id: I5cbe7aebef0b7280eb13924f2a706c0cb4a4688e
2014-07-24 18:46:07 -04:00
Prashant Malani
85d5144984 resolved conflicts for merge of bc3699b1 to lmp-dev
Change-Id: I1b219b5b48afb08ce3704a4f064a85652d2d9339
2014-07-24 15:29:27 -07:00
Prashant Malani
bc3699b1c3 am b4dcc64f: Merge "Revert "Remove circular mask"" into klp-modular-dev
* commit 'b4dcc64fe6314b139ac17aa296419bbf153df2f6':
  Revert "Remove circular mask"
2014-07-24 18:06:03 +00:00
Baligh Uddin
b3bb0e3f0d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-24 20:48:02 +00:00
John Spurlock
543650bb10 Merge "Volume: Show safe media warning in settings." into lmp-dev 2014-07-24 23:36:47 +00:00
John Spurlock
351346092a Volume: Show safe media warning in settings.
If the safe media warning is enabled, make sure
we display it from the new inline slider preference in
Settings (without showing the volume dialog itself).

Also:
 - Update the warning dialog to the new sysui theme.
 - Separate the warning sentences with an additional line.
 - Fix the auto-dismiss timeout.
 - Add a system property to additionally enable the safe
   media warning for testing
 - Add more information to audio service dumpsys.

Bug:15434662
Change-Id: I95fec12c9049bbfdb7ebdf246160e4b12c0c5be3
2014-07-25 11:27:51 -04:00
Alan Viverette
e4f53d65d1 Merge "Remove content description from SearchView text field" into lmp-dev 2014-07-24 20:48:02 +00:00
Alan Viverette
9f716b7c40 Remove content description from SearchView text field
BUG: 16519353
Change-Id: I4df5e1e04fdf0d625e42f70f67657c5107f1443b
2014-07-25 13:51:57 -07:00
Jeff Sharkey
16c8e3f494 PackageInstaller changes based on feedback.
Mostly cosmetic changes from API council feedback.

Bug: 16543552
Change-Id: Ic926829b3f77c31f50a899c59b779353daf00d59
2014-07-25 11:59:48 -07:00
Alan Viverette
0da25b9298 Merge "Update icons for search and back" into lmp-dev 2014-07-24 15:35:58 +00:00
Alan Viverette
61968a93a8 Update icons for search and back
BUG: 16539661
Change-Id: If914e812841d2844a4fa50cc5a863615531371a2
2014-07-24 13:42:40 -07:00