Commit Graph

246497 Commits

Author SHA1 Message Date
Keisuke Kuroyanagi
47bd7333e1 Fix: Cannot control ime_switcher and menu after resetting.
mButtonDispatchers contains ButtonDispatcher for ime_switcher and menu;
however, in #inflateButton, we tried to find ButtonDispatcher for
menu_ime, which is a FrameLayout containing ime_switcher and menu.
Therefore, after #clearViews and #inflateLayout, ime_switcher and menu
KeyButtonView are not in the corresponding ButtonDispatchers.
It means NavigationBarView#getImeSwitchButton and
NavigationBarView#getMenuButton returns empty ButtonDispatcher.
As a result, we can't control ime switch button and menu button via
NavigationBarView after then.  e.g. We can't control ime switch button
visibility.

This CL fixes that issue by calling #addToDispatchers recursively for
ViewGroup children if corresponding ButtonDispatcher is not found.  This
behavior is aligned with #addAll.

Bug: 28580774

Change-Id: Ibe724753390b7bbb395a6d53d00bc6d06d00aa9a
2016-05-06 10:49:54 -07:00
Joe Fernandez
5310e2d669 docs: App Translation API updates
Includes all updates to App Translation API content/text. Also
includes "Related Resource" cards.

Bug: 27729402

Change-Id: I0385f448b7b92fe420f3b51394d9a659e7b6df81
Original-Change-Id: Ibcde400fe8b340f032d1c458c83deb828450c9a5
2016-05-06 10:30:56 -07:00
Jorim Jaggi
ec88030fb9 Don\'t crash the system when detecting a transient wrong state
am: f970410afe

* commit 'f970410afef518003c84eef022194848b2a4f606':
  Don't crash the system when detecting a transient wrong state

Change-Id: Ied0b4700c9c96a7ce04cce20f5da0ca62d5a1a72
2016-05-06 17:30:49 +00:00
Jorim Jaggi
878dfb2dea Also notify divider when getting DockedTopTaskEvent
am: 3273f31c40

* commit '3273f31c40ce36010df9c6aa9324102bab9a2464':
  Also notify divider when getting DockedTopTaskEvent

Change-Id: I48c31e355586c6698523dd4748371bfaa5ab6945
2016-05-06 17:30:47 +00:00
Wale Ogunwale
2079e7c7f6 Merge "Fixed bad focus stack state when focused docked stack is removed" into nyc-dev
am: 316f67bcfb

* commit '316f67bcfbc8b57a115a83d3484b8edde972570b':
  Fixed bad focus stack state when focused docked stack is removed

Change-Id: I8870b4927852b9b577116875a2b9f946a15f2513
2016-05-06 17:25:43 +00:00
Jorim Jaggi
f970410afe Don't crash the system when detecting a transient wrong state
Bug: 28616824
Change-Id: I124f7196d709c33fe70137541b650788af83b3b3
2016-05-06 17:21:36 +00:00
Jorim Jaggi
3273f31c40 Also notify divider when getting DockedTopTaskEvent
Under some circumstances we never go through the activity lifecycle
if we call startActivity before it gets stopped, so we never notified
the divider about that we have drawn.

Bug: 28531536
Change-Id: I6a13527d52bf40a87f89de4b2799bd0833c6612a
2016-05-06 17:20:59 +00:00
TreeHugger Robot
316f67bcfb Merge "Fixed bad focus stack state when focused docked stack is removed" into nyc-dev 2016-05-06 17:17:41 +00:00
Wale Ogunwale
9973294080 Dismiss docked stack if an activity is shown on top of the lock screen
It is risky/complicated to try to put the activity showing on-top of
the lock screen in the right fullscreen configuration with the current
architecture. So, we just dismiss for now.

Bug: 28195260
Change-Id: I29a0350993ce8fe548d4a465b06d877cde151c78
2016-05-06 10:13:14 -07:00
Phil Weaver
19557de767 Make AccessibilityService#disableSelf atomic.
This API was using a oneway aidl call, which meant that the
service was disabled some time after the method returned. That
confused tests that were turning a service off during tearDown
and then turning it back on again in setUp.

Bug: 28621277

Change-Id: I75984df0613bdbb1bc876e2a15caf59106027337
2016-05-06 08:57:12 -07:00
Julia Reynolds
39bc1f8728 Merge "Quicksettings accessibility." into nyc-dev
am: 450f91b529

* commit '450f91b52938de2a6cb9053b13b03ae75edd6be0':
  Quicksettings accessibility.

Change-Id: I0c3f246894739defc09f3e309f97ff8ccf4719c1
2016-05-06 15:48:36 +00:00
Wale Ogunwale
ed811d731d Fixed bad focus stack state when focused docked stack is removed
ag/990438 allowed for stack focus not to be adjusted when the currently
focused stack is removed since the caller will be moving the focus to
the right stack next. This was incorrectly enabled for the positionTask
call were the stack will not be moved to the front since the functionality
is used to move task within stacks we don't want to gain focus.

Bug: 28616824
Change-Id: Ia6aea17c0335d036a17b83fed28799428ca58eda
2016-05-06 08:41:19 -07:00
TreeHugger Robot
450f91b529 Merge "Quicksettings accessibility." into nyc-dev 2016-05-06 15:40:01 +00:00
Android Build Merger (Role)
69a821596a Merge "Protect TRANSFER_COMPLETE broadcast am: 2759e429d1" into nyc-mr1-dev 2016-05-06 15:20:12 +00:00
Android Build Merger (Role)
2849e26e83 Merge "Merge "Fix regression, show internal storage option..." into nyc-dev am: 9a76143ef5" into nyc-mr1-dev 2016-05-06 15:20:00 +00:00
Ajay Panicker
9d91d8a319 Protect TRANSFER_COMPLETE broadcast
am: 2759e429d1

* commit '2759e429d1f5e18869de34e5f0e13257c269aff9':
  Protect TRANSFER_COMPLETE broadcast

Change-Id: Ibd02b250b09a6d43e1e3258e1a80a469e7f15458
2016-05-06 15:19:09 +00:00
Steve McKay
77b964ce7f Merge "Fix regression, show internal storage option..." into nyc-dev
am: 9a76143ef5

* commit '9a76143ef550a547aefed81acbad5d380cc33393':
  Fix regression, show internal storage option...

Change-Id: Iccbaa87826350a9ac10a0b852dc793bc222f20de
2016-05-06 15:19:07 +00:00
Puneet Kumar
a57386b49e Merge "Fix notifications for USB PD enabled devices" into nyc-mr1-dev 2016-05-06 15:17:37 +00:00
Ajay Panicker
2759e429d1 Protect TRANSFER_COMPLETE broadcast
Bug: 28621801
Change-Id: Ia90abd00694ae80000f59ee0a17826592fd2159b
2016-05-06 15:11:30 +00:00
Steve McKay
9a76143ef5 Merge "Fix regression, show internal storage option..." into nyc-dev 2016-05-06 15:07:50 +00:00
Bill Yi
950e663c59 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: b8dd0c3786  -s ours

* commit 'b8dd0c378657efd04557a02f8e50cfa4b11ebc49':
  Import translations. DO NOT MERGE

Change-Id: I4934f0aedb3027b13ba2ff793a39c9847fe35a40
2016-05-06 14:25:41 +00:00
Julia Reynolds
892a253432 Autobundle all notifications; don't leave the most recent one free.
Change-Id: I0c30e34d09852673a475392411d0bb8fdc2f7aa3
Fixes: 28615503
2016-05-06 10:24:39 -04:00
Julia Reynolds
20aef8a291 Quicksettings accessibility.
Bug: 15696340
Change-Id: I6887e2dad4822911d3a1642aaec5703174b57330
2016-05-06 10:24:38 -04:00
Android Build Merger (Role)
d9b20aa709 Merge "Merge "Import translations. DO NOT MERGE" into nyc-dev am: d9a4a6df9a -s ours" into nyc-mr1-dev 2016-05-06 14:20:06 +00:00
Bill Yi
f25e0e2cf1 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: d9a4a6df9a  -s ours

* commit 'd9a4a6df9aeb73579795adf942ab2ec72c0d3a67':
  Import translations. DO NOT MERGE

Change-Id: I6772905351b855fcc0d2b7888c0ce08250ea83f6
2016-05-06 14:19:37 +00:00
TreeHugger Robot
3891e8aeb4 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-05-06 14:15:31 +00:00
TreeHugger Robot
b8dd0c3786 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-06 14:15:15 +00:00
TreeHugger Robot
864460accb Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-05-06 14:13:13 +00:00
TreeHugger Robot
d9a4a6df9a Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-06 14:12:22 +00:00
TreeHugger Robot
0be9aefcf2 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-05-06 14:12:05 +00:00
David Brazdil
8c0b791721 Hide \'Optimizing apps\' dialog if not M->N upgrade
am: ee057752cc

* commit 'ee057752cce759520e3ba7a022f8616504c12fa0':
  Hide 'Optimizing apps' dialog if not M->N upgrade

Change-Id: I63e8184e42851a40ccb8d0df837dc96bf85eb8c5
2016-05-06 14:04:32 +00:00
David Brazdil
ee057752cc Hide 'Optimizing apps' dialog if not M->N upgrade
Recent changes reduced the amount of time spent optimizing apps at
post-OTA boot. Instead of briefly showing the 'Optimizing apps'
dialog, we hide it completely.

The dialog is still shown for OTAs from a pre-N version of Android
since they can take a non-negligible amount of time (still much less
than in M).

Bug: 27350503
Change-Id: I5f6dae0c69799e1fc522f36453d2671b333bef0e
2016-05-06 14:49:58 +01:00
Ricky Wai
ecab71c9f7 Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev
am: 13532bdd2e

* commit '13532bdd2ea63c1b8a5a8d4f95346f3d1e7ecbb5':
  Fix enterprise contacts APIs naming and docs

Change-Id: I2305b72e0e3a1d5625d9016ffefed16fd7493c3e
2016-05-06 12:18:58 +00:00
Tony Mak
13532bdd2e Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev 2016-05-06 12:06:29 +00:00
Bill Yi
7c6fa063e1 Import translations. DO NOT MERGE
Change-Id: I13bd96983d273f4a65e270689b83e5214ef0b25e
Auto-generated-cl: translation import
2016-05-06 03:59:05 -07:00
Bill Yi
848cf4a784 Import translations. DO NOT MERGE
Change-Id: I3ccdef79879827db018c8ac8960a7eb830607e2b
Auto-generated-cl: translation import
2016-05-06 03:20:57 -07:00
Bill Yi
f9eb8282cf Import translations. DO NOT MERGE
Change-Id: I310e4c4effad31d6706d1a3260caa3bc2b6107f6
Auto-generated-cl: translation import
2016-05-06 03:13:32 -07:00
Glenn Kasten
6deb1eb869 Merge "Update MIDI package summary am: 15a9a35bee am: c1b551aba6 am: fad0efcdb9" into nyc-dev
am: 06e066e9e1

* commit '06e066e9e197e192155703061b235bf167b02a90':

Change-Id: Ife3e997a25b70d5a3c93165ec70a1ac956971334
2016-05-06 06:22:05 +00:00
Glenn Kasten
7bdb0333eb Update MIDI package summary am: 15a9a35bee am: c1b551aba6 am: fad0efcdb9
am: 9bef3417c9

* commit '9bef3417c930b773509c13008cf3b6152cc50e94':
  Update MIDI package summary

Change-Id: I1708eb74df8d9281bc74d5f8752a67269b0f82f6
2016-05-06 06:22:02 +00:00
Android Build Merger (Role)
06e066e9e1 Merge "Update MIDI package summary am: 15a9a35bee am: c1b551aba6 am: fad0efcdb9" into nyc-dev 2016-05-06 06:14:52 +00:00
Glenn Kasten
0b6f45ef30 Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: I98018736d395487e3e680bef7bbb770e61b54389
2016-05-06 06:14:22 +00:00
Glenn Kasten
9bef3417c9 Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: Icb509b232ea816bb6305da6f38677d3cb6bea55e
2016-05-06 06:12:13 +00:00
Glenn Kasten
fad0efcdb9 Update MIDI package summary am: 15a9a35bee
am: c1b551aba6

* commit 'c1b551aba6f760ac41bcaf4391c1ff861803de27':
  Update MIDI package summary

Change-Id: Ic7a9920dc3f4a70f5f4eb718bc9f2dd00c1bbb7c
2016-05-06 06:07:28 +00:00
Glenn Kasten
c1b551aba6 Update MIDI package summary
am: 15a9a35bee

* commit '15a9a35beeebeed42335d9f51663daad932a64b2':
  Update MIDI package summary

Change-Id: I3a86d68c14127e7969d300f77c10e0fe807cad72
2016-05-06 06:02:44 +00:00
Guang Zhu
87c66d5db3 Merge "allow optionally skipping of initial launch" into nyc-dev
am: 2c7d670933

* commit '2c7d670933e0e0f7f6a83c4353519511faaf4a2f':
  allow optionally skipping of initial launch

Change-Id: I9621009ce4c3774368e974494c7f2beb4b2478f3
2016-05-06 04:56:17 +00:00
TreeHugger Robot
2c7d670933 Merge "allow optionally skipping of initial launch" into nyc-dev 2016-05-06 04:44:19 +00:00
Bill Yi
32ef6fac2f Import translations. DO NOT MERGE
Change-Id: I1d4745156fb9ddbff3d6af4564fa0a1754e1a384
Auto-generated-cl: translation import
2016-05-05 21:30:57 -07:00
Bill Yi
3b4672d8ae Import translations. DO NOT MERGE
Change-Id: I15055663e1705ae0e64ca3f4242bbad3748461e4
Auto-generated-cl: translation import
2016-05-05 21:28:01 -07:00
Nathan Harold
43864702b6 Merge "Coerce 8-bit bsic to Integer if Invalid" into nyc-dev
am: 08acd3ce28

* commit '08acd3ce28ff34f5a49d693b4c1144d967208e67':
  Coerce 8-bit bsic to Integer if Invalid

Change-Id: Ib1cf6ecce437c8198da169fd5a4f0d1301e1547e
2016-05-06 03:31:30 +00:00
Nathan Harold
f0db11324a Merge "CellInfo Parceling for Invalid Values" into nyc-dev
am: 5b45c62a1a

* commit '5b45c62a1a13801ed4c5fd228976928b30f63867':
  CellInfo Parceling for Invalid Values

Change-Id: I049eabf4ede20f591fd193e133e62444c1185fb7
2016-05-06 03:31:28 +00:00