Commit Graph

42897 Commits

Author SHA1 Message Date
John Spurlock
c23059bedf am 9766d5b2: am 23e47ce6: am bec0c53a: Merge "Make SeekBarVolumizer restartable." into lmp-mr1-dev
* commit '9766d5b236394dbc988619a4e0236621add3c6b6':
  Make SeekBarVolumizer restartable.
2014-10-14 19:04:38 +00:00
Wei Wang
4460079faa am ce285c8a: am 1602b0f8: am 3f0aa505: am 34020eb6: Merge "Add support of advertising through standard instance.(1/4)" into lmp-sprout-dev
* commit 'ce285c8afbc3c26cf15632e442f658a5d2fb76ff':
  Add support of advertising through standard instance.(1/4)
2014-10-14 19:03:45 +00:00
Aravind Akella
36d94c6ba0 am 2a8be3c9: am b78c1679: am 1f9b32f0: Sensor documentation fixes.
* commit '2a8be3c9b5c7f5c5b44232e27a9d6417b72dc2b0':
  Sensor documentation fixes.
2014-10-14 17:56:51 +00:00
John Spurlock
9766d5b236 am 23e47ce6: am bec0c53a: Merge "Make SeekBarVolumizer restartable." into lmp-mr1-dev
* commit '23e47ce65273607d36474422ab02e1ae6fbd41c9':
  Make SeekBarVolumizer restartable.
2014-10-14 17:51:17 +00:00
Wei Wang
ce285c8afb am 1602b0f8: am 3f0aa505: am 34020eb6: Merge "Add support of advertising through standard instance.(1/4)" into lmp-sprout-dev
* commit '1602b0f8d0ccbdedb5406a5d427c777c5d8b39b5':
  Add support of advertising through standard instance.(1/4)
2014-10-14 17:49:24 +00:00
Aravind Akella
2a8be3c9b5 am b78c1679: am 1f9b32f0: Sensor documentation fixes.
* commit 'b78c16793b1542ff786bc6ae58cafa876b4bce45':
  Sensor documentation fixes.
2014-10-14 17:48:29 +00:00
Jesse Hall
3f2c8122f0 am 3e173290: am 05bbbebb: am 8d3cf106: am d4b38fe5: am 647e0df0: Merge "Surface: Leave object in unlocked state when unlockCanvasAndPost fails" into lmp-dev
* commit '3e1732907b41e69fbd6ddb13de6f47c845cb85c0':
  Surface: Leave object in unlocked state when unlockCanvasAndPost fails
2014-10-14 17:30:23 +00:00
Jesse Hall
3e1732907b am 05bbbebb: am 8d3cf106: am d4b38fe5: am 647e0df0: Merge "Surface: Leave object in unlocked state when unlockCanvasAndPost fails" into lmp-dev
* commit '05bbbebb475a2816d60c4a8ec140cccddc16b269':
  Surface: Leave object in unlocked state when unlockCanvasAndPost fails
2014-10-14 17:22:33 +00:00
John Spurlock
bec0c53a40 Merge "Make SeekBarVolumizer restartable." into lmp-mr1-dev 2014-10-14 16:40:31 +00:00
Wei Wang
3f0aa505f4 am 34020eb6: Merge "Add support of advertising through standard instance.(1/4)" into lmp-sprout-dev
* commit '34020eb6ebc619c90b9107003331a91e4d5a350e':
  Add support of advertising through standard instance.(1/4)
2014-10-13 23:05:37 +00:00
Wei Wang
34020eb6eb Merge "Add support of advertising through standard instance.(1/4)" into lmp-sprout-dev 2014-10-13 23:02:30 +00:00
Aravind Akella
1f9b32f006 Sensor documentation fixes.
Change-Id: I664e5e2d5103b87ed02f082551e46513f64b95a1
2014-10-13 22:25:46 +00:00
Jesse Hall
8d3cf106aa am d4b38fe5: am 647e0df0: Merge "Surface: Leave object in unlocked state when unlockCanvasAndPost fails" into lmp-dev
* commit 'd4b38fe5c06f622b984e7f84f299269efce92e42':
  Surface: Leave object in unlocked state when unlockCanvasAndPost fails
2014-10-13 22:08:31 +00:00
Jesse Hall
d4b38fe5c0 am 647e0df0: Merge "Surface: Leave object in unlocked state when unlockCanvasAndPost fails" into lmp-dev
* commit '647e0df0c711cd53763367c86b15f10470eaeb6f':
  Surface: Leave object in unlocked state when unlockCanvasAndPost fails
2014-10-13 22:03:59 +00:00
John Spurlock
0e588ea8e1 Make SeekBarVolumizer restartable.
Decouple start from constructor, making it possible to restart
once stopped.

Bug:17898190
Change-Id: I2f860864161f818d5a62a28331ef1c47051fb39f
2014-10-13 20:46:36 +00:00
Jesse Hall
d7e559675c Surface: Leave object in unlocked state when unlockCanvasAndPost fails
If nativeUnlockCanvasAndPost() throws, Surface was maintaining a
reference to the native Surface, and assuming it was still locked.
That would cause future lockCanvas() calls to throw without even
trying to lock the native Surface, even though in some cases the
native lock was actually released before the exception was thrown.

Now Surface treats the native object as unlocked even if
nativeUnlockCanvasAndPost() throws, so it will attempt the native lock
on lockCanvas() rather than assuming it would fail.

This change also changes an IllegalStateException to
IllegalArgumentException in unlockCanvasAndPost(). That exception was
added in KitKat, and was never documented or added to the throws
declaration. This was essentially a silent public API change. Quite a
bit of code in the framework (and likely in applications) catches
IAE from this method, but didn't attempt to handle ISE. Although ISE
is more correct here, it's not worth breaking code (and it did -- in
this bug it changed a problem that should have been silently and
perfectly recovered from into a fatal exception in system_server.)

Bug: 17684556
Change-Id: Ia8d3e5d33eaa690d16c7d0f557390c7bb4e1e32e
2014-10-13 11:01:15 -07:00
Marcin Kosiba
8609c6793a am 103817ed: am 4c8dd87a: am 58ee8a96: am 4f3ee426: am 43751757: Merge "Remove the default WebView text encoding resource entirely." into lmp-dev
* commit '103817ed366fbb604a3ab078ad0a1a28f615a21a':
  Remove the default WebView text encoding resource entirely.
2014-10-13 09:59:54 +00:00
Marcin Kosiba
103817ed36 am 4c8dd87a: am 58ee8a96: am 4f3ee426: am 43751757: Merge "Remove the default WebView text encoding resource entirely." into lmp-dev
* commit '4c8dd87a9e952a3ca157411b1a374c83064c9b2f':
  Remove the default WebView text encoding resource entirely.
2014-10-13 09:55:22 +00:00
Marcin Kosiba
58ee8a966a am 4f3ee426: am 43751757: Merge "Remove the default WebView text encoding resource entirely." into lmp-dev
* commit '4f3ee426f62662f590c056ce44f005cd716f9870':
  Remove the default WebView text encoding resource entirely.
2014-10-13 09:47:01 +00:00
Marcin Kosiba
4f3ee426f6 am 43751757: Merge "Remove the default WebView text encoding resource entirely." into lmp-dev
* commit '437517573b53b17765eba9b0b98055915bf3a4a1':
  Remove the default WebView text encoding resource entirely.
2014-10-13 09:42:58 +00:00
Marcin Kosiba
437517573b Merge "Remove the default WebView text encoding resource entirely." into lmp-dev 2014-10-13 09:37:36 +00:00
George Mount
5757058a1b am 4ab96264: am e25130d4: am e6308c7e: am 52fb8a42: am 1a285496: Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev
* commit '4ab96264112f29ea4c4d11d1f0b5505eff9444f8':
  Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
2014-10-10 23:29:14 +00:00
Christopher Tate
870b6615b8 am 697c94a4: am 702f2747: am f1178b23: am 2c15bbc8: am 1133e29f: Tweak wallpaper restore rejection threshold
* commit '697c94a4ab38c61270b9d2485d7e324495a8bcda':
  Tweak wallpaper restore rejection threshold
2014-10-10 23:28:59 +00:00
George Mount
4ab9626411 am e25130d4: am e6308c7e: am 52fb8a42: am 1a285496: Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev
* commit 'e25130d4e54f14913976c61408fee949d9f3cf8f':
  Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
2014-10-10 23:21:06 +00:00
Christopher Tate
697c94a4ab am 702f2747: am f1178b23: am 2c15bbc8: am 1133e29f: Tweak wallpaper restore rejection threshold
* commit '702f2747b5731371558f8e4bb448582023831fda':
  Tweak wallpaper restore rejection threshold
2014-10-10 23:20:52 +00:00
George Mount
e6308c7eb2 am 52fb8a42: am 1a285496: Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev
* commit '52fb8a4245aad87972bb6b52697fcd2dd111fe99':
  Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
2014-10-10 22:53:47 +00:00
Christopher Tate
f1178b23ac am 2c15bbc8: am 1133e29f: Tweak wallpaper restore rejection threshold
* commit '2c15bbc8382ac7e5f04d149c8f576261f1dca334':
  Tweak wallpaper restore rejection threshold
2014-10-10 22:52:57 +00:00
Dianne Hackborn
cb5f5689fb am 5457d5cc: am 8f6928f1: am e61e68d0: am 18d2d51e: am 7ea69880: Merge "Improve some docs, fix some debugging." into lmp-dev
* commit '5457d5ccb6efdc138523cbcba7aa76ddb67f19e4':
  Improve some docs, fix some debugging.
2014-10-10 22:08:09 +00:00
ztenghui
6189bdd883 am 6a7335ac: am 3406be85: am 5237c0c3: Merge "Support negative value in exponential data in the pathData." into lmp-mr1-dev
* commit '6a7335acd862babb40435f678348e3e651d77c89':
  Support negative value in exponential data in the pathData.
2014-10-10 22:08:02 +00:00
Tom O'Neill
084cd5cdf4 am 2a30585a: am 58d0b623: am 1db0cce0: Merge "Fix a race where NLP consent dialog can be shown unnecessarily" into lmp-mr1-dev
* commit '2a30585a4fa086089478d5068fbf354a8a967c19':
  Fix a race where NLP consent dialog can be shown unnecessarily
2014-10-10 22:07:41 +00:00
Svetoslav
1f2b656371 am d7c3816f: am f874a06b: am e78aa531: am 9ab1b1bb: am c43caf52: Merge "Fix child view ordering for accessibility." into lmp-dev
* commit 'd7c3816f8415c59d34daa203f6651200cb04458e':
  Fix child view ordering for accessibility.
2014-10-10 22:07:36 +00:00
Dianne Hackborn
1cef19a306 am a22d2fc3: am 57af6ac7: am d190a5ca: am 0e259ce2: am 6166a824: Merge "Implement issue #17906468: Allow search request to fall back to global search" into lmp-dev
* commit 'a22d2fc319069407d29a792e23910d8ba826ac34':
  Implement issue #17906468: Allow search request to fall back to global search
2014-10-10 22:07:04 +00:00
Dianne Hackborn
5457d5ccb6 am 8f6928f1: am e61e68d0: am 18d2d51e: am 7ea69880: Merge "Improve some docs, fix some debugging." into lmp-dev
* commit '8f6928f1399620ce432b82d046912e2030d6511c':
  Improve some docs, fix some debugging.
2014-10-10 21:06:48 +00:00
George Mount
52fb8a4245 am 1a285496: Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev
* commit '1a285496fb504d4c4d41e97a7c3b67210c1a67ef':
  Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
2014-10-10 20:52:22 +00:00
George Mount
1a285496fb Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev 2014-10-10 20:48:10 +00:00
Dianne Hackborn
e61e68d001 am 18d2d51e: am 7ea69880: Merge "Improve some docs, fix some debugging." into lmp-dev
* commit '18d2d51ee30d8df4d3afa5e7b6bb7e7171a18b63':
  Improve some docs, fix some debugging.
2014-10-10 20:47:07 +00:00
George Mount
5ac9b20b41 Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
Bug 17938614

Change-Id: Ia341fdd63ab57ec16a3de6349b7eb07fdc0a48ae
2014-10-10 13:22:36 -07:00
ztenghui
6a7335acd8 am 3406be85: am 5237c0c3: Merge "Support negative value in exponential data in the pathData." into lmp-mr1-dev
* commit '3406be853d21af58d551adbde805706f43ef51e2':
  Support negative value in exponential data in the pathData.
2014-10-10 20:12:06 +00:00
ztenghui
5237c0c3c9 Merge "Support negative value in exponential data in the pathData." into lmp-mr1-dev 2014-10-10 19:59:23 +00:00
Jorim Jaggi
6151222e31 am 1137ea7e: am 782994ef: am 51650235: Merge "Apply color to progress bar for notifications" into lmp-mr1-dev
* commit '1137ea7eaf9d806b17a110c2f8ddfa21b58fc3fc':
  Apply color to progress bar for notifications
2014-10-10 18:41:48 +00:00
Adam Powell
5093be6a54 am f0eba024: am 0f61804f: am 7cb761fe: Merge "Document that MarginLayoutParams margins should be positive." into lmp-mr1-dev
* commit 'f0eba02485e10d4d9a843e67a05ca345c81f0741':
  Document that MarginLayoutParams margins should be positive.
2014-10-10 18:41:31 +00:00
Adam Powell
892a8095aa am de640f02: am 02091f07: am 19a9e6c2: Merge "Throw a more descriptive exception when adding null to a ViewGroup" into lmp-mr1-dev
* commit 'de640f02108f327a9920a2c4b435a7d425c3ef78':
  Throw a more descriptive exception when adding null to a ViewGroup
2014-10-10 18:41:25 +00:00
Tim Kilbourn
716b1f1992 am 9d285e7f: am 79297f3c: am bb76d5cd: am 5d7f58be: am 37bd0776: Merge "Don\'t start SearchDialog on television." into lmp-dev
* commit '9d285e7f9905923a23c400ab76b630e4ad7c8c91':
  Don't start SearchDialog on television.
2014-10-10 18:40:44 +00:00
Jeff Hao
d4c82779a8 am 915bd5ca: am 4b34b329: am 6b7515dd: Merge "Improve priority ordering of apps when performing boot dexopt." into lmp-mr1-dev
* commit '915bd5ca4f8391ac3aaf346e294041719115dd4b':
  Improve priority ordering of apps when performing boot dexopt.
2014-10-10 18:40:17 +00:00
Christopher Tate
f74fb2b3a5 am eb129805: am 05d7f0df: am a4d5471f: am 3a8e28c1: am c0a30bcf: Merge "Turn on dimension validation in wallpaper restore" into lmp-dev
* commit 'eb129805b5460709a7f4155530b7863656dc0d96':
  Turn on dimension validation in wallpaper restore
2014-10-10 18:40:06 +00:00
Adam Lesinski
a5ebe01da3 am 557b8d7c: am bd1867e4: am 03be7ab5: am 6167950b: am 59d208dd: Merge "Remove UsageEvents#resetToStart() as it doesn\'t work" into lmp-dev
* commit '557b8d7cbdeaeeaaea792f6a85c74cfb34845e41':
  Remove UsageEvents#resetToStart() as it doesn't work
2014-10-10 18:39:49 +00:00
ztenghui
846d53c1d5 am 39af6ae0: am a92dd37f: am e6411c76: Merge "Support dot separation as the svg path data did." into lmp-mr1-dev
* commit '39af6ae064399ad58023752732ed2d388e897736':
  Support dot separation as the svg path data did.
2014-10-10 18:39:43 +00:00
ztenghui
897f6daeff Support negative value in exponential data in the pathData.
Now "1e-5" will not be separated as "1e" and "-5".

Add one test for this use case.
Make sure we print out the pathData when path parsing has error.

b/17919923

Change-Id: I10a00ce21166cfb5a009c49c1a93f40eeb956d83
2014-10-10 11:11:34 -07:00
Christopher Tate
2c15bbc838 am 1133e29f: Tweak wallpaper restore rejection threshold
* commit '1133e29f22252cc36102f41204c3de35779e49d2':
  Tweak wallpaper restore rejection threshold
2014-10-10 18:05:32 +00:00
Christopher Tate
1133e29f22 Tweak wallpaper restore rejection threshold
Raise the height ratio threshold slightly in order to start accepting
restores of height=1920 images onto height=2560 devices.

Bug 17882661

Change-Id: I63b47817fdf754cda9a052bddb62aee764522c6f
2014-10-10 17:54:14 +00:00