Commit Graph

39027 Commits

Author SHA1 Message Date
Sandeep Siddhartha
eb3cbfeb48 am bac00601: am dc69e6e8: am be52f0d1: Add read/writeBlob to Parcel
* commit 'bac0060104d359bcc2d745082546c58828bec972':
  Add read/writeBlob to Parcel
2014-07-26 00:20:40 +00:00
Sandeep Siddhartha
90d7a3e996 Add read/writeBlob to Parcel
These are {@hide}en for now.

Bug: 16516353
Change-Id: Ie1635617ee8611a78be9068a7ce674e34c30301d
2014-07-25 16:50:41 -07:00
ztenghui
29e2dd95fd am 5b942f14: am 6038139c: am ed2a502c: Merge "API REVIEW: VectorDrawable" into lmp-dev
* commit '5b942f1430bc5bf6ee35455919b7985d8fdefdc2':
  API REVIEW: VectorDrawable
2014-07-25 23:42:46 +00:00
Jay Civelli
cdd5fe98b6 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
2014-07-25 23:42:07 +00:00
Dake Gu
3480d903f2 am af735ebc: am e1b3883c: am 5a5ae1f2: fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator
* commit 'af735ebc45a0042f9fc7efb948a254bed00cfdd3':
  fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator
2014-07-25 23:25:16 +00:00
Michael Wright
c1fe1251ab am 4b4473aa: am 5f3eb6ca: am 5239ebe3: Add missing documentation for createVirtualDisplay
* commit '4b4473aa4f9db4eb93c439bcbd7dbb7af886c0ed':
  Add missing documentation for createVirtualDisplay
2014-07-25 23:13:46 +00:00
Ruben Brunk
da39e96bff am 10d7edab: am ddb65f32: am b4b65247: camera2: Update preview counter after request completed.
* commit '10d7edabfbc4b7fbe9183671768fbe2f49780031':
  camera2: Update preview counter after request completed.
2014-07-25 23:13:42 +00:00
Sreeram Ramachandran
b2049de027 am 5c478c04: am f87f2fc6: am a6754382: Merge "Implement support for bypassable VPNs." into lmp-dev
* commit '5c478c04a0fa4391d07b50bd460e2b63bb3a138b':
  Implement support for bypassable VPNs.
2014-07-25 23:13:22 +00:00
Fabrice Di Meglio
37acb3a8ab am c07199cc: am d009491e: am 09370607: Fix bug #16245852 Clean SimpleMonthView.setMonthParams() in the new DatePicker
* commit 'c07199cc93ac525a39787b8228961ad43a165126':
  Fix bug #16245852 Clean SimpleMonthView.setMonthParams() in the new DatePicker
2014-07-25 23:13:18 +00:00
Dake Gu
f03c139018 fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator
b/16575308

Change-Id: Ieb4f15a8ead7da9682c97d4d342cd77e0b85e5f8
2014-07-25 23:10:51 +00:00
Michael Wright
5438e4e173 Add missing documentation for createVirtualDisplay
Fix incorrect access modifier in Activity documentation.

Change-Id: Id41da6ccbdfa8b53c89360c899f3a43aec899982
2014-07-25 23:01:32 +00:00
Ruben Brunk
971251f362 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
2014-07-25 22:53:32 +00:00
Fabrice Di Meglio
75b121553f 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
2014-07-25 22:36:22 +00:00
Dake Gu
cf1899fd5c am dde32310: am 575e0a7f: am 3c54a06e: ExitTransitionCoordinator: suppressLayout during running transition
* commit 'dde323105a6ff02b7d771ed74dfb62ecea3cf7c2':
  ExitTransitionCoordinator:  suppressLayout during running transition
2014-07-25 22:32:47 +00:00
John Spurlock
486c89842f am 58981510: am cbdadc7d: am d5410ff7: Merge "Volume: Persist unsafe volume playback time." into lmp-dev
* commit '58981510296ed03f9deee0829461bfe76647996b':
  Volume: Persist unsafe volume playback time.
2014-07-25 22:27:40 +00:00
Dake Gu
f7ff2205d9 ExitTransitionCoordinator: suppressLayout during running transition
b/16570734

Change-Id: I52d7132b91256085aa9e535575e978a6031fb276
2014-07-25 22:18:57 +00:00
Yorke Lee
acaf686488 am ff650115: am e120d1e5: am c8f3ac84: Merge "Update the value of PinnedPositions.UNPINNED to 0" into lmp-dev
* commit 'ff65011576f13cd28cafe6a83098b18bf66344db':
  Update the value of PinnedPositions.UNPINNED to 0
2014-07-25 21:57:43 +00:00
Jeff Sharkey
e12a125972 am cf85d14e: am bf9964cb: am e52581f6: Offer force-dex-opt when running as root.
* commit 'cf85d14e12824bb51631b2a8d8cd79ff0d0e26fb':
  Offer force-dex-opt when running as root.
2014-07-25 21:26:42 +00:00
Chris Craik
9537c26c3b am 96b6d247: am b5c4634e: am 63582f46: Move ClipBounds to native
* commit '96b6d247b717804e5a994e0d43ee903875e18c73':
  Move ClipBounds to native
2014-07-25 21:18:54 +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
John Spurlock
f7ce0125a3 am 4a65634b: am 08e7eb03: am ec2b8cb3: Merge "Volume: Show safe media warning in settings." into lmp-dev
* commit '4a65634b3638e1b324ee8899785ab0e86a36778c':
  Volume: Show safe media warning in settings.
2014-07-25 21:13:29 +00:00
Jeff Sharkey
20e0c50f60 Offer force-dex-opt when running as root.
Recently we removed the PackageManager inotify triggers, meaning the
only supported ways of installing apps were:

-- adb install -r Foo.apk
-- adb shell stop && adb sync && adb shell start

Iterating on most system apps (like Settings) can use the first
approach, but it doesn't work for "persistent" processes like
SystemUI.  (ActivityManager is very particular about how it deals
with persistent apps, and it always sticks with the first
ApplicationInfo found at boot.)

So to enable rapid iteration on persistent apps, we now offer the
one missing piece of forcing a dexopt with a new pm force-dex-opt
command only available to -eng or -userdebug builds.  Typical use
for iterating on persistent apps now looks like this:

$ mmm frameworks/base/packages/SystemUI/ && adb sync &&
    adb shell pm force-dex-opt com.android.systemui &&
    adb shell kill `pid systemui`

Yay!

Change-Id: I0ae2467f1d7cda56c70ba20953cd25fa8ee766ff
2014-07-25 21:11:47 +00:00
Chris Craik
a753f4c6cb Move ClipBounds to native
bug:15698973

Also simplifies RenderNode LTRB properties

Change-Id: I09263a697b71d325a46b57cd5250a2b165f251c8
2014-07-25 20:56:50 +00:00
Alan Viverette
0ef12ae0a5 am aa7deddf: am 86706558: am e1af5ff0: Merge "Remove duplicate Toolbar method for setting content description" into lmp-dev
* commit 'aa7deddf21ca2bf3b0f5175dc302f8c50dab31f9':
  Remove duplicate Toolbar method for setting content description
2014-07-25 20:21:19 +00:00
Dake Gu
c9bd94c23d am 36cedde3: am 986078ff: am 29a67def: Merge "TransitionSet: fix excludeTarget not working" into lmp-dev
* commit '36cedde35de11c9bd2085adcac26bd1943ad1cd6':
  TransitionSet: fix excludeTarget not working
2014-07-25 19:42:45 +00:00
Jeff Sharkey
b64fd1957f am 891d3aa9: am a475ef57: am 4d700a9c: Merge "PackageInstaller changes based on feedback." into lmp-dev
* commit '891d3aa977653fb79f544f69fab2d214e58cd2b3':
  PackageInstaller changes based on feedback.
2014-07-25 19:25:10 +00:00
Ruben Brunk
eacd033984 am cc5b7b4e: am 3631c430: am ea362807: camera2: Fix LEGACY mode timestamps.
* commit 'cc5b7b4e176625093ca758282bf5f9a34b79f9ca':
  camera2: Fix LEGACY mode timestamps.
2014-07-25 19:24:59 +00:00
Paul Soulos
bda303319b am d6e7338f: am 22a78a16: am 50655afc: Adds getTypeLabel to ContactsContract Event
* commit 'd6e7338f2ae25670e4b4ef4b7f9cda5ac9117449':
  Adds getTypeLabel to ContactsContract Event
2014-07-25 19:24:41 +00:00
Fabrice Di Meglio
70b6dcbdd8 am 0e6f1d7e: am de377556: am 7cddfff4: Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled
* commit '0e6f1d7e18d56ad54e1eaf805763233ecd2f2b95':
  Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled
2014-07-25 19:24:37 +00:00
Wei Wang
5a4d2be510 am 71287c0f: am fedb0740: am 2b84d320: Fix bug of ScanSettings. Add unit test.
* commit '71287c0fbd5c47ebe1f0fb0f5a4ca4a682ce31d5':
  Fix bug of ScanSettings. Add unit test.
2014-07-25 19:24:29 +00:00
Jon Miranda
428f7cd657 am fd905535: am bc03d9d2: am aaea8e54: Fixes the build.
* commit 'fd9055357970f93c0169f240e2057880ad9ebdfa':
  Fixes the build.
2014-07-25 19:24:20 +00:00
Ruben Brunk
91838ded36 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
2014-07-25 18:52:10 +00:00
Paul Soulos
6b2dd6337e Adds getTypeLabel to ContactsContract Event
Bug: 16550284
Change-Id: Ie95093a2c9bca2b9ba130dea470c8beef94cd659
2014-07-25 18:17:35 +00:00
Fabrice Di Meglio
3fbad42a4b Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled
- ahhh modulo ...

Change-Id: Ief08594590480bfcecc09cad1f782e57b05d9786
2014-07-25 18:06:25 +00:00
Wei Wang
ec64dbfbc0 Fix bug of ScanSettings. Add unit test.
b/16318637.

Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
2014-07-25 10:56:08 -07:00
Jon Miranda
ca7a229eab Fixes the build.
Change-Id: I4d0f04c480ff787e5f0310fd92a3734180154a9a
2014-07-25 10:35:14 -07:00
John Spurlock
addcf34645 Merge "Volume: Persist unsafe volume playback time." into lmp-dev 2014-07-24 23:36:47 +00:00
Jay Civelli
3087e49667 Add new intent to prompt user for their device credential. DO NOT MERGE
Bug: 16242766
cherry-pick from master 2e7beadedeb7d41d8c2d1cc62956bdd9f5081d26

Change-Id: I76efb3bef888eb1e94c4e5455934816fb4acc5bc
2014-07-25 22:04:19 +00:00
John Spurlock
aa5ee4d65f 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
2014-07-25 17:00:25 -04: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
78b7211507 Merge "Remove duplicate Toolbar method for setting content description" into lmp-dev 2014-07-24 22:06:48 +00:00
Alan Viverette
e88700a2ad 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
2014-07-25 12:57:31 -07:00
Kenny Guy
466d203c4f 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
2014-07-25 15:59:51 +00:00
Anish Athalye
8020721059 Merge "Fix bug in measurement of paragraphs" into lmp-dev 2014-07-24 22:06:48 +00:00
Anish Athalye
c14b3ada5c 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
2014-07-25 17:55:46 +00:00
Anish Athalye
150c33a833 Merge "Fix bug in measurement of paragraphs" 2014-07-24 20:48:02 +00:00
Anish Athalye
26bb46e6e9 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
2014-07-24 18:03:21 -07:00
Dake Gu
d761dcaf1c TransitionSet: fix excludeTarget not working
b/16552254

Change-Id: I01467e258754d95f1b9fa61a27d1da98eed9b57c
2014-07-25 19:19:07 +00:00
Jeff Sharkey
22fa6e5c49 Merge "PackageInstaller changes based on feedback." into lmp-dev 2014-07-24 15:37:54 +00:00