OSDN Git Service

android-x86/frameworks-base.git
10 years agoFix various bugs with model management
Sandeep Siddhartha [Fri, 25 Jul 2014 17:49:34 +0000 (10:49 -0700)]
Fix various bugs with model management

- Tie the sound model and keyphrase for simplicity
  We won't support multiple keyphrases in a single model out of the box.
  The db schema will need to be changed by the OEM wishing to add multiple hotwords.
  This is because we currently have no way to test the flow and make sure that things work well with multiple keyphrases
  and also the framework only reads the metadata for one keyphrase.

- Make the delete/update operations atomic

- Make the flow of data from Enrollment -> VIMS; the large sound model doesn't cross the process boundary any other time.
  This is achieved by passing they key around, instead of the model themselves.

- Add a specific delete operation in DatabaseHelper rather than relying on emptying the keyphrases to delete.

Bug: 16555803
Bug: 16516353
Change-Id: I1e0cce137517502a669e431ca7e9f9f755598328

10 years agoAdd read/writeBlob to Parcel
Sandeep Siddhartha [Fri, 25 Jul 2014 23:19:42 +0000 (16:19 -0700)]
Add read/writeBlob to Parcel

These are {@hide}en for now.

Bug: 16516353
Change-Id: Ie1635617ee8611a78be9068a7ce674e34c30301d

10 years agoRevert "Add new intent to prompt user for their device credential. DO NOT MERGE"
Jay Civelli [Fri, 25 Jul 2014 23:35:59 +0000 (23:35 +0000)]
Revert "Add new intent to prompt user for their device credential. DO NOT MERGE"

Breaks the JavaDoc generation.

This reverts commit c82a11573810ed4d1f40568d19afc27f726829af.

Change-Id: I9e38a0d6ba0935d4967b50023030c99727bfc839

10 years agoMerge "API REVIEW: VectorDrawable" into lmp-dev
ztenghui [Fri, 25 Jul 2014 23:30:18 +0000 (23:30 +0000)]
Merge "API REVIEW: VectorDrawable" into lmp-dev

10 years agoAdd possible string to survive string freeze.
Jorim Jaggi [Fri, 25 Jul 2014 23:24:52 +0000 (01:24 +0200)]
Add possible string to survive string freeze.

Winter is coming!

Change-Id: I806e8ece14895f9d79127dd7f98b6818d72ecbf1

10 years agoAPI REVIEW: VectorDrawable
ztenghui [Wed, 23 Jul 2014 16:47:50 +0000 (09:47 -0700)]
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

10 years agoTIF: Rename ComponentName variables to "component" consistently
Ji-Hwan Lee [Fri, 25 Jul 2014 11:20:38 +0000 (20:20 +0900)]
TIF: Rename ComponentName variables to "component" consistently

Currently, it's sometimes "name", or "service".

Change-Id: I91dffe30fd2b873c744dbde2c027f0582f55746f

10 years agoMerge "MHL controller for subcommand reception" into lmp-dev
Jinsuk Kim [Fri, 25 Jul 2014 23:15:02 +0000 (23:15 +0000)]
Merge "MHL controller for subcommand reception" into lmp-dev

10 years agoMHL controller for subcommand reception
Jinsuk Kim [Thu, 24 Jul 2014 05:48:34 +0000 (14:48 +0900)]
MHL controller for subcommand reception

Implement HdmiMhlController command reception part.

Bug: 16215362

Change-Id: Iabf46dfaa762fae8c537e4d4ebd3469388a6b7c3

10 years agofix ArrayIndexOutOfBoundException of ExitTransitionCoordinator
Dake Gu [Fri, 25 Jul 2014 22:36:23 +0000 (15:36 -0700)]
fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator

b/16575308

Change-Id: Ieb4f15a8ead7da9682c97d4d342cd77e0b85e5f8

10 years agoAdd missing documentation for createVirtualDisplay
Michael Wright [Fri, 25 Jul 2014 21:05:42 +0000 (14:05 -0700)]
Add missing documentation for createVirtualDisplay

Fix incorrect access modifier in Activity documentation.

Change-Id: Id41da6ccbdfa8b53c89360c899f3a43aec899982

10 years agocamera2: Update preview counter after request completed.
Ruben Brunk [Fri, 25 Jul 2014 22:12:33 +0000 (15:12 -0700)]
camera2: Update preview counter after request completed.

Bug: 15116722

- This was causing the preview counter to double decrement
  for requests where the jpeg callback was executed first.

Change-Id: I6bfdaa7da7f68e86e05dc7ac60ceb3c8d5a0104a

10 years agoFixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)
Winson Chung [Fri, 25 Jul 2014 22:46:57 +0000 (15:46 -0700)]
Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540)

10 years agoMerge "Make creating the Connection synchronous" into lmp-dev
Evan Charlton [Fri, 25 Jul 2014 22:46:29 +0000 (22:46 +0000)]
Merge "Make creating the Connection synchronous" into lmp-dev

10 years agoMake creating the Connection synchronous
Evan Charlton [Mon, 21 Jul 2014 05:06:28 +0000 (22:06 -0700)]
Make creating the Connection synchronous

Get rid of CreateConnectionResponse and have the ConnectionService
return the built connection instead.

Change-Id: Ibbf896e5b188b98eb386d6624d3a5d5cacf49922

10 years agoFixes the build.
Jon Miranda [Fri, 25 Jul 2014 17:35:14 +0000 (10:35 -0700)]
Fixes the build.

Change-Id: I4d0f04c480ff787e5f0310fd92a3734180154a9a

10 years agoMerge "Implement support for bypassable VPNs." into lmp-dev
Sreeram Ramachandran [Fri, 25 Jul 2014 22:44:48 +0000 (22:44 +0000)]
Merge "Implement support for bypassable VPNs." into lmp-dev

10 years agoFix bug #16245852 Clean SimpleMonthView.setMonthParams() in the new DatePicker
Fabrice Di Meglio [Fri, 25 Jul 2014 22:26:18 +0000 (15:26 -0700)]
Fix bug #16245852 Clean SimpleMonthView.setMonthParams() in the new DatePicker

- simply create a method for passing those parameters
- remove non needed constants

Change-Id: If6e7d21ff07370edd8c73d1e9b5c5f820f3deb5d

10 years agoImplement support for bypassable VPNs.
Sreeram Ramachandran [Wed, 23 Jul 2014 22:23:15 +0000 (15:23 -0700)]
Implement support for bypassable VPNs.

Bypassable VPNs grab all traffic by default (just like secure VPNs), but:
+ They allow all apps to choose other networks using the multinetwork APIs.
  If these other networks are insecure ("untrusted"), they will enforce that the
  app holds the necessary permissions, such as CHANGE_NETWORK_STATE.
+ They support consistent routing. If an app has an existing connection over
  some other network when the bypassable VPN comes up, it's not interrupted.

Bug: 15347374
Change-Id: Iaee9c6f6fa8103215738570d2b65d3fcf10343f3

10 years agoAnnouncing when a task is dismissed (for accessibility). (Bug 9181212)
Winson Chung [Fri, 25 Jul 2014 21:58:01 +0000 (14:58 -0700)]
Announcing when a task is dismissed (for accessibility). (Bug 9181212)

10 years agoMerge "Shut up" into lmp-dev
John Reck [Fri, 25 Jul 2014 22:22:52 +0000 (22:22 +0000)]
Merge "Shut up" into lmp-dev

10 years agoShut up
John Reck [Fri, 25 Jul 2014 22:19:38 +0000 (15:19 -0700)]
Shut up

Change-Id: I7edbedf665a567e363e3db7984c7c59cba857ad5

10 years agoExitTransitionCoordinator: suppressLayout during running transition
Dake Gu [Fri, 25 Jul 2014 21:00:17 +0000 (14:00 -0700)]
ExitTransitionCoordinator:  suppressLayout during running transition

b/16570734

Change-Id: I52d7132b91256085aa9e535575e978a6031fb276

10 years agoRevert "Dump RenderThread stack on unresponsive"
Chris Craik [Fri, 25 Jul 2014 18:25:02 +0000 (18:25 +0000)]
Revert "Dump RenderThread stack on unresponsive"

bug:16563871
bug:16565900
bug:16555847
bug:16551643

This reverts commit ca66e06b9db6e6c921662886e4b7ddd02ac92280.

Change-Id: I23e8d4eaf828b1b298126ba5f36e4e8e7451706a

10 years agoMerge "Volume: Persist unsafe volume playback time." into lmp-dev
John Spurlock [Fri, 25 Jul 2014 22:15:04 +0000 (22:15 +0000)]
Merge "Volume: Persist unsafe volume playback time." into lmp-dev

10 years agoAdd new intent to prompt user for their device credential. DO NOT MERGE
Jay Civelli [Fri, 11 Jul 2014 21:56:46 +0000 (14:56 -0700)]
Add new intent to prompt user for their device credential. DO NOT MERGE

Bug: 16242766
cherry-pick from master 2e7beadedeb7d41d8c2d1cc62956bdd9f5081d26

Change-Id: I76efb3bef888eb1e94c4e5455934816fb4acc5bc

10 years agoVolume: Persist unsafe volume playback time.
John Spurlock [Fri, 25 Jul 2014 17:05:12 +0000 (13:05 -0400)]
Volume: Persist unsafe volume playback time.

Instead of warning after every reboot, remember the
playback time after a user confirmation and only
reset after the 20 hour playback threshold.

Bug:16543104
Change-Id: I783358d97b88302a28fe77a8eb88bcd338ef1c87

10 years agoMerge "Volume: Show safe media warning in settings." into lmp-dev
John Spurlock [Fri, 25 Jul 2014 20:54:10 +0000 (20:54 +0000)]
Merge "Volume: Show safe media warning in settings." into lmp-dev

10 years agoVolume: Show safe media warning in settings.
John Spurlock [Thu, 24 Jul 2014 22:10:48 +0000 (18:10 -0400)]
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

10 years agoMerge "Fix bug in measurement of paragraphs" into lmp-dev
Anish Athalye [Fri, 25 Jul 2014 18:26:29 +0000 (18:26 +0000)]
Merge "Fix bug in measurement of paragraphs" into lmp-dev

10 years agofix build
Yao Chen [Fri, 25 Jul 2014 18:22:55 +0000 (11:22 -0700)]
fix build

Change-Id: Id5a93019b60ac4881f398b80de2e14786776a883

10 years agoAdds getTypeLabel to ContactsContract Event
Paul Soulos [Fri, 25 Jul 2014 00:17:42 +0000 (17:17 -0700)]
Adds getTypeLabel to ContactsContract Event

Bug: 16550284
Change-Id: Ie95093a2c9bca2b9ba130dea470c8beef94cd659

10 years agoFix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled
Fabrice Di Meglio [Fri, 25 Jul 2014 03:13:56 +0000 (20:13 -0700)]
Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled

- ahhh modulo ...

Change-Id: Ief08594590480bfcecc09cad1f782e57b05d9786

10 years agoFix build
Yao Chen [Fri, 25 Jul 2014 17:51:09 +0000 (10:51 -0700)]
Fix build

Change-Id: Ia2a09417451dd9cdca0a6351b8ddd00f9195f361

10 years agoFix bug of ScanSettings. Add unit test.
Wei Wang [Fri, 25 Jul 2014 00:06:57 +0000 (17:06 -0700)]
Fix bug of ScanSettings. Add unit test.

b/16318637.

Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b

10 years agoFix bug in measurement of paragraphs
Anish Athalye [Fri, 25 Jul 2014 01:03:21 +0000 (18:03 -0700)]
Fix bug in measurement of paragraphs

This fixes b/16510772.

When measuring paragraphs, leading margins should be taken into account.
When computing line width, the margin should be added to the absolute
value of the extent (there were missing parenthesis). Both of these
caused views with leading margins to be rendered incorrectly.

Change-Id: I5029b2790a249192a858eb226d7b793d0622a70d

10 years agoam a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp...
Craig Mautner [Fri, 25 Jul 2014 17:43:37 +0000 (17:43 +0000)]
am a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev

* commit 'a9c5257a15f2efb5c017d2ecadb5a7360230bfee':
  Finish crashed activities immediately

10 years agoam a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
Craig Mautner [Fri, 25 Jul 2014 02:19:53 +0000 (02:19 +0000)]
am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev

* commit 'a0bb44efe96ca70635b64dac8922b225d1a19407':
  Finish crashed activities immediately

10 years agoMerge "Remove content description from SearchView text field" into lmp-dev
Alan Viverette [Fri, 25 Jul 2014 20:52:44 +0000 (20:52 +0000)]
Merge "Remove content description from SearchView text field" into lmp-dev

10 years agoRemove content description from SearchView text field
Alan Viverette [Fri, 25 Jul 2014 20:51:57 +0000 (13:51 -0700)]
Remove content description from SearchView text field

BUG: 16519353
Change-Id: I4df5e1e04fdf0d625e42f70f67657c5107f1443b

10 years agoAdd clean step to remove old framework intermediates
RoboErik [Fri, 25 Jul 2014 20:29:59 +0000 (13:29 -0700)]
Add clean step to remove old framework intermediates

The framework intermediates path moved. Failing to notice this will
cause your classpath to be wrong and you'll get red on new aidl methods.
This removes the old path which makes it more obvious that it's moved.

Change-Id: If1a36fefc703b7899e09687e2de598c3830fa72e

10 years agoMerge "Add VideoCall and VideoCall.Listener as an inner classes of Call." into lmp-dev
Andrew Lee [Fri, 25 Jul 2014 16:03:49 +0000 (16:03 +0000)]
Merge "Add VideoCall and VideoCall.Listener as an inner classes of Call." into lmp-dev

10 years agoAdd method to launch settings app details page.
Kenny Guy [Wed, 23 Jul 2014 11:23:35 +0000 (12:23 +0100)]
Add method to launch settings app details page.

Add a method to LauncherApps to allow launchers to
show application details for an app in a managed profile.

Bug: 16371359
Change-Id: I23acb4365c09e4a7b9fa742ae6fc7e04434f45aa

10 years agoAdd VideoCall and VideoCall.Listener as an inner classes of Call.
Andrew Lee [Tue, 22 Jul 2014 23:41:54 +0000 (16:41 -0700)]
Add VideoCall and VideoCall.Listener as an inner classes of Call.

Bug: 16494880
Bug: 16495203
Change-Id: Ife3b6723374ea5fbbff4927c4f9168d075be21e1

10 years agoMove Canvas.h to a new location so that it can be shared with HWUI.
Derek Sollenberger [Thu, 24 Jul 2014 19:22:13 +0000 (15:22 -0400)]
Move Canvas.h to a new location so that it can be shared with HWUI.

Bug: 15672762
Change-Id: Ia59e986cd4034e16b2e54e8d594e6941a6c9fb1b

10 years agoMerge "Finish crashed activities immediately" into klp-modular-dev
Craig Mautner [Fri, 25 Jul 2014 01:30:51 +0000 (01:30 +0000)]
Merge "Finish crashed activities immediately" into klp-modular-dev

10 years agoMerge "Adding missing break statement in VideoCallProvider." into lmp-dev
Tyler Gunn [Fri, 25 Jul 2014 20:17:40 +0000 (20:17 +0000)]
Merge "Adding missing break statement in VideoCallProvider." into lmp-dev

10 years agoAdding missing break statement in VideoCallProvider.
Tyler Gunn [Fri, 25 Jul 2014 20:04:31 +0000 (13:04 -0700)]
Adding missing break statement in VideoCallProvider.

Related to cl/510948

Bug: 16494880
Bug: 16495203
Change-Id: I4de0dccb886efbd119bd75b1285fdc84210c94fb

10 years agoMerge "Remove duplicate Toolbar method for setting content description" into lmp-dev
Alan Viverette [Fri, 25 Jul 2014 20:09:43 +0000 (20:09 +0000)]
Merge "Remove duplicate Toolbar method for setting content description" into lmp-dev

10 years agoRemove duplicate Toolbar method for setting content description
Alan Viverette [Fri, 25 Jul 2014 19:57:31 +0000 (12:57 -0700)]
Remove duplicate Toolbar method for setting content description

Also moves the setNavigationIcon(int) method closer to the one that
takes a Drawable.

BUG: 16491458
Change-Id: Ia02f05e6270c9d420f61f7ab34117b4c7e6548ec

10 years agoFinish crashed activities immediately
Craig Mautner [Thu, 24 Jul 2014 20:32:37 +0000 (13:32 -0700)]
Finish crashed activities immediately

By finishing crashed activities right away the VirtualDisplays
associated with ActivityView are removed immediately rather than
being deferred. Also there is no waiting for Pause (0.5 sec) and
Destroy (10 sec) timeouts to expire.

Fixes bug 15092354.

Change-Id: Ie4941cb19dcc6f6fc61b2475162ea2794c9558a2

10 years agoam b4dcc64f: Merge "Revert "Remove circular mask"" into klp-modular-dev
Prashant Malani [Thu, 24 Jul 2014 18:06:03 +0000 (18:06 +0000)]
am b4dcc64f: Merge "Revert "Remove circular mask"" into klp-modular-dev

* commit 'b4dcc64fe6314b139ac17aa296419bbf153df2f6':
  Revert "Remove circular mask"

10 years agoMerge "Further centralize Minikin interaction" into lmp-dev
Behdad Esfahbod [Fri, 25 Jul 2014 19:30:49 +0000 (19:30 +0000)]
Merge "Further centralize Minikin interaction" into lmp-dev

10 years agoFurther centralize Minikin interaction
Behdad Esfahbod [Fri, 25 Jul 2014 18:54:46 +0000 (14:54 -0400)]
Further centralize Minikin interaction

Part of the fix for bug 15246510 and others.

Change-Id: Ie99000989dfcd7a81aaa1233dec522344f852f31

10 years agoMerge "Remove unused TextLayout.h" into lmp-dev
Behdad Esfahbod [Fri, 25 Jul 2014 19:29:27 +0000 (19:29 +0000)]
Merge "Remove unused TextLayout.h" into lmp-dev

10 years agoRemove unused TextLayout.h
Behdad Esfahbod [Fri, 25 Jul 2014 18:06:35 +0000 (14:06 -0400)]
Remove unused TextLayout.h

Respective code was removed when switching to Minikin.

Change-Id: I353c834457145ccd9462a439dfdf16d4adb8b695

10 years agoAdd Per-User logging of UsageStats
Adam Lesinski [Thu, 24 Jul 2014 00:34:34 +0000 (17:34 -0700)]
Add Per-User logging of UsageStats

Change-Id: I4518c5d3c56b3821292accb886f9fb21f3a8b25f

10 years agoMerge "TransitionSet: fix excludeTarget not working" into lmp-dev
Dake Gu [Fri, 25 Jul 2014 19:23:27 +0000 (19:23 +0000)]
Merge "TransitionSet: fix excludeTarget not working" into lmp-dev

10 years agoTransitionSet: fix excludeTarget not working
Dake Gu [Fri, 25 Jul 2014 19:13:28 +0000 (12:13 -0700)]
TransitionSet: fix excludeTarget not working

b/16552254

Change-Id: I01467e258754d95f1b9fa61a27d1da98eed9b57c

10 years agoAdding content description for task view buttons.
Winson Chung [Fri, 25 Jul 2014 19:10:38 +0000 (12:10 -0700)]
Adding content description for task view buttons.

10 years agoMerge "Stop assuming language part in locale string is up to 2-letter" into lmp-dev
Yohei Yukawa [Fri, 25 Jul 2014 19:05:26 +0000 (19:05 +0000)]
Merge "Stop assuming language part in locale string is up to 2-letter" into lmp-dev

10 years agoFix ordering of notifications, user switcher and QS panel
Jorim Jaggi [Fri, 25 Jul 2014 14:42:34 +0000 (16:42 +0200)]
Fix ordering of notifications, user switcher and QS panel

Also closes the user switcher when opening QS on Keyguard because
touch logic would interleave with QS.

Change-Id: I391dc9bcba7f9e2e99c0854d34ed0ec6efbb2f44

10 years agoStop assuming language part in locale string is up to 2-letter
Yohei Yukawa [Thu, 24 Jul 2014 00:54:59 +0000 (09:54 +0900)]
Stop assuming language part in locale string is up to 2-letter

With this CL, InputMethodSubtypeSwitchingController stop
assuming that language part in locale string is up to 2-letter.

this CL is not so risky because
InputMethodSubtypeSwitchingController have used language part for
nothing but sorting subtypes to determine the initial rotation
order of IME switching.

BUG: 16502987
Change-Id: Ib159ece0b7aa04f8fd7abc96c9a6e0832a4b7cd2

10 years agoMerge "PackageInstaller changes based on feedback." into lmp-dev
Jeff Sharkey [Fri, 25 Jul 2014 19:03:43 +0000 (19:03 +0000)]
Merge "PackageInstaller changes based on feedback." into lmp-dev

10 years agoPackageInstaller changes based on feedback.
Jeff Sharkey [Fri, 25 Jul 2014 00:08:17 +0000 (17:08 -0700)]
PackageInstaller changes based on feedback.

Mostly cosmetic changes from API council feedback.

Bug: 16543552
Change-Id: Ic926829b3f77c31f50a899c59b779353daf00d59

10 years agocamera2: Fix LEGACY mode timestamps.
Ruben Brunk [Thu, 17 Jul 2014 00:24:17 +0000 (17:24 -0700)]
camera2: Fix LEGACY mode timestamps.

Bug: 15116722

- Add CaptureCollector class to accumulate buffer timestamps
  and manage lifecycle callbacks for each request.
- Set correct timestamps for buffers, results, and callbacks.

Change-Id: I75fa1049cf100d9d14c5ba8992be93ba1048df19

10 years agoMerge "Don't update user's setup state unless it changed" into lmp-dev
Amith Yamasani [Fri, 25 Jul 2014 17:03:50 +0000 (17:03 +0000)]
Merge "Don't update user's setup state unless it changed" into lmp-dev

10 years agoDon't crash when drawing zero pixels.
Dan Sandler [Fri, 25 Jul 2014 14:55:27 +0000 (10:55 -0400)]
Don't crash when drawing zero pixels.

Bug: 16561522
Change-Id: Ia3a2d2930abc393dbe587053f598246c49c0c9c4

10 years agoDon't update user's setup state unless it changed
Amith Yamasani [Fri, 25 Jul 2014 15:03:00 +0000 (08:03 -0700)]
Don't update user's setup state unless it changed

Eliminates an extra write on every boot.

Bug: 16416936
Change-Id: I9ca16676c1b39dafeed3fc744a69c5bde819990c

10 years agoMerge "Animates AbsSeekBar progress movement from key presses." into lmp-dev
Jon Miranda [Fri, 25 Jul 2014 16:35:56 +0000 (16:35 +0000)]
Merge "Animates AbsSeekBar progress movement from key presses." into lmp-dev

10 years agoAnimates AbsSeekBar progress movement from key presses.
Jon Miranda [Mon, 21 Jul 2014 21:55:29 +0000 (14:55 -0700)]
Animates AbsSeekBar progress movement from key presses.

Change-Id: I9ef00c61351e8fe28be7a7a7d592f09a5124caa0

10 years agoMerge "Clip windows to their background by default" into lmp-dev
Alan Viverette [Fri, 25 Jul 2014 00:29:32 +0000 (00:29 +0000)]
Merge "Clip windows to their background by default" into lmp-dev

10 years agoClip windows to their background by default
Alan Viverette [Thu, 24 Jul 2014 23:18:53 +0000 (16:18 -0700)]
Clip windows to their background by default

BUG: 16549166
Change-Id: I4ed0f60316df02b6ee56e163ad25e27e1396a6ae

10 years agoMerge "Fix radio button tints" into lmp-dev
Alan Viverette [Fri, 25 Jul 2014 00:15:19 +0000 (00:15 +0000)]
Merge "Fix radio button tints" into lmp-dev

10 years agoFix radio button tints
Alan Viverette [Fri, 25 Jul 2014 00:13:49 +0000 (17:13 -0700)]
Fix radio button tints

BUG: 16513084
Change-Id: I0cda30f25c54a3d9814bbbb4578893734efb5d82

10 years agoMerge "Separate background from ripple for better focus/press UX" into lmp-dev
Alan Viverette [Fri, 25 Jul 2014 00:12:31 +0000 (00:12 +0000)]
Merge "Separate background from ripple for better focus/press UX" into lmp-dev

10 years agoSeparate background from ripple for better focus/press UX
Alan Viverette [Thu, 24 Jul 2014 23:31:42 +0000 (16:31 -0700)]
Separate background from ripple for better focus/press UX

Regresses the "jump" when focus changes, since the background position
is static and we don't have any reasonable UX spec for this yet.

BUG: 16323640
Change-Id: I7152546ed08375864174049b342653b3c4d3d9fb

10 years agoFix corner case of RelativeLayout with pinned edges
Chet Haase [Tue, 22 Jul 2014 23:38:16 +0000 (16:38 -0700)]
Fix corner case of RelativeLayout with pinned edges

LayoutParams without a specified layout_width value automatically
get a default of 0. This works in most cases, when the view is pinned by
various constraints (such as alignParentLeft and alignParentRight),
but breaks down when the child lies in negative coordinates.

Negative coordinates are supposed to be a signal, in RelativeLayout, that
that coordinate is variable. However, negative margins can cause a negative
value to be calculated, at which point it should be used as a concrete value,
not a behavior trigger.

The fix is to use Integer.MIN_VALUe as the tirgger instead, to distinguish that
impossible value from negative values which could reasonably have been computed
during measurement.

Also, removes dead code from earlier attempt at rtl.

Issue #10606777 Time picker can't display 10, 11, or 12 oclock when font size is huge
Issue #16516577 resolveLayoutDirection doesn't act as intended

Change-Id: Ia564603012f3c45636e69cd3776205fb544fda48

10 years agoMerge "AudioService: implement TV system volume" into lmp-dev
Eric Laurent [Thu, 24 Jul 2014 23:26:44 +0000 (23:26 +0000)]
Merge "AudioService: implement TV system volume" into lmp-dev

10 years agoAudioService: implement TV system volume
Eric Laurent [Mon, 21 Jul 2014 22:43:18 +0000 (15:43 -0700)]
AudioService: implement TV system volume

Implement volume policy for TV devices:
- No ringer mode: never silent
- All stream volumes are synchronized: changing any
stream volume will change the volume for all sources.
- Volume is maintained per output device.
- If a CEC capable HDMI sink is connected, digital volume
is maxed out and volume controls are sent to HDMI sink.

Bug: 15759753.

Change-Id: Ic4c38c749ef0440def9635a1669068ccef02a323

10 years agoMerge "Also unhide WifiConfiguration.lastUpdatedUid." into lmp-dev
Chelsea Derrick [Thu, 24 Jul 2014 23:24:05 +0000 (23:24 +0000)]
Merge "Also unhide WifiConfiguration.lastUpdatedUid." into lmp-dev

10 years agoAlso unhide WifiConfiguration.lastUpdatedUid.
Chelsea Derrick [Thu, 24 Jul 2014 19:50:40 +0000 (12:50 -0700)]
Also unhide WifiConfiguration.lastUpdatedUid.

Bug: 16153258
Change-Id: I69c2666a63c3e56787c4aa2699c2cfd22c053353

10 years agoMerge "resolved conflicts for merge of bc3699b1 to lmp-dev" into lmp-dev
Prashant Malani [Thu, 24 Jul 2014 22:39:54 +0000 (22:39 +0000)]
Merge "resolved conflicts for merge of bc3699b1 to lmp-dev" into lmp-dev

10 years agoresolved conflicts for merge of bc3699b1 to lmp-dev
Prashant Malani [Thu, 24 Jul 2014 22:29:22 +0000 (15:29 -0700)]
resolved conflicts for merge of bc3699b1 to lmp-dev

Change-Id: I1b219b5b48afb08ce3704a4f064a85652d2d9339

10 years agoMerge "Address API review" into lmp-dev
Selim Gurun [Thu, 24 Jul 2014 22:36:10 +0000 (22:36 +0000)]
Merge "Address API review" into lmp-dev

10 years agoAddress API review
Selim Gurun [Fri, 18 Jul 2014 23:23:46 +0000 (16:23 -0700)]
Address API review

Bug: 16403458

Address API review. This change updates the FileChooser api. The
largest change is, as requested by API council, providing a helper
to reduce the code app developers need to implement. This
change does not include the CookieManager changes that was requested.

Change-Id: I30d75f36df6bc96d9842b63fdd25c4ff62aee5bb

10 years agoMerge "Don't create a ConnectivityManager when the service isn't ready yet." into...
Sreeram Ramachandran [Thu, 24 Jul 2014 23:35:56 +0000 (23:35 +0000)]
Merge "Don't create a ConnectivityManager when the service isn't ready yet." into lmp-dev

10 years agoDon't create a ConnectivityManager when the service isn't ready yet.
Sreeram Ramachandran [Thu, 24 Jul 2014 23:05:17 +0000 (16:05 -0700)]
Don't create a ConnectivityManager when the service isn't ready yet.

Bug: 16550853
Change-Id: Ib244c93dc982cbfe5d065a20e4b8f0aeefb15b8f

10 years agoMerge "Add memory tracking for persistent proccesses and launcher" into lmp-dev
wsmlby [Thu, 24 Jul 2014 23:25:50 +0000 (23:25 +0000)]
Merge "Add memory tracking for persistent proccesses and launcher" into lmp-dev

10 years agoCall PRE_BOOT_COMPLETED on starting any user
Amith Yamasani [Wed, 23 Jul 2014 02:59:47 +0000 (19:59 -0700)]
Call PRE_BOOT_COMPLETED on starting any user

Refactor PRE_BOOT_COMPLETED delivery code.
Continue to call it on all existing users on system update.
Call it on any user being started, as part of
initialization.

Change-Id: Ie188a823fb19afde3781d6c45ada55d6e92edfac

10 years agoAdd memory tracking for persistent proccesses and launcher
wsmlby [Thu, 24 Jul 2014 21:27:39 +0000 (14:27 -0700)]
Add memory tracking for persistent proccesses and launcher

Change-Id: I5228bd67884dc8b77207a597f279fd4032c7f9d9

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 24 Jul 2014 21:04:57 +0000 (21:04 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoMerge "Call removeOverlayView() before onRelease()" into lmp-dev
Sungsoo Lim [Fri, 25 Jul 2014 00:15:09 +0000 (00:15 +0000)]
Merge "Call removeOverlayView() before onRelease()" into lmp-dev

10 years agoMerge "QS: Handle all camera api exceptions during init." into lmp-dev
John Spurlock [Thu, 24 Jul 2014 22:15:13 +0000 (22:15 +0000)]
Merge "QS: Handle all camera api exceptions during init." into lmp-dev

10 years agoQS: Handle all camera api exceptions during init.
John Spurlock [Thu, 24 Jul 2014 22:12:58 +0000 (18:12 -0400)]
QS: Handle all camera api exceptions during init.

Temporary workaround to unblock certain devices.

Bug:16547333
Change-Id: I80d8ec609e5c32b9db290576c5ec791ad915c45c

10 years agoMerge "Add letter-spacing to Paint and TextView" into lmp-dev
Behdad Esfahbod [Thu, 24 Jul 2014 22:56:20 +0000 (22:56 +0000)]
Merge "Add letter-spacing to Paint and TextView" into lmp-dev

10 years agoAdd letter-spacing to Paint and TextView
Behdad Esfahbod [Thu, 17 Jul 2014 23:10:39 +0000 (19:10 -0400)]
Add letter-spacing to Paint and TextView

New API is hidden.

Bug: 15594400
Change-Id: I5cbe7aebef0b7280eb13924f2a706c0cb4a4688e

10 years agoMerge "fix build" into lmp-dev
John Reck [Thu, 24 Jul 2014 21:48:47 +0000 (21:48 +0000)]
Merge "fix build" into lmp-dev

10 years agofix build
John Reck [Thu, 24 Jul 2014 21:46:54 +0000 (14:46 -0700)]
fix build

Change-Id: I597255b2b311b7daec7ffe537f62ee78eace50be

10 years agoUse a sequence number for thumbnail callback.
Yao Chen [Wed, 23 Jul 2014 22:04:48 +0000 (15:04 -0700)]
Use a sequence number for thumbnail callback.

Change-Id: I27888cd0437b4f654cb29371b7d86b9341d84ae9