Commit Graph

39009 Commits

Author SHA1 Message Date
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
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
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
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
Adam Lesinski
a7fa6a27c2 am 081a7ac6: am 4d5eda90: am 42460fd6: Add Per-User logging of UsageStats
* commit '081a7ac698372147ff472935febc7fac484a3879':
  Add Per-User logging of UsageStats
2014-07-25 17:34:07 +00:00
Adam Lesinski
3c153519ca Add Per-User logging of UsageStats
Change-Id: I4518c5d3c56b3821292accb886f9fb21f3a8b25f
2014-07-25 17:18:54 +00:00
Jon Miranda
ed64de6fe8 am de23c780: am 785a99a6: am a4894246: Merge "Animates AbsSeekBar progress movement from key presses." into lmp-dev
* commit 'de23c78063b481bea7a6b43b306cde9fcf4ef71f':
  Animates AbsSeekBar progress movement from key presses.
2014-07-25 16:50:54 +00:00
Kenny Guy
b7aa6b22b2 am 5984703a: am 2afedc82: am 0f151df6: Add method to launch settings app details page.
* commit '5984703aed48789a7aaa6dd0d1dd55a288f7529a':
  Add method to launch settings app details page.
2014-07-25 16:11:16 +00:00
George Mount
8e64b7beb0 am 9315724d: am 244219fc: am af8966a6: Fix Monkey NPE.
* commit '9315724d81f282b5113a6ae1052a32a9ccc07d29':
  Fix Monkey NPE.
2014-07-25 14:11:50 +00:00
George Mount
51c014843a Fix Monkey NPE.
Bug 16135577

Change-Id: If2ea474fd9ca9232fec325deed0e9b9b806595f6
2014-07-25 13:59:37 +00:00
Nicolas Prevot
73b941f761 am c5435cdd: am e7469eca: am c50bbc02: Merge "Migrate extras to ClipData for image/video capture intents." into lmp-dev
* commit 'c5435cdd91f6778d753f99ee6ee8c5132e0ae962':
  Migrate extras to ClipData for image/video capture intents.
2014-07-25 12:38:32 +00:00
Hector Dearman
cf6a926ce9 am a7a75633: am 31b9e23a: am 21b90a9d: Merge "Add documentation for CookieManager defualts" into lmp-dev
* commit 'a7a756333d346890eae72a4f596fcedfe69308b5':
  Add documentation for CookieManager defualts
2014-07-25 12:38:27 +00:00
Kenny Guy
7800c40177 am b4836b12: am fae68ecc: am 8717bd4e: Change getBadgedLabelForUser to use CharSequence
* commit 'b4836b1259c924dfdebd82cc4c2275b5d3a88bf0':
  Change getBadgedLabelForUser to use CharSequence
2014-07-25 12:38:23 +00:00
Wei Wang
72e485427e am fceb7ef5: am cc9810bc: am 7b205e42: Merge "Use Scanner for legacy LE scans(1/2)." into lmp-dev
* commit 'fceb7ef54471952e62a192ed741d84f61f472f49':
  Use Scanner for legacy LE scans(1/2).
2014-07-25 12:38:09 +00:00
Raph Levien
94c7692731 am 012dfc96: am c4ec55ac: am 20af8a1b: Merge "Fix docs build breakage in #TextView_letterSpacing" into lmp-dev
* commit '012dfc96f44c3248728f3cd3a728cb464f01b8ac':
  Fix docs build breakage in #TextView_letterSpacing
2014-07-25 12:38:03 +00:00
Jinsuk Kim
8419e0e0af am 9b362265: am 1e5b3846: am 885c07cf: Merge "Add portID information in HdmiCecDeviceInfo" into lmp-dev
* commit '9b3622659f0981dcf355134921630a4f26116f32':
  Add portID information in HdmiCecDeviceInfo
2014-07-25 11:54:16 +00:00
Kenny Guy
237aecd18d Change getBadgedLabelForUser to use CharSequence
Bug: 16401636
Change-Id: I45410a6293007dd789d6770d63397824559b756e
2014-07-25 10:12:11 +00:00
Jungshik Jang
94eab7d1cf am 0998d7e2: am 5e93d5bd: am d0af31ad: Merge "Replace osd message for record status with IHdmiRecordCallback." into lmp-dev
* commit '0998d7e2fc2e4331d29bd990d19b8eef56a978c8':
  Replace osd message for record status with IHdmiRecordCallback.
2014-07-25 02:50:46 +00:00
Craig Mautner
0f1f8c9a77 am 97886c4c: am 068d3b14: am 89539ae5: Create end of animation callback for Activity
* commit '97886c4c435881590069911bcfbfc38e037841b2':
  Create end of animation callback for Activity
2014-07-25 02:37:18 +00:00