Commit Graph

4605 Commits

Author SHA1 Message Date
Chris Wren
ee44e58511 am 68f9a206: am 6d1aa6d5: am 5e275f9f: Merge "instrument volume controls" into mnc-dev
* commit '68f9a206d7bac5a3bca83d8ba47d48d53cc151c6':
  instrument volume controls
2015-06-18 20:38:18 +00:00
Chris Wren
68f9a206d7 am 6d1aa6d5: am 5e275f9f: Merge "instrument volume controls" into mnc-dev
* commit '6d1aa6d52ea51b6c89cf5dfb61b51e96476bcc45':
  instrument volume controls
2015-06-18 20:22:15 +00:00
Chris Wren
5e275f9fc0 Merge "instrument volume controls" into mnc-dev 2015-06-18 19:57:50 +00:00
Clara Bayarri
42d5ebdc1e am cfb5b615: am 3128692f: am 6bc12244: Fix Select All Option is truncated when device goes from landscape to portrait
* commit 'cfb5b615b982a9fcdb05ba000753803baa147f1a':
  Fix Select All Option is truncated when device goes from landscape to portrait
2015-06-18 11:58:26 +00:00
Clara Bayarri
cfb5b615b9 am 3128692f: am 6bc12244: Fix Select All Option is truncated when device goes from landscape to portrait
* commit '3128692fd4a7d9113becc5bfbd0206413b34ebaa':
  Fix Select All Option is truncated when device goes from landscape to portrait
2015-06-18 11:46:13 +00:00
Clara Bayarri
6bc1224448 Fix Select All Option is truncated when device goes from landscape to portrait
We were not taking into account configuration changes to update the
available space for the toolbar.

Bug: 21816857
Change-Id: I0f346e8eecb66ab788d1500239d5c1e020b87f97
2015-06-18 11:58:12 +01:00
Hyunyoung Song
0fe8e6a5f5 am 02cf3fc0: am d90fadcc: am 0ff78e7c: Merge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873" into mnc-dev
* commit '02cf3fc008ee98eec7fbe4682556c3bd923bdd91':
  AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873
2015-06-18 06:33:30 +00:00
Hyunyoung Song
02cf3fc008 am d90fadcc: am 0ff78e7c: Merge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873" into mnc-dev
* commit 'd90fadcc0bbbe729b03b913ee96c6e43c1d9c662':
  AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873
2015-06-18 06:19:15 +00:00
Hyunyoung Song
0ff78e7cc8 Merge "AppWidgetServiceImpl should use ParceledListSlice as return object b/19904873" into mnc-dev 2015-06-18 05:58:36 +00:00
Abodunrinwa Toki
d5ddf1a157 am e4c89718: am da0b2bda: am e8378476: Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev
* commit 'e4c897189a7b5a194d9f586e4fa00a5634caffd3':
  Allow content rect to overshoot the bottom view bounds by 20dp.
2015-06-18 01:41:38 +00:00
Abodunrinwa Toki
e4c897189a am da0b2bda: am e8378476: Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev
* commit 'da0b2bda80d16e9cf3c7705377f7fba6284cb765':
  Allow content rect to overshoot the bottom view bounds by 20dp.
2015-06-18 01:29:04 +00:00
Abodunrinwa Toki
e8378476b5 Merge "Allow content rect to overshoot the bottom view bounds by 20dp." into mnc-dev 2015-06-18 01:05:07 +00:00
Adam Powell
af40c099ad am 3977bad2: am 352e6d77: am 40359f73: Merge "Request application of WindowInsets when setting a content view" into mnc-dev
* commit '3977bad2b083bbf88c9b536564595584ce7db638':
  Request application of WindowInsets when setting a content view
2015-06-17 23:28:08 +00:00
Adam Powell
3977bad2b0 am 352e6d77: am 40359f73: Merge "Request application of WindowInsets when setting a content view" into mnc-dev
* commit '352e6d77ef73d846ee840d26e6ccacb54e485eed':
  Request application of WindowInsets when setting a content view
2015-06-17 23:06:48 +00:00
Adam Powell
40359f73b1 Merge "Request application of WindowInsets when setting a content view" into mnc-dev 2015-06-17 22:42:17 +00:00
Hyunyoung Song
ccf6c68147 AppWidgetServiceImpl should use ParceledListSlice as return object
b/19904873

> Reason: to prevent TransactionTooLargeException from occuring when
binder transaction size goes over the limit.

Change-Id: I054cb161d235234f3ccdaadd70314163e690b0db
2015-06-17 15:23:31 -07:00
Adam Powell
41607d5a2b Request application of WindowInsets when setting a content view
For both PhoneWindow and VoiceInteractionSession, call
requestApplyInsets when the content view(s) change. This is generally
what the developer expects if the new view tree responds to insets in
any way.

Bug 21620924

Change-Id: I60a88af55bf85217c3587aa37f03fdc3fdce686d
2015-06-17 13:37:06 -07:00
Chris Wren
e565ee6ccb instrument volume controls
Bug: 21474639
Change-Id: I48641ae778f4e274c0f67ca6491102d978d3cd5f
2015-06-17 15:27:38 -04:00
Matthew Williams
e7ed27bf54 am 5df4154b: am 53e8781d: am 15ce3387: Merge "Make sync settings restore more robust" into mnc-dev
* commit '5df4154b1ba7d051949eceb3413b6a92e068361b':
  Make sync settings restore more robust
2015-06-16 23:07:48 +00:00
Matthew Williams
5df4154b1b am 53e8781d: am 15ce3387: Merge "Make sync settings restore more robust" into mnc-dev
* commit '53e8781dd7702aedd3eb1a12d61477269896b36e':
  Make sync settings restore more robust
2015-06-16 22:54:50 +00:00
Matthew Williams
15ce33873e Merge "Make sync settings restore more robust" into mnc-dev 2015-06-16 22:36:53 +00:00
Abodunrinwa Toki
15a6c89f46 Allow content rect to overshoot the bottom view bounds by 20dp.
Bug: 21816429
Change-Id: I84013286896d145c9501351bc6a638cbda12e8c0
2015-06-16 23:27:55 +01:00
Adam Powell
56ee010cd8 am 93af99f2: am 749285a2: am 26b27cab: Merge "Fix crash in ToolbarActionBar when setting null custom view" into mnc-dev
* commit '93af99f21d5499b3d2100951f9238a296043b355':
  Fix crash in ToolbarActionBar when setting null custom view
2015-06-16 22:17:23 +00:00
Adam Powell
93af99f21d am 749285a2: am 26b27cab: Merge "Fix crash in ToolbarActionBar when setting null custom view" into mnc-dev
* commit '749285a23873cd134788b3affae39643b1543653':
  Fix crash in ToolbarActionBar when setting null custom view
2015-06-16 22:04:01 +00:00
Abodunrinwa Toki
bb6ccf9714 am a9eee504: am 03c70cac: am 98f98dd1: Merge "Fix floating toolbar flickers." into mnc-dev
* commit 'a9eee50455ff3894a17273fa1ffac2700cfa0d4c':
  Fix floating toolbar flickers.
2015-06-16 22:03:52 +00:00
Abodunrinwa Toki
4165566936 am 686a2e63: am 7ebde83a: am 6161c5b4: Merge "Floating toolbar no longer obstructs the soft keyboard." into mnc-dev
* commit '686a2e633c0cb9ab4a31333cd36c30fea9991776':
  Floating toolbar no longer obstructs the soft keyboard.
2015-06-16 22:03:20 +00:00
Narayan Kamath
f01ffe05d2 am ba6e9b12: am 2d13fe56: am 275294db: Merge "Better systrace slices for application startup." into mnc-dev
* commit 'ba6e9b12a23657995b7761daf1b83366c652626e':
  Better systrace slices for application startup.
2015-06-16 22:03:13 +00:00
Matthew Williams
53abfdb86c Make sync settings restore more robust
Bug: 18506992
Parent Bug: 17967106
Introduce a new state for ContentResolver#getIsSyncable.
This state specifies that an adapter should be disabled until
explicitly turned on by ContentResolver#setSyncAutomatically(true).
In this way we can restore disabled sync adapters and still allow
them to run their initialization logic later on when they are
re-enabled.

Change-Id: I03fd1f994c4bc982bbc723154ba20bb252efdf80
2015-06-16 14:46:59 -07:00
Adam Powell
26b27cab81 Merge "Fix crash in ToolbarActionBar when setting null custom view" into mnc-dev 2015-06-16 21:29:48 +00:00
Abodunrinwa Toki
a9eee50455 am 03c70cac: am 98f98dd1: Merge "Fix floating toolbar flickers." into mnc-dev
* commit '03c70cac9a0d9dc7c9f2c71b28aaf609393fdcf3':
  Fix floating toolbar flickers.
2015-06-16 21:24:34 +00:00
Abodunrinwa Toki
686a2e633c am 7ebde83a: am 6161c5b4: Merge "Floating toolbar no longer obstructs the soft keyboard." into mnc-dev
* commit '7ebde83a479f6447e0862e814830374a8477665b':
  Floating toolbar no longer obstructs the soft keyboard.
2015-06-16 21:24:10 +00:00
Narayan Kamath
ba6e9b12a2 am 2d13fe56: am 275294db: Merge "Better systrace slices for application startup." into mnc-dev
* commit '2d13fe56eec54030fe09cae74c7a92be54c8bd19':
  Better systrace slices for application startup.
2015-06-16 21:24:04 +00:00
Abodunrinwa Toki
f444b5c3ae Fix floating toolbar flickers.
-Flicker was a side effect the delay in hiding the toolbar when
there is a down press on a TextView handle. The timing clashed
with the time it takes for the FloatingActionMode to release a
hide lock on a changing content rect. Extra flickers also happened
if the ActionMode happened to be invalidated at about the same time.
Since there was no longer a hide lock, the toolbar refreshed, getting
rid of the "Select all" menu item.
FIX. I believe we don't need the delayed hide on down press on a
TextView handle. I've removed this.

-I've also updated FloatingActionMode to ensure that hide locks
overlap one another if necessary. The toolbar can only be visible if
all locks are off.

Bug: 21793687
Change-Id: I290ea45ab17d5862b453cb319afb4c8ffe084cd0
2015-06-16 15:47:04 +01:00
Abodunrinwa Toki
6161c5b4cd Merge "Floating toolbar no longer obstructs the soft keyboard." into mnc-dev 2015-06-16 12:29:55 +00:00
Narayan Kamath
fbb32f6440 Better systrace slices for application startup.
This change adds three new timeslices :

- PostFork : As soon as possible after the app forks from the
  zygote. Can be used in conjunction with the system_server
  "Start proc:" event to derive an upper bound on fork() and
  zygote overhead.

- RuntimeInit & ActivityThreadMain for ZygoteInit#runtimeInit
  and ActivityThread#main.

ActivityThread#handleBindApplication and higher level functions
are already well instrumented in systrace. handleBindApplication
should occur immediately after ActivityThread#main.

Note that we use the Activity manager tag to make it easier to
correlate these new events with surrounding events (Start proc
and handleBindApplication) that are already using the AM tag.

bug: 21632700
Change-Id: Ibc01f1721f962c913f3c02a51763b6feb1eb6a4d
2015-06-16 12:06:31 +01:00
Adrian Roos
d5c9031659 am f90d4c85: am ffb09270: am 6ecdcf2a: Merge "Add AssistUtils" into mnc-dev
* commit 'f90d4c85f5dec67e9a1a8dbb508e93de1dd95de1':
  Add AssistUtils
2015-06-16 00:24:39 +00:00
Adrian Roos
f90d4c85f5 am ffb09270: am 6ecdcf2a: Merge "Add AssistUtils" into mnc-dev
* commit 'ffb09270aa675de35a333f3de9cf5638b0de1843':
  Add AssistUtils
2015-06-16 00:12:54 +00:00
Adrian Roos
e91750804a Add AssistUtils
Enables code sharing with Settings for consistent
default value handling.

Bug: 21780590
Change-Id: I669b673f90fab503ae0c2179f09ebac9592bd33a
2015-06-15 16:07:48 -07:00
Adam Powell
c5ed395e4b Fix crash in ToolbarActionBar when setting null custom view
Bug 21291849

Change-Id: I54a4084b2b146ce7fb9dfe92023e9a1ad23f7902
2015-06-15 14:11:42 -07:00
Abodunrinwa Toki
6d2b75c86d Floating toolbar no longer obstructs the soft keyboard.
-The toolbar popupwindow is set to "need" the keyboard
-Updated toolbar positioning bounds
-Updated toolbar positioning depending on available space

Bug: 21304845
Change-Id: I8d8a59ef6ea639b11bb32cfeb6ead52087fb91e4
2015-06-15 20:45:30 +01:00
Jim Miller
65031dc137 am c425e570: am b3957fbd: am 1035833f: Merge "Improve LockPatternView accessibility" into mnc-dev
* commit 'c425e570141a6466ff81f36eb86cb91188c41c77':
  Improve LockPatternView accessibility
2015-06-13 01:40:17 +00:00
Jim Miller
c425e57014 am b3957fbd: am 1035833f: Merge "Improve LockPatternView accessibility" into mnc-dev
* commit 'b3957fbd9b7f12881a781529fb957aebba752feb':
  Improve LockPatternView accessibility
2015-06-13 01:29:01 +00:00
Jim Miller
1035833fc6 Merge "Improve LockPatternView accessibility" into mnc-dev 2015-06-13 01:10:21 +00:00
Adam Lesinski
3079bd42f5 am f0380592: am c32eec37: am 87a79c39: Merge "BatteryStatsHelper: Fix some lost power" into mnc-dev
* commit 'f03805920880c007b443a8a3a0c60efcfc396dc4':
  BatteryStatsHelper: Fix some lost power
2015-06-12 23:52:23 +00:00
Adam Lesinski
f038059208 am c32eec37: am 87a79c39: Merge "BatteryStatsHelper: Fix some lost power" into mnc-dev
* commit 'c32eec37908a4d45c82bc4984fd9b68cb25949a8':
  BatteryStatsHelper: Fix some lost power
2015-06-12 23:39:21 +00:00
Adam Lesinski
87a79c394d Merge "BatteryStatsHelper: Fix some lost power" into mnc-dev 2015-06-12 23:17:47 +00:00
Adam Lesinski
57123001a4 BatteryStatsHelper: Fix some lost power
Looks like we were losing some power calculations from the CPU side of Bluetooth and
WiFi if there was no controller activity ocurring.

Also add finer breakdown of power to BatteryStats dumpsys for WiFi and Bluetooth.

Change-Id: Ic3ce3e4e3b854f17f9a32fd4bdc47a8ea74ca439
2015-06-12 16:12:07 -07:00
Doris Liu
c6f05d905d am ca4cb337: am 10464f7a: am 0b9fd85f: Merge "Change ActionBar animtion from/to ActionMode" into mnc-dev
* commit 'ca4cb337ef558bf7a22e1c44851f86d9ffbd55f6':
  Change ActionBar animtion from/to ActionMode
2015-06-12 22:01:20 +00:00
Doris Liu
ca4cb337ef am 10464f7a: am 0b9fd85f: Merge "Change ActionBar animtion from/to ActionMode" into mnc-dev
* commit '10464f7a190e0facb2b42ab5efcfdd6e48cd7688':
  Change ActionBar animtion from/to ActionMode
2015-06-12 21:45:00 +00:00
Doris Liu
0b9fd85f8f Merge "Change ActionBar animtion from/to ActionMode" into mnc-dev 2015-06-12 21:31:48 +00:00