144295 Commits

Author SHA1 Message Date
Jeff Sharkey
14d4df06e0 am e52581f6: Offer force-dex-opt when running as root.
* commit 'e52581f66ae5ba1a7e60ae7900603ba8a90f9d2c':
  Offer force-dex-opt when running as root.
2014-07-25 21:18:16 +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
e9c3fd2918 am 63582f46: Move ClipBounds to native
* commit '63582f46a00c25b89416baf782de1f15be468a92':
  Move ClipBounds to native
2014-07-25 21:02:09 +00:00
John Spurlock
646a6501e7 am ec2b8cb3: Merge "Volume: Show safe media warning in settings." into lmp-dev
* commit 'ec2b8cb3482486d3114ea6f33af272f5e86a56d3':
  Volume: Show safe media warning in settings.
2014-07-25 20:57:59 +00:00
Alan Viverette
e8e4437a64 am c6357ad3: Merge "Remove content description from SearchView text field" into lmp-dev
* commit 'c6357ad33290b69a6ec6f4bc261bea23ae78d1e1':
  Remove content description from SearchView text field
2014-07-25 20:57:56 +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
RoboErik
dfca21df4c am 24cdd8b7: Add clean step to remove old framework intermediates
* commit '24cdd8b7cb2312df42d27152fc1963212dd3ee9f':
  Add clean step to remove old framework intermediates
2014-07-25 20:46:11 +00:00
RoboErik
2726e0a6eb 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
2014-07-25 20:36:50 +00:00
Tyler Gunn
511f9922bd am e335ed97: Merge "Adding missing break statement in VideoCallProvider." into lmp-dev
* commit 'e335ed976caef26a806da9cbfa5da049040c6092':
  Adding missing break statement in VideoCallProvider.
2014-07-25 20:21:18 +00:00
Alan Viverette
202789a6c9 am e1af5ff0: Merge "Remove duplicate Toolbar method for setting content description" into lmp-dev
* commit 'e1af5ff0cb6ba9b61cc76db3d9d4e2d5db5be4ae':
  Remove duplicate Toolbar method for setting content description
2014-07-25 20:13:27 +00:00
Behdad Esfahbod
586c03ef4f am c6a20be9: Merge "Further centralize Minikin interaction" into lmp-dev
* commit 'c6a20be96f398106666fd00cb3edfec15f7520f7':
  Further centralize Minikin interaction
2014-07-25 19:43:02 +00:00
Behdad Esfahbod
d055ca58b5 am b0612fdb: Merge "Remove unused TextLayout.h" into lmp-dev
* commit 'b0612fdbf8b1c4b37c82ba8a8edc40be858d3170':
  Remove unused TextLayout.h
2014-07-25 19:30:52 +00:00
Dake Gu
2849dfdd25 am 29a67def: Merge "TransitionSet: fix excludeTarget not working" into lmp-dev
* commit '29a67def7910f321160d92c10406f34be36080ba':
  TransitionSet: fix excludeTarget not working
2014-07-25 19:30:48 +00:00
Dan Sandler
7ae09aebe2 am c9d55d0c: Merge "Notification inspector." into lmp-dev
* commit 'c9d55d0cc1aca2840626754c89a30e27c30b1764':
  Notification inspector.
2014-07-25 19:30:44 +00:00
Winson Chung
58385d11cd am f61f7bd8: Adding content description for task view buttons.
* commit 'f61f7bd82abae5232671f7a3624bc85438880e5f':
  Adding content description for task view buttons.
2014-07-25 19:17:36 +00:00
Winson Chung
a4cc966050 Adding content description for task view buttons. 2014-07-25 19:12:28 +00:00
Yohei Yukawa
3c92b947ae am ca33783a: Merge "Stop assuming language part in locale string is up to 2-letter" into lmp-dev
* commit 'ca33783af32b99bfea1e8d879a001df3de6e6ae4':
  Stop assuming language part in locale string is up to 2-letter
2014-07-25 19:11:15 +00:00
Jorim Jaggi
d4a846d5fc am bf8ece49: Fix ordering of notifications, user switcher and QS panel
* commit 'bf8ece49a6e43c3d0ad4f8f8b5341e153232b0fb':
  Fix ordering of notifications, user switcher and QS panel
2014-07-25 19:11:12 +00:00
Jeff Sharkey
4ce3c6d940 am 4d700a9c: Merge "PackageInstaller changes based on feedback." into lmp-dev
* commit '4d700a9c1ab9a533c5e634f73eaa6bd1a0f18ae4':
  PackageInstaller changes based on feedback.
2014-07-25 19:11:08 +00:00
Ruben Brunk
cf65ac2060 am ea362807: camera2: Fix LEGACY mode timestamps.
* commit 'ea362807344032e6d3fea5937faa4684a755bac2':
  camera2: Fix LEGACY mode timestamps.
2014-07-25 19:06:21 +00:00
Jorim Jaggi
bc976e3f4c 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
2014-07-25 19:03:47 +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
Chris Craik
bc4a6f350f am b6163d6d: Revert "Dump RenderThread stack on unresponsive"
* commit 'b6163d6daebd4882748d9d34e86c9dc40ef7ca49':
  Revert "Dump RenderThread stack on unresponsive"
2014-07-25 18:47:45 +00:00
Anish Athalye
8c7b66c983 am 192935b5: Merge "Fix bug in measurement of paragraphs" into lmp-dev
* commit '192935b5d23b9024d40ac39a553473cf22ec6478':
  Fix bug in measurement of paragraphs
2014-07-25 18:47:36 +00:00
Yao Chen
35d9355c68 am 040ad25d: fix build
* commit '040ad25d018f4ad5d1897320a73e807bc9effa07':
  fix build
2014-07-25 18:47:32 +00:00
Paul Soulos
fe1d9c214a am 50655afc: Adds getTypeLabel to ContactsContract Event
* commit '50655afc0d536f0bc87432116fded36d439da099':
  Adds getTypeLabel to ContactsContract Event
2014-07-25 18:47:29 +00:00
Fabrice Di Meglio
d6c4e918fe am 7cddfff4: Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled
* commit '7cddfff42b8bfc25328859840a2dc82df969f5f3':
  Fix bug #16307124 Not able to select hour 12 in TimePicker with 24-hour time enabled
2014-07-25 18:47:26 +00:00
Yao Chen
80764f02c8 am b5d84f74: Fix build
* commit 'b5d84f7492a7000f0bc32e89dd22528d7a523643':
  Fix build
2014-07-25 18:47:22 +00:00
Wei Wang
37491722af am 2b84d320: Fix bug of ScanSettings. Add unit test.
* commit '2b84d320ed367ffdc77ae3e54eb1dc8f367390e6':
  Fix bug of ScanSettings. Add unit test.
2014-07-25 18:47:19 +00:00
Craig Mautner
ff3efc2dac am 40185726: am a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
* commit '401857269b9d15b3967c60b409792f2dae8a2df9':
  Finish crashed activities immediately
2014-07-25 18:47:15 +00:00
Jon Miranda
1c1b7cb0a1 am aaea8e54: Fixes the build.
* commit 'aaea8e545704e39e30a228ca25b0acde648b0d08':
  Fixes the build.
2014-07-25 18:47:05 +00:00
Chris Craik
738ec3aace Revert "Dump RenderThread stack on unresponsive"
bug:16563871
bug:16565900
bug:16555847
bug:16551643

This reverts commit ca66e06b9db6e6c921662886e4b7ddd02ac92280.

Change-Id: I23e8d4eaf828b1b298126ba5f36e4e8e7451706a
2014-07-25 18:26:36 +00:00
Yao Chen
186655285f fix build
Change-Id: Id5a93019b60ac4881f398b80de2e14786776a883
2014-07-25 11:23:30 -07: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
Yao Chen
8470857ee4 Fix build
Change-Id: Ia2a09417451dd9cdca0a6351b8ddd00f9195f361
2014-07-25 11:01:45 -07:00
Wei Wang
ec64dbfbc0 Fix bug of ScanSettings. Add unit test.
b/16318637.

Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
2014-07-25 10:56:08 -07:00
Craig Mautner
5ec618e3c3 am a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
* commit 'a9c5257a15f2efb5c017d2ecadb5a7360230bfee':
  Finish crashed activities immediately
2014-07-25 17:43:37 +00:00
Jon Miranda
ca7a229eab Fixes the build.
Change-Id: I4d0f04c480ff787e5f0310fd92a3734180154a9a
2014-07-25 10:35:14 -07:00
Selim Cinek
7807cb6902 am 4f5e6929: Merge "Reintroduced the clear all button" into lmp-dev
* commit '4f5e692954e3918f994c380a723e26670fd02769':
  Reintroduced the clear all button
2014-07-25 17:30:43 +00:00
Adam Lesinski
0433a1e178 am 42460fd6: Add Per-User logging of UsageStats
* commit '42460fd6e857a604d999ece8d9bd336b9c9365cc':
  Add Per-User logging of UsageStats
2014-07-25 17:22:36 +00:00
Adam Lesinski
3c153519ca Add Per-User logging of UsageStats
Change-Id: I4518c5d3c56b3821292accb886f9fb21f3a8b25f
2014-07-25 17:18:54 +00:00
Amith Yamasani
1886ccdaf9 am 1f348428: Merge "Don\'t update user\'s setup state unless it changed" into lmp-dev
* commit '1f348428c7faba30906c0fb60e142377ea3c0f71':
  Don't update user's setup state unless it changed
2014-07-25 17:07:47 +00:00
Dan Sandler
2ed1b4c747 am 84be3b85: Don\'t crash when drawing zero pixels.
* commit '84be3b852b2c650c6c3879306dc38d996029f897':
  Don't crash when drawing zero pixels.
2014-07-25 16:50:49 +00:00
Dan Sandler
1968201b44 Don't crash when drawing zero pixels.
Bug: 16561522
Change-Id: Ia3a2d2930abc393dbe587053f598246c49c0c9c4
2014-07-25 16:46:47 +00:00
Jon Miranda
572dfe7aaa am a4894246: Merge "Animates AbsSeekBar progress movement from key presses." into lmp-dev
* commit 'a489424661f7a01b3e5b44df3b376c7f61a0020c':
  Animates AbsSeekBar progress movement from key presses.
2014-07-25 16:42:15 +00:00
Andrew Lee
1ca8a77b66 am 430f25e4: Merge "Add VideoCall and VideoCall.Listener as an inner classes of Call." into lmp-dev
* commit '430f25e4706ae95e49396d38f2c9832c578ae57a':
  Add VideoCall and VideoCall.Listener as an inner classes of Call.
2014-07-25 16:10:22 +00:00
Kenny Guy
19b485069e am 0f151df6: Add method to launch settings app details page.
* commit '0f151df6882c6d1c8c83b0ca3166fac30f43e3b1':
  Add method to launch settings app details page.
2014-07-25 16:02:38 +00: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
Derek Sollenberger
d32ad91f78 am 9a5d0cad: Move Canvas.h to a new location so that it can be shared with HWUI.
* commit '9a5d0cad1c7341f432a3c608e250d4c412d949a3':
  Move Canvas.h to a new location so that it can be shared with HWUI.
2014-07-25 15:44:14 +00:00