142557 Commits

Author SHA1 Message Date
Amith Yamasani
ebf1fd99d6 Allow content provider access across users
If the package has INTERACT_ACROSS_USERS. This had recently
regressed. Bringing back the functionality needed for multiuser
call log syncing.

Bug: 16298776
Change-Id: I4fdc3d676bb8a2bf78f5c27c41a74c0491e343cd
2014-07-16 17:47:40 -07:00
Amith Yamasani
ce50e7af92 Merge "App restrictions schema and parser" into lmp-dev 2014-07-15 16:06:25 +00:00
Amith Yamasani
c8c8425b51 App restrictions schema and parser
Documented the restrictions schema in RestrictionsManager docs.
Added a parser to read the meta-data and XML file on the device.
Added more types and methods in RestrictionEntry to accomodate some
new types and construction modes.
Added a styleable for restriction attributes.

Slight tweak to permission response params.

Bug: 14582645
Change-Id: I193d1162741d110c100831cab33b48e2baf7426c
2014-07-15 17:16:54 -07:00
Alan Viverette
7068c39526 Fix hotspot movement on focus change
BUG: 15726988
Change-Id: I97f88e5f7e404ecfcd5c254fddd18c8f6616064e
2014-07-16 00:06:14 +00:00
Svetoslav
41233447f9 Merge "Drop of the final UX assets for printing." into lmp-dev 2014-07-15 20:35:01 +00:00
Igor Murashkin
cc542a4e74 camera2: Fix available keys to filter to only supported keys
The following functions are affected:
* CameraCharacteristics#getKeys
* CameraCharacteristics#getAvailableResultKeys
* CameraCharacteristics#getAvailableRequestKeys

The above keys will now only return keys whose tags are set in
android.request.available{Characteristics,Result,Request}Keys

This change makes it possible to detect if a key is guaranteed to be
available at a granular basis (without querying hardwareLevel or
capabilities).

Change-Id: Iaa34e8c24100339c215604ff49035527fae467cd
2014-07-16 00:18:12 +00:00
Svetoslav
e323dcc31d Drop of the final UX assets for printing.
bug:15705610

Change-Id: I82104a2c0b3d1f4e34f71357b10bed24c0583e71
2014-07-15 17:16:40 -07:00
Svetoslav
73764e347d Update the page count in the print UI to meet new UX.
bug:15912257

Change-Id: I1aa3eb4f7e28d3d9c955f60a570c2f8800fdb88d
2014-07-15 15:56:52 -07:00
Svetoslav
283203e204 Style the all printers activity in material theme.
bug:16301078

Change-Id: Ib96f1e232914802d0b5ddc874be4a4d24a74b685
2014-07-15 14:02:55 -07:00
Svetoslav
67eb5bbd53 Merge "Update the page count in the print UI to meet new UX." into lmp-dev 2014-07-15 20:33:11 +00:00
Svetoslav
38408ff5b7 Remove text selector and hide ime on print options close.
bug:16301754

Change-Id: I69bf09df9976b12c611821737eb4abb794c1df80
2014-07-15 12:56:02 -07:00
Svetoslav
b4d873288d Adjust preview page footer height and font size.
bug:16300627

Change-Id: I135c13085fa0c48de6bedaa58b3974f800547e99
2014-07-15 12:31:39 -07:00
Svetoslav
fd9369c7ae Update the color pallete of the print options UI.
The print options UI now uses the material theme with custom
branding collors that follow the rest of the system UI.

bug:16301325

Change-Id: I5fefcd95ada0172a028574550dcfdf628f9ce22d
2014-07-15 11:40:09 -07:00
Alan Viverette
b024aaa9b9 Merge "Ensure surfaces with insets aren't rendered as opaque" into lmp-dev 2014-07-15 16:05:07 +00:00
Joe LaPenna
d44a5b35ae Revert "MSIM: dump sub specific info"
This reverts commit bc586ea61bacf05c509cb8dae44e9d8f22fc780d.

Change-Id: Ia85003f2f4eb17970fd5945dd8d432a701db9bba
2014-07-15 23:11:40 +00:00
Alan Viverette
57774a82f0 Ensure surfaces with insets aren't rendered as opaque
BUG: 16312821
Change-Id: Ie3012c34712b7bf91a2086a6b8c922d0ebfff2e6
2014-07-15 15:49:55 -07:00
Chris Craik
62cc377c03 Merge "Avoid arc for edge effect drawing." into lmp-dev 2014-07-15 20:46:43 +00:00
Bill Yi
c31020e723 am 96f6a1a9: (-s ours) DO NOT MERGE - Fix build issue isScreenOn
* commit '96f6a1a9e7806b34e7ae8c21b6febf965acf16e1':
  DO NOT MERGE - Fix build issue isScreenOn
2014-07-15 22:58:37 +00:00
Bill Yi
96f6a1a9e7 DO NOT MERGE - Fix build issue isScreenOn
Change-Id: I8821efd561d375c32702be55903fe401ab719e80
2014-07-15 22:50:55 +00:00
Chris Craik
8eeb729cf2 Avoid arc for edge effect drawing.
b/16131698

Tessellation doesn't support joins, which filled arcs have.

Change-Id: I566d0c1c39f058bb641aa24d2a4488b0aaa1b454
2014-07-15 15:36:32 -07:00
George Mount
e3b50aecfd Fix NPE during construction from XML.
Bug 16322214

Change-Id: Ie2811a54880ab60b607ae29d7df04b0636e67197
2014-07-15 22:24:58 +00:00
Ricardo Cervera
5a19dd522f am 35396800: Merge "docs: Added note on disabling debugging for WebView apps. Bug: 16232761" into klp-modular-dev
* commit '3539680063e039f5d543677805de7f4639575b1e':
  docs: Added note on disabling debugging for WebView apps. Bug: 16232761
2014-07-15 21:05:38 +00:00
Baligh Uddin
09e0f360fc Merge "Revert "Block focus with a touchscreen for ActionBars and Toolbars"" into lmp-dev 2014-07-15 20:39:52 +00:00
Baligh Uddin
200689da67 Revert "Block focus with a touchscreen for ActionBars and Toolbars"
This reverts commit a2933761d17bc5106357a1edd9bd3ff978160133.

Change-Id: Idedd430574925a0e86311a3d9fee51a74731c2f8
(cherry picked from commit d886cf139532a78b2d34d13403f10295a9bbd14e)
2014-07-15 22:06:56 +00:00
Ricardo Cervera
3539680063 Merge "docs: Added note on disabling debugging for WebView apps. Bug: 16232761" into klp-modular-dev 2014-07-15 20:39:52 +00:00
Stuart Scott
0e4586dfa4 Merge "MSIM: dump sub specific info" into lmp-dev 2014-07-15 20:39:52 +00:00
Sandeep Gutta
09abc62b4f MSIM: dump sub specific info
Add support to dump subscription specific info
in TelephonyRegistry

Cherrypicked from partner gerrit.

Change-Id: I9525b8ff8b8884e5099df762d0eafe27fdb186ab
2014-07-15 15:07:37 -07:00
Ricardo Cervera
4f3102f7d3 am 5a19dd52: am 35396800: Merge "docs: Added note on disabling debugging for WebView apps. Bug: 16232761" into klp-modular-dev
* commit '5a19dd522f010c459e8557beaf4526c322a98aff':
  docs: Added note on disabling debugging for WebView apps. Bug: 16232761
2014-07-15 21:09:04 +00:00
Svetoslav
6114981cce Merge "Style the all printers activity in material theme." into lmp-dev 2014-07-15 20:39:52 +00:00
Yorke Lee
0de2e6b4cb Merge "Fix current.txt build break" into lmp-dev 2014-07-15 20:35:01 +00:00
Yorke Lee
701cc88ed7 Fix current.txt build break
Change-Id: I6730b708b134827ab26487017d09e5aee0d71e86
2014-07-15 14:55:42 -07:00
Dianne Hackborn
fdb1956ff7 Fix issue #15681802: Missing RESET:TIME in complete battery histories
But wait, there's more!

- Keep track of sync durations in the aggregated stats.
- Add events for users that are running and in the foreground.
- Rework the activity manager's tracking of stuff using
  battery in the background to be based on proc stats, which
  allows it to be better about determing when it should reset
  its tracking of background work.
- Also add tracking of scheduled job execution, like we are
  doing for syncs.
- And once I started hooking battery stats in to
  JobSchedulerService, I found a few things I couldn't stop myself
  from changing: (1) make it very explicit that it doesn't start
  scheduling jobs until we have reached the point in system boot
  where third party apps are allowed to run, and (2) adjust
  the various for loops to not use iterators.

Change-Id: I69d812e27bcfee9e58a614f0f6b1c7545d7530b1
2014-07-15 14:48:48 -07:00
Ashish Sharma
213bb2fd4d Report wakelock time in checkin stats in ms. Bump version.
Change-Id: Icd5cebb3434572cb226ef018629fcfca8bfc08e8
2014-07-15 21:33:22 +00:00
Justin Mattson
00672376c6 Merge "Add a theme for setup and/or form style input for TV/leanback" into lmp-dev 2014-07-15 20:46:43 +00:00
Fabrice Di Meglio
bd9152f6ee Update DatePicker widget and its related dialog
- the old DatePicker widget is still there for obvious layout compatibility reasons
- add a new delegate implementation for having a new UI
- use the new delegate only for the DatePickerDialog (which does not need to be
the same)
- added support for Theming and light/dark Themes
- added support for RTL
- added support for Accessibility
- verified support for Keyboard
- verified that CTS tests for DatePicker are passing (for both the legacy and the
new widgets)

Also added a new HapticFeedbackConstants.CALENDAR_DATE and its related code for
enabling day selection vibration

Change-Id: I256bd7c21edd8f3b910413ca15ce26d3a5ef7d9c
2014-07-15 20:26:21 +00:00
Ricardo Cervera
122b21a408 docs: Added note on disabling debugging for WebView apps. Bug: 16232761
Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365
2014-07-15 09:47:24 -07:00
Deepanshu Gupta
d8176941eb Merge "Enable assertions in LayoutLib create" into lmp-dev 2014-07-15 16:04:58 +00:00
Deepanshu Gupta
197d488d58 Enable assertions in LayoutLib create
Change-Id: Ia74285ae50f5caf118aab9eca4123f8aa71f27b4
2014-07-15 13:15:15 -07:00
Deepanshu Gupta
5cd9dde5a2 Support Locale.toLanguageTag on Java 6
Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
2014-07-15 12:56:04 -07:00
Chet Haase
39b88cdb35 Merge "Set existing TypeEvaluator on new KeyframeSet when changing object values" into lmp-dev 2014-07-15 16:05:01 +00:00
Chet Haase
4ae3e6af08 Set existing TypeEvaluator on new KeyframeSet when changing object values
This avoids NullPointerException crash when changing values without
first canceling a running animator.

Issue #16245303 KeyframeSet crash on null keyframe or evaluator

Change-Id: I50ce5223310fe87e3382c446e2d36d93ae38a8fe
2014-07-15 17:39:48 +00:00
Dan Sandler
6d8edb1170 Merge "Pressed the "dim" button on the clock one too many times." into lmp-dev 2014-07-15 16:05:45 +00:00
Dan Sandler
bd8797616d Pressed the "dim" button on the clock one too many times.
Bug: 16202293
Change-Id: I0d1c746bb775f56db018c231a296daca848e9235
2014-07-15 13:38:41 -04:00
Narayan Kamath
d7671a7100 Merge "Don't throw errors on sharedUid adjustment." into lmp-dev 2014-07-15 16:05:01 +00:00
Winson Chung
82c8c5e987 DO NOT MERGE Using a fixed sized ImageView to prevent unnecessary layouts.
- Preparing for task view clipping using the view outline

Change-Id: I4aae4189a759a48057f1e3729cc2a9e6d553c11e
2014-07-15 17:25:21 +00:00
Craig Mautner
0b23e20be6 Merge "Add null check" into lmp-dev 2014-07-15 16:05:04 +00:00
Craig Mautner
3b1dac8c5a Add null check
Fixes bug 15847145.

Change-Id: Ia4d223da578bc38516824dd82dd3c5b8d58328dd
2014-07-15 09:51:33 -07:00
Paul Jensen
2bb7e34168 Fix T-Mobile provisioning detection.
Add User-Agent to HTTP request for captive portal.

bug:16316314
Change-Id: I32d4f75f4eb114574dd2a39d241cb085383b4f94
2014-07-15 16:11:41 +00:00
Chris Craik
e8797a18ea Merge "Fix translated VertexBuffer layer damage calculation" into lmp-dev 2014-07-15 16:04:58 +00:00
Chris Craik
0d5ac954a1 Fix translated VertexBuffer layer damage calculation
b/15986851

Change-Id: Id6be412e693c5233326164723a0a96e3802d9426
2014-07-15 13:01:02 -07:00